Refers to a box-like reusable user-interface component common in the WordPress backend.

learn more… | top users | synonyms (2)

2
votes
0answers
47 views

Check for and enforce unique value in user-entered custom meta field in WP Admin

I am trying to figure out how, on a new or edit post screen, to allow the user to enter a custom meta item, BUT force it to be unique. Ideally the process would work like so: Contributor logs into ...
1
vote
0answers
25 views

Including a meta box on a plugin page

I want to include the 'Comments' meta box (the one usually seen on the post creation page) on my plugin's admin page. Is there a way to do that? I am aware of how you can use add_meta_box() to add a ...
1
vote
0answers
63 views

Category Search functionality on category metabox (wordpress admin)

I have lots of categories on my blog site. When I add new post and select category, I need to scroll down to find the category. Is it possible to add a search category functionality in category ...
1
vote
0answers
46 views

Resetting admin post form on JS validation fail

I've got a custom plugin with a metabox and dynamic form (the user can ask for more elements of the form), with jQuery Validation plugin working great. The problem is when the validation comes back ...
1
vote
0answers
45 views

Retrieving Meta from Image Attachment

I currently have added a meta box to the media library popup using the following: // ADD CUSTOM INFO INSIDE THE MEDIA LIBRARY function AddLibraryFields( $form_fields, $post ) { ...
1
vote
0answers
77 views

Custom Sortable Meta Boxes

I've looked all over and can't seem to find what I'm looking for (probably because I don't even know the terminology for what I need to do). I need to make some custom meta boxes that are similar to ...
1
vote
0answers
446 views

wp_dropdown_categories in custom post type with custom taxonomy

I have a custom post type with its own taxonomy, basically 'show venues' is the post type and venue-regions is the taxonomy. Seeing how a venue cant exsist in mutiple regions, I've removed the ...
1
vote
0answers
125 views

wp_editor loses data, perhaps an html_entity_decode problem?

I have a custom meta box that I created with WP Alchemy. It has two wp_editor fields. These fields are behaving very strangely. If I just type simple text into them, they work just fine. But if I ...
1
vote
0answers
224 views

Set default value for radio button in WP Alchemy custom meta box?

I'm using the WP Alchemy Metabox PHP class (www.farinspace.com/wpalchemy-metabox/) to add a custom meta box with a radio select to a custom post type. The code below shows the code I'm using for the ...
1
vote
0answers
50 views

Display Term Metabox Only On Certain Term Edit and Add Pages In Admin

I have a simple metabox added to a taxonomy and in turn its terms, however I am looking for a way to only display the metabox on a single term of this taxonomy, is this possible? This metabox with ...
1
vote
0answers
58 views

How to prevent further updates of custom meta when using actions to set one meta based on another

I'm using rilwis' Meta Box plugin (see https://github.com/rilwis/meta-box) to add custom meta boxes to a custom post type. I then want to populate one piece of meta data based on the value of ...
1
vote
0answers
83 views

Listing custom terms in custom post meta

I'm trying to list custom taxonomy terms (using get_terms) from within the custom post meta code (i.e., via the add_meta_boxes action). I am getting "Invalid taxonomy" return from the call to ...
1
vote
0answers
118 views

metaboxes disappear on saved pages

Ok I have a wierd issue with custom meta boxes that I am at a loss for. I am using this class <?php class ARIXWP_Meta { private $meta = null; public $postid = null; private ...
1
vote
0answers
93 views

My custom write panels won't save data. What am I missing?

So far I've been reading some tutorials about ways to create Custom Write Panels. It seems that none of them will really work without some bug. I'd like to discuss one of those tuts here: ...
1
vote
0answers
290 views

WPAlchemy: How to output values?

I am using http://www.farinspace.com/wpalchemy-metabox/ and have created my meta boxes and the data is being saved successfully (See below) but I don't know how to output these 'ingredients' on the ...
1
vote
0answers
58 views

How to list all tags as radio buttons in a meta box?

I tried to search this issue but I never found anything.. I'd like to put in post-new.php admin page a list of tags (all tags present in the blog) as radio buttons. How can I do that?
1
vote
0answers
330 views

How to reload a select box of posts dynamically?

I'm using custom meta boxes for a project. I have created a custom taxonomy (select box) and I have another select box populated with Posts. I need to only load the posts based on the selection of the ...
0
votes
0answers
11 views

How to add slides or images to metaboxes for custom post types?

I would like to add a meta box to the bottom of my custom post that allows me to attach multiple image slides. I don't want to use a plugin and I'm kind of lost as to where to start this task. A ...
0
votes
0answers
26 views

Add icon near meta box title in posts/pages

I'm trying to add some "help icon" that will be use to show "help text" with the help of the tooltip or pointers to admin section. Now I'm trying to understand how can I add in the posts/pages in ...
0
votes
0answers
13 views

Attaching meta box to specific category/taxonomy in custom post type

I have this case here and can't figure out how to do it. I have a custom post type with taxonomies and a meta boxes to that specific post type. The idea is some metaboxes to appear only when ...
0
votes
0answers
13 views

How to save meta box check box values and show them on a post?

I added this codes on my child theme functions.php add_action( 'add_meta_boxes', 'cd_meta_box_add' ); function cd_meta_box_add() { add_meta_box( 'my-meta-box-id', 'My First Meta Box', ...
0
votes
0answers
7 views

Search taxonomies while creating a post inside metabox

I have a question how to add a "search" buttom to your metabox with taxonomies. Currently I have got around 200 taxonomies and it is really a pain to check the taxonomies. Is there a way so user can ...
0
votes
0answers
10 views

Parent (ID from meta box) not showing in permalink, only Grandparent

I'm working on a site inherited from a previous developer and I've run into a issue that's really confusing. There's a custom post type for Locations. The hierarchy for Location posts would look ...
0
votes
0answers
52 views

add_post_meta not saved

EDIT I changed it to if(isset($_POST['Make'])) update_post_meta($pid,"Make", $_POST['Make']); if(isset($_POST['Year'])) update_post_meta($pid,"Year", $_POST['Year']); ...
0
votes
0answers
6 views

Incoming URL variables to custom metabox

Is it possible to take values from an incoming URL variable and write it to a custom meta box? My client has something like the following for a URL (marketing purposes): ...
0
votes
0answers
23 views

Displaying image from a repeatable group

I am having trouble displaying my image in a repeatable group. I am able to display all fields except the image. Here is the code to display a repeatable group $meta_boxes['project_metaboxpress'] ...
0
votes
0answers
38 views

How to add jquery to my custom post type wp plugin

I want to include a jquery to my wordpress custom post type plugin which i have created. i have two doubt,,, the jquery script will work only on widget options (i.e) Sidebar. So when i use the ...
0
votes
0answers
10 views

Hooking into the Meta Boxes (Name/Web Address/Description) on the 'Add New Link' Page

Is there a way to modify/adjust the meta boxes (Name/Web Address/Description) on the 'Add New Link' page? I'm trying to add some jQuery functionality to them but am unsure how to 'hook' into them.
0
votes
0answers
42 views

WordPress check if value equals and echo “checked”

Having some trouble with checking a query against another and outputting a value of checked if it matches. Have tried placing the get_post_meta in a foreach loop and it didn't work, It needs to pull ...
0
votes
0answers
65 views

add_meta_box issues

I have the following code in functions.php: add_action( 'add_meta_boxes', 'create_meta' ); function create_meta(){ add_meta_box( 'Session details', 'Details', 'create_details', 'portfolio', ...
0
votes
0answers
25 views

Individual page data in one page template

So I am trying to create a one page template but still allow the user to add separate pages in the admin panel. What I did to output all the pages in one template file is as followed: <?php ...
0
votes
0answers
19 views

Change taxonomy to metabox?

I created a custom taxonomy, but I need the taxonomy values in a metabox within the same post. How can I archive this? I tried several plugins for taxonomy management, but none of them could do what ...
0
votes
0answers
46 views

Post Categories Meta Box: Customize Most Used Tab

On the Edit Post page, within the Categories meta box, I’m looking for a way to put custom categories into the Most Used tab for easy category selection. The issue: There are a large amount of ...
0
votes
0answers
16 views

Can't drag and expand meta boxes when adding post

When I try to add a post, I can't expand and drag meta boxes, however, when I try to edit posts, I can. I already have re-uploaded the original files of post-new.php and post.php Why is this ...
0
votes
0answers
25 views

Change author of custom post to meta key

i have custom post type with custom meta key called "show_program_editors" , and when "admin" add new post in it, i need to save post author as show_program_editors value,not save to admin. how can ...
0
votes
0answers
35 views

Undefined index error when saving content on metabox

I am trying to debug 'undefined index' errors on the WP backend when debug is set to TRUE. The offending lines are: if ( !wp_verify_nonce( $_POST['pdwt_meta_noncename'], ...
0
votes
0answers
37 views

Toggle a metabox based on a selection

Is there a way to toggle a custom metabox based on a custom drop down selection for a custom post type? What I mean is I would like my custom post "proposal" to display different metaboxes based on ...
0
votes
0answers
26 views

How to get rid of error message of custom metabox in dashboard when moving out of edit page?

in plugins folder i'have custom-post-metabox folder, inside it custom-post-metabox.php, admin.js and admin.css. //code of custom-post-metabox.php <?php /** * Plugin Name: Custom Post Meta Box * ...
0
votes
0answers
48 views

Adding Radio Options or Select Options to Meta Box Title

I am adding Radio Options and Select Options to miscellaneous Meta Box titles. The HTML is rendering just fine in the title of each appropriate Meta Box title. There seems to be a bit of ...
0
votes
0answers
24 views

Contact form with dynamic recipient

I am creating profiles of people where each person is a custompost; I need my customposts have a contact form send mail to different recipient. I have already created a Metabox in which to put the ...
0
votes
0answers
17 views

Sort posts of custom_post_type according other post_type with metabox

I'll try to be as specific as possible because it's a bit confusing what I require. I'm trying to make a connection between two post_types with the help of a Metabox; This Metabox is showing in ...
0
votes
0answers
17 views

Nested Meta boxes?

I am trying to set up a plugin that will add a meta box to the posts admin page asking one simple question: How many authors will add their 2 cents? The question is in a dropdown with a possible 4 ...
0
votes
0answers
24 views

Media upload freezes according to metabox order

I created a custom post type and 3 metaboxes for it in the admin section. It looks great and the admin panel for that custom post has, indeed, the 3 boxes. These boxes have all the same code (with a ...
0
votes
0answers
27 views

Meta box not displaying properly

I am creating a plugin that will display list of a few posts at the bottom of each post. I created a meta box which content will be displaying with the each list of posts. Problem is, if I give ...
0
votes
0answers
25 views

Default value in wordpress metabox

I would like to set as default 'small_post_size' on my metabox options. I set 'std' options but it doesn't work. Can you help me? $meta_boxes[] = array( 'id' => 'post_size', ...
0
votes
0answers
39 views

Custom carousel with meta box data

I have a custom meta box carousel which I have working, The only problem im having is it is only looping through one picture, the same image is shown on the slides. Can someone please point me in the ...
0
votes
0answers
21 views

Get meta value from blog page

How to get meta vaules from page set to be the main post page? I have a template that shows sidebar that is chosen in the meta box of every page/post. I'm getting the value like this: $options = ...
0
votes
0answers
19 views

Display multiple “save draft button” on a post edit

I am aware of the submit_button() and get_submit_button() function, but can I call a "save draft" button on the same way? I have a very long "edit post page" and would like to display the save draft ...
0
votes
0answers
375 views

Displaying Metabox value (custom post type taxonomy)

I have been stuck on this for days, reading articles and articles and nothing works. I am trying to display the value of my metabox on a template page. I successfully added the metabox, and I see ...
0
votes
0answers
173 views

Inserting image into meta box row using jQuery - always adds to first row

I'm having a problem with inserting images into a custom post type meta box. I have a button that adds a row to the DIV and you click on the Select Image button to use the WordPress media selector. ...