Tagged Questions
0
votes
0answers
39 views
Saving comments meta values in admin [closed]
This code is for creating a custom meta value for comment. It must be displayed and edited from comment edit screen in the admin area. The meta values are not being saved to the database and I don't ...
0
votes
1answer
49 views
Separate tags with semicolon
Does anyone know if there is a way to change the callback function for a tag-like custom taxonomy so that it breaks terms after a semicolon instead of a comma? I realize I can rewrite the whole meta ...
0
votes
2answers
190 views
How to load php file for specific page in admin?
Hello and thanks for the guidance!
Trying to load a custom .php file for only my home page (template is page-home.php) by using this code:
add_action('admin_init','load_home_meta');
function ...
0
votes
0answers
26 views
Returning Options in Extended Class
I'm creating an admin interface with meta boxes, and want to create a system that allows me to easily add options to each meta box through a series of classes.
The problem I'm having is outputting ...
1
vote
1answer
102 views
Adding content to a taxonomy metabox
I want to add some custom content to the default metabox for a custom taxonomy. Ideally I'd be able to insert this content above the tag cloud where it says Choose from the most used [tag]s.
Is there ...
3
votes
1answer
131 views
Remove unusable metaboxes in nav menu management screen
When you visit wp-admin/nav-menus.php and there is no menu you get a set of metaboxes you cannot use. The only thing they do is drawing attention away from the Create Menu dialog.
I want to hide ...
0
votes
2answers
237 views
How to change the title of a Meta Box on a specified Custom Post Type? [duplicate]
Possible Duplicate:
Change The Title Of a Meta Box
Is it possible to change the title of a Meta Box on a specific Custom Post Type add or edit page?
For example, if I'm viewing the post ...
0
votes
1answer
215 views
lock meta box position on post edit screen for contributors
Our website has an open system for contributors (WP User Role) to add news and calendar content to the site.
I'd like to set and lock the position of the content and meta boxes on the post edit ...
1
vote
2answers
184 views
special characters after saving draft interpreted as �
I am trying to create posts in hindi language. These characters UÉeÉMÑüqÉÉU after saving/publishing are interpreted as U�e�M��q��U. Though, the special characters are stored with no change in the ...
0
votes
1answer
121 views
How to change a meta value (of a published post) after X days.?
I have a custom field. I would like to change the text of that custom field after x days.
I want something like this:
if ( published post is more than 90 days old ) {
echo "your post is more ...
0
votes
2answers
171 views
Make separate text boxes for separate WordPress Custom Fields
I am trying to make usability of WordPress custom fields admin easier in my theme. I saw it in ElegantThemes' eStore theme. Only I couldn't figure out how to do it in my custom theme because I ...
8
votes
1answer
1k views
Taxonomy dropdown metabox in the back-end
I've created custom taxonomy called Brands and made it hierarchical so I can add Car brands and models there and keep their relations, like this:
Ford
Mustang
Mondeo
Focus
Problem is, this list ...
1
vote
1answer
625 views
Automatically exclude categories from metabox based on title
I am designing a website which will be used as a school PA system. Users will be posting entries into categories named for specific dates that correspond to school assemblies. We have two assemblies a ...
0
votes
1answer
650 views
Add a custom field when adding / editing a page / post in admin panel
I create a new theme and I the page / post is divided to:
Title
Slogan
Content
I want to add a slogan field in the admin panel, where the user adds or edits a post or page.
After I will use in ...
7
votes
6answers
1k views
Disable dragging of meta boxes?
Anyone know how to disable this functionality so the meta boxes can't be repositioned?