0
votes
1answer
27 views

How to validation for sanitize_URL?

Like sanitize_email validation is options available but sanitize_url options is available .if options is not available then how can i do this . http://i.imgur.com/WPYdkTb.png
0
votes
1answer
36 views

Override default options in plugin metaboxes

Imagine you are on a post-new page to add a post, and a metabox added by a plugin has a lot of checkboxes that always need to be checked manually. Here is one of them: <div class="form_item ...
0
votes
2answers
1k views

Using TinyMce with textareas in meta boxes on custom post types

I am trying to use the http://www.tinymce.com/ plugin to add a tinymce to my textareas in my meta boxes I have created. I've googled other ways and either I cant get it to work or didnt grasp the ...
0
votes
1answer
97 views

JQuery multiple toggle values

I'm trying to hide/show metaboxes dependant on the page template chosen. This has been working fine until I have come to show a metabox on more than one chosen page template. The below code displays ...
0
votes
2answers
108 views

Hide metabox dependant on page template chosen

I'm using the following JQuery script from this answer to toggle the display of metaboxes dependant on the Page Template selected. The example below shows the featured image metabox when the default ...
1
vote
1answer
170 views

Simultaneous admin updates causes custom fields to not update

Okay, I have another doozie of a problem and although I'm still in the middle of trying to figure out exactly what's going on and what kind of help I might need, I thought I'd throw something up here ...
0
votes
1answer
43 views

Why do Metabox use Nonces?

Why is it advised for admin panel metaboxes to use nonces? Every example I see of creation and saving metabox data there are nonces involved but aren't nonces a bit unnecessary in this case?
0
votes
1answer
126 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
415 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 ...
1
vote
1answer
218 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
240 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
445 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
412 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
329 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
144 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
199 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
2k 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
733 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
750 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
2k views

Disable dragging of meta boxes?

Anyone know how to disable this functionality so the meta boxes can't be repositioned?