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

learn more… | top users | synonyms (2)

-1
votes
2answers
102 views

Conditonally check if Custom Meta Box has input

I currently display a URL from a custom meta box, but wanted to add a conditional check, so that if nothing has been entered, not to display the link text. <a target="_blank" href="<?php ...
1
vote
0answers
211 views

Getting jQuery sortable items in custom metabox

I've gottent this far: I have a list of featured image thumbnails loading into a metabox on my home-page template. I'm stumped: I'm looking to make them sortable with jQuery but I'm really new to ...
0
votes
2answers
238 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
293 views

How to pass variable via $callback_args for add_meta_box

I trying to pass some variable to the callback function through add_meta_box. Knowing that there is $callback_args that can be use to pass the variable. But somehow I just can't get it work within a ...
0
votes
1answer
102 views

Metaboxes not saving data

I'm rebuilding a metabox for a plugin and it now won't save the data I enter. The HTML is almost exactly the same as before, but the save_meta function just don't work. I've read through quite a few ...
1
vote
1answer
128 views

Populate meta select box with child pages

I'm trying to populate a drop down select meta box with a list of child pages of that page. I am using the wp_list_pages function to retrieve the list of child pages, no problem there. The problem ...
-1
votes
2answers
179 views

How to make a meta box?

I really need some help with this because I totally stumped. I'd like to make a metabox with a name and a url input on my custom post type. I want the result to show up in my content on my post. I ...
0
votes
1answer
220 views

How to check for specific meta box value on front end and output accordingly

I have a custom meta box with two different radio buttons that can be selected. One is for displaying the content in a "large' format, the other is for displaying content in a "small" format on the ...
1
vote
1answer
65 views

how to fetch the meta field keys/meta boxes from a post type?

I need to find all the meta keys or meta boxes preferably from just a post type ...couldn't find any wordpress function to do this. Any custom queries?
0
votes
2answers
280 views

How to make a metabox that contains link categories?

I'm looking for some suggestions or tutorial links about how to create a meta box that allows users to choose from a list of link categories. So far I've been looking at this post about taxonomies in ...
0
votes
1answer
156 views

How to stop wordpress from mangling HTML in a metabox textarea

Can anyone lend a hand and suggest the best way to get a textarea in a meta box to stop mangling HTML? I've been digging around here online... and here...and also here...looking for answers, but I ...
0
votes
1answer
81 views

Custom meta box includes

I am having some problems including files for my custom meta boxes. I have a structure like so: post-meta.php cmb teaser_meta_box load.php initiate.php display.php save.php So ...
0
votes
0answers
12 views

Whats the point of returning a value in AUTO_SAVE [duplicate]

Possible Duplicate: Return $post_id when DOING_AUTOSAVE? if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) { return $post_id; } I always see this in custom made themes, but is ...
0
votes
1answer
216 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 ...
0
votes
1answer
216 views

Retrieving meta-box from a custom-post-type

I am trying to display data from a custom post type on my home page, for which I am using a separate template. I'm getting a Fatal error: Call to undefined method WP_Query::have_post() when my code ...
0
votes
1answer
214 views

Create & Save multiple Meta-boxes

I created a custom-post-type and multiple metaboxes which needs to be saved. I have a function that saves one metabox, but I can't figure out how to reuse this function to save all the metaboxes. ...
1
vote
1answer
175 views

Metabox with multiple fields added by user and upload box

I'm trying to build system, where user can add as many fields as he needs to the post. I'm using code from this thread. Everythings works fine, except I can't get my upload working. Here's code I've ...
0
votes
0answers
42 views

Saving From Custom Meta Box [closed]

I followed a tutorial, expanded on it a bit, and am having problems with either the saving, or the re-population. Not sure which. Please have a look, and any help would be appreciated. function ...
1
vote
1answer
161 views

Custom Post Type uses Custom Tags in add_filter?

