Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

Q&A

Apply custom role capabilities to administrator (without plugin)

August 4, 2022August 3, 2022 by Magenaut

I have a custom role that allows access to only a sigle custom post type. This is all well and good, but now it is only showing up for this role, not for admin and super admin. I’m having a hard time getting it to show up in the admin dashboard.

Categories Q&A, Wordpress Tags capabilities, functions, user-roles Leave a comment

What’s the difference between term_id and term_taxonomy_id

August 4, 2022August 3, 2022 by Magenaut

The title says it all. At the moment in my custom taxonomies I’m getting the terms using the term id and taxonomy name.

Categories Q&A, Wordpress Tags custom-taxonomy, plugin-development Leave a comment

WordPress 3.9 – Trouble Editing TinyMCE 4.0

August 4, 2022August 3, 2022 by Magenaut

With WordPress 3.9 coming soon it’s bringing along TinyMCE 4.0. I’m running my plugins and functions through some testing and found that one of my functions seems broken / not working with the new TinyMCE

Categories Q&A, Wordpress Tags editor, filters, tinymce Leave a comment

Stackoverflow type of badge plugin giving warnings in WordPress 3.5

August 3, 2022 by Magenaut

I modified an abandoned Stackoverflow form of badge plugin to work with WordPress 3.4.2 and it does indeed. The full script for it is here: http://pastebin.com/Ta91zXiL

Categories Q&A, Wordpress Tags php, plugins, warnings, wpdb Leave a comment

remove links from images using functions.php

August 4, 2022August 3, 2022 by Magenaut

I am looking for a way to remove the attachment link from images in the post content.

Categories Q&A, Wordpress Tags attachments, functions, images, links Leave a comment

How do I display logged-in username IF logged-in?

August 4, 2022August 3, 2022 by Magenaut

I’m working on creating some text that says ‘Login’ to users that are not logged in, and the user’s username or display name when logged in.

Categories Q&A, Wordpress Tags username, users Leave a comment

Is there a way to use the WordPress users but without loading the entire WordPress core?

August 4, 2022August 3, 2022 by Magenaut

I have a WordPress site and a web application that can be used only by the registered (WordPress) users.

Categories Q&A, Wordpress Tags php Leave a comment

Change capability type of post type registered by plugin

August 4, 2022August 3, 2022 by Magenaut

I’m using the plugin Custom CSS JS which registers it’s own post type but the capability is assigned to "post".

Categories Q&A, Wordpress Tags capabilities, custom-post-types, plugins Leave a comment

Preserve custom URL parameter on more pages

August 4, 2022August 3, 2022 by Magenaut

I created a custom URL parameter for sorting posts by their vote scores. I have a “most voted” link that sends a ?sort=most_voted URL paramater and using a query posts filter I display posts with most votes.

Categories Q&A, Wordpress Tags php, plugins, urls Leave a comment

Inherit plugin settings to new site in Multisite

August 4, 2022August 3, 2022 by Magenaut

I use the Breadcrumb NavXT plugin for a WP Multisite. I activated the plugin for all sites so I can use it throughout my network.

Categories Q&A, Wordpress Tags multisite, options, plugins Leave a comment
Older posts
Newer posts
← Previous Page1 … Page2,368 Page2,369 Page2,370 … Page2,571 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress