I’m the author of the Nav Menu Roles plugin that lets you display/hide menu items based on the user’s role. It has come to my attention that the menu...
<?php function default_menu() { <form action="options.php" method="post"> <?php settings_fields( 'sample_check' );?> <input type="checkbox" name="sample" value="nofollow"/> </form> function reg_setting() { register_setting('sample_check','???'); } Hi all, I have struggled all day to...
I created a post which is assigned to multiple categories. Eg: I have a post “My Post”, and I put it in “foo” and “bar” categories. Now my article...
I’m not even sure this is possible but before I start thinking up crazy solutions, I’ll see if there is a WordPress way to do it. Here’s the deal....
Why would WordPress use ‘attachment’ in a custom post type’s query string? Albeit I have a slightly contorted structure in place, I can’t seem to find where ‘attachment’ comes...
I’ve added a custom meta field to my image details so that a client can add a number to their photos (a design choice). The data would need to...
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 7...
I have support ticket system which i have built using wordpress. The basic functionality is that when a “ticket” is created, it creates a post. When an admin replies,...
I’m having an issue with a .mo file. I have a fully functioning localized custom theme that’s running in four languages for the moment: Dutch, English, French and Spanish....
I’m running a large WP instance (currently has 28,000+ posts in custom types) and have been experiencing some odd slowdowns. Upon analyzing the MySQL slow query log, one of...