Having just grasped Custom Post Types I ventured into an article on how to Build a custom image slider using a Custom Post Type wherein I understand everything in the code (i.e. the creation of the ...
0
votes
1answer
304 views

Advanced Custom Fields Array Population

I'm trying to populate a ACF select field with an array from a custom $wpdb->get_results call, which is essentially a list of categories from my db. I have the following: global $wpdb; ...
3
votes
0answers
718 views

Custom Meta Boxes: multiple fields within a repeatable field

I am working on a meta box for events. Each event has it's own page with a meta box for the line-up, background image, tickets page URL and some text. To create the line-up I would like to use the ...
1
vote
1answer
651 views

Remove the Yoast SEO Post Metabox

Yoasts SEO plugin adds a metabox to the post edit screen. I'm trying to remove this for users who aren't editors or above. I've tried putting a remove_meta_box call in on admin_init, trying to remove ...
0
votes
1answer
88 views

Use Metabox to enter Post Title

I would like to use a custom meta box to build the UI for the post title, instead of the usual field 'title' supplied on WordPress post screens. I've build the meta box, the question is now how to ...
0
votes
1answer
60 views

How to store meta field values

I would like to store a few extra details for my custom post type, using meta boxes. Should I store all the values under one meta key in an array, or create several meta key and value pairs?
0
votes
1answer
15 views

Creating entries with image attachements within posts and managing them in a list

I need help with choosing a suitable meta box or other means for listing, adding and sorting entries, relevant to the containing post. For each entry it should be possible to attach a set of images, ...
0
votes
1answer
134 views

Change Default Custom Fields Metabox Name on cctm plugin

i found this thread Change Default Custom Fields Metabox Name and i also want to change this cctm plugin generated Custom Field header to something else,so i tried to add global $wp_meta_boxes; ...
0
votes
1answer
570 views

register_taxonomy - show in admin menu, but not on post type (edit) screen

I've been trying a lot of things so far and investigated core inside out, but couldn't find a way that allows me to add the submenu item, but doesn't add the meta box for a custom taxonomy. The Menu ...
1
vote
2answers
229 views

How can i add some static text above the editor?

I created a custom post type and i want to display some text on the editor page below the title and above the text editor. How can i do this? I tried using add_meta_box, but i wasn't able to move it ...
0
votes
1answer
136 views

How to create metabox that can be queried in the database?

So I've been working on created a catalog based off of wordpress's metabox functionality with a custom post type, but now as it comes time to start searching the database to return specific data sets, ...
0
votes
2answers
228 views

Include custom fields into the content of a regular page

Here's my setup: Parent "Gallery" page: _regular page, not custom type or anything _ Several "Project" child pages (could be as few as 1, unlimited number): also normal pages Child pages will ...
0
votes
2answers
225 views

Meta Box Plugin Cloned Fields - Multiple Foreach values

I have the following code that I can't get working. I have two cloneable fields that are being output as one entity (URL and thumbnail image). These are cloned fields using the Meta Box Plugin by ...
1
vote
0answers
55 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
1answer
100 views

Force hide custom field metaboxes

How can I completely remove the custom fields and the collapse button in the Edit Post/Edit Page custom screen, but without removing the capability to add custom fields with a PHP function?
1
vote
2answers
82 views

Post Quote with image on header for news site

I'm working on a news website. (wordpress.org) I want to add a quote on the header with an image. Please have a look at this For this I want to add a check box on the post publish section ...
1
vote
0answers
80 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 ...
0
votes
1answer
218 views

Removing custom meta box added in parent theme

I am using a child theme, and wish to change one of the meta boxes defined in the parent theme. The meta box is for 'pages' only. I tried using the remove_meta_box in my functions.php, but it has no ...
0
votes
1answer
359 views

Form submit from modal window to parent window

Trying to submit a field value from a popup modal window to my WordPress parent window meta-box. On my add post page I have a metabox with a field type 'text'. The id of my 'text' field type input ...
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
3answers
1k views

How to display non-hierarchical taxonomy as terms with checkboxes?

I'd like to have a non-hierarchical custom taxonomy displayed in the add/edit posts admin screen for a custom post type. Obviously, when the custom taxonomy is non-hierarchical, the meta box that's ...
1
vote
0answers
80 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: ...
0
votes
1answer
238 views

How to set default metaboxes on user creation?

Just for repetition's sake, I want to do the following: I need to set custom fields and the excerpt metaboxes for WP default Posts post type when a new user is created. I know that by default WP ...
0
votes
1answer
247 views

Loop with slider (slider not loading)

In my slider.php I have a loop that calls for a custom post type. That custom post type has a meta box for a slide url (link/title/etc). I can see the loop and everything else is working because in ...
0
votes
3answers
366 views

How to select one major category (or custom taxonomy) for a custom post type?

I've created a hierarchical custom taxonomy (genre) and want to use it for a custom post type (radio station). But I don't only want to assign some genres to a radio station. I also want to be able to ...
1
vote
0answers
193 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 ...
0
votes
1answer
770 views

How to Create Dynamic Fields in a Meta Box?

Could someone explain me with a little example how create a button that creates a new custom field dynamically? I'm working on a plugin and using add_meta_box, I need an input box ...
0
votes
1answer
99 views

Randomly Display One Image From a 10-Image For Loop

I have a Wordpress function that loops thru 10 input fields & saves the data from those input fields. The data entered is either an absolute or relative link to an image. The loop looks like this. ...
0
votes
1answer
227 views

Displaying Saved Meta Box Data in Drop Down with selected()

I have a custom meta-box for certain custom post types, and one of those fields in the meta-box is a drop down. I am providing the field correctly, saving the information, and even calling it ...
1
vote
0answers
45 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?
3
votes
1answer
407 views

How to reorder meta box position?

I have a custom post type which have a lot of custom field that categories in meta box. The problem is how do I sorting the meta box in the order that I desired? As I know there is only ...
1
vote
0answers
229 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 ...

1 3 4 5 6 7 13