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

learn more… | top users | synonyms (2)

0
votes
1answer
24 views

Display metabox conditionally

I have searched left, right and center and believe that this does not exist as a built in option in WordPress; is there any way to, problematically, display (or not) a metabox in a custom post type ...
1
vote
1answer
17 views

Remove a plugin meta box from the dashboard

I'm trying to remove the meta box that the Download Manager plugin creates, as it uses a hardcoded http iframe, caused a mixed content error in ssl. Here is the code that generates the meta box: ...
0
votes
1answer
14 views

show title if one of post meta exist

I have 4 metabox facebook, twitter, instagram, youtube with title "Follow Us". I am using this code to show facebook logo and link. So if there are a value in facebook metabox I got the logo and the ...
0
votes
0answers
23 views

display specific term based on custom post type in custom taxonomy metabox

I am using a custom taxonomy 'Categories' for more than one custom post types. While adding/editing a post in one of the custom post type, I want to show only specific TERMS under custom taxonomy ...
0
votes
1answer
86 views

Query a Custom Post Type to another CPT via Metabox

I apologize in advance, I searched for an answer before posting this question but didn't see it, I saw some variations but couldn't quite figure it out. I have 2 custom post types: Buildings and ...
0
votes
0answers
22 views

How to make duplicatable custom metabox fields for image slider in wp?

I want make duplicatable custom metabox fields for an image slider. For example: Image title field image upload filed add button for add another image. Remove button for remove this individual image ...
0
votes
0answers
51 views

Humanmade | Custom meta box class: How to display a repeatable meta box group?

I'm using the Humanmade | Custom meta box class to add meta boxes to my themes admin pages. I have integrated the class and have been enjoying the use of adding meta box's to my current projects ...
0
votes
0answers
39 views

Use Custom Field As Meta Box In Post

I recently asked on this forum how to create a beta box using custom field, which was answered but with a not so right answer, but it helped me. For example, there's a custom field that I use called ...
0
votes
1answer
72 views

Custom post type Featured Image popup not working

I added a custom post type with thumbnail support. When I navigate to the custom post type in the admin backend and add a new one, I can add a featured image. The problem is, when I click the link ...
0
votes
0answers
27 views

How to output data from meta box with cloned fields?

Just to let you know, i am at a beginner level with PHP, so please bear with me : ) Also, I looked at this post and I did not find it helpful in my case, so I am making a stab at it here. (Meta Box ...
0
votes
0answers
44 views

add_post_meta to repeatable metabox from frontend

I'm creating new post from wordpress frontnend. I have managed to create post using wp_insert_post & added single metabox values using add_post_meta successfully. but I'm unable to set values of ...
0
votes
2answers
80 views

WP Alchemy - stripping my paragraph tags from textarea metaboxes

I cant seem to get my custom Metaboxes to display paragraphs. Here is my code: page.php <?php // Custom Excerpt $custom_metabox = get_post_meta($post->ID,'_custom_meta',TRUE); ...
0
votes
2answers
356 views

Get fields from metabox array

In my functions I'm registering multiple metaboxes with custom fields. A single metabox array for instance, looks like this: In functions.php $meta_boxes[] = array( 'id' => 'general_info', ...
0
votes
1answer
454 views

Adding an extra parameter [string] to my posts' permalink?

I've been searching the internet for 6 hours now, so I decided to ask this in the forum and would appreciate every help. I just want my permalink to say (e.g. portfolio, post, etc) ...
0
votes
1answer
81 views

Metabox radio buttons not saving correctly

I have multiple radio buttons set up inside of a metabox in a custom post type. I have created the metabox like so: add_action('admin_init', 'add_meta_boxes', 1); function add_meta_boxes() { ...
1
vote
1answer
56 views

get_post_meta doesn't work

I created a custom meta box inside a page but I can't display the content! I'm inside the loop and here there is the code of my functions.php: $meta_box['portfolio'] = array( 'id' => ...
1
vote
4answers
59 views

MetaBox Layout for all users

I was wondering : You are an administrator : when you re-order the layout of your meta-box, in a page, or in a post, this layout is saved with your user profil : for example you drag the category box ...
1
vote
0answers
159 views

Custom Meta Box - Multiple Checkbox for Users [closed]

My question is in regard to this article: http://wp.smashingmagazine.com/2012/01/27/limiting-visibility-posts-username/comment-page-1/#comment-154111 This article: creates a custom metabox the ...
0
votes
2answers
52 views

Remove a metabox registered by another plugin - Woocommerce

I am trying to remove the gallery metabox which is added by WooCommerce - its been added in an update, but I already have a Gallery metabox, and I don't want to confuse the client. Obviously I can ...
8
votes
6answers
7k views

Add a Meta Box for uploading a SECOND Featured Image?

I'd like to add a meta box to my posts and page editor that will allow me to upload an image and use it as sort of a SECOND featured image. The idea is that my client will be able to upload an image ...
-1
votes
1answer
46 views

Create A Metabox For A Custom Field

I add videos to my WordPress posts' video format by using custom fields. I was wondering if there is any way to create a meta box in post editor (like excerpt or something) for that specific custom ...
0
votes
0answers
19 views

Slider Issues using MetaBox Plugin

I'm just now joining a previously launched project. The home page slider is a custom meta_box type from the MetaBox plugin. Here is the code to add the fields. $meta_boxes[] = array( 'id' => ...
4
votes
1answer
2k 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 ...
0
votes
0answers
34 views

Image MetaBox not saving in custom posts

I'm trying to create a meta box that will let me upload image in a custom post. Everything is working almost fine but... It doesn't save any data -.-' I can't figure what I'm doing wrong. Could you ...
0
votes
0answers
39 views

Wordpress custom metabox radio values using CMB

thanks for reading. Im using https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress to create custom metaboxes. I have created a radio metabox that looks like below. ...
0
votes
1answer
32 views

Add additional metafields based on value of select box

I am faced with a particular issues dealing with metabox fields. I've added a select dropdown list to Pages post type and what I can not figure out is how to add additional metafields based on the ...
0
votes
0answers
16 views

How can filter terms by custom meta data

I have terms and i get data like :- $cat = get_terms( "progamdvideo_c", $args ) ; foreach ($cat as $term) { echo $term->slug; } Now i have metadata for this term ...
0
votes
1answer
89 views

Saving div elements generated with jQuery [duplicate]

I have certain blocks of code like BlockA(a,b,c) and BlockB(b,d,e) and so on where these a,b,c, etc.. are all input fields. All these blocks are hidden initially with css and post editor has the ...
0
votes
1answer
44 views

Metabox Data not saving

My Metabox data doesn't appear once I've saved the page, I tried vardump() on both getextra_mbe_date and getextra_mbe_time which returned null my code is <?php /* Plugin Name: Events CPT Plugin ...
0
votes
0answers
32 views

How can I display a metabox on front end for registered users

I'm using a plugin called Frontier Post to allow users to post on front end. When I try to create a post on the front end using this plugin, it does not display a custom meta box that comes with my ...
0
votes
1answer
98 views

Show Meta Box On Specific Page Template

Is there a way to show custom page settings on specific page templates ONLY? For instance I have a settings field: "Custom Settings". I don't want this to show on the "Default Page Template". I only ...
1
vote
1answer
854 views

Add Standard Page Attributes Metabox for Page Parent

I have a custom post type 'product' supplied to me by a Wordpress eCommerce plugin that does not offer the option to change the Page Parent in the Page Attributes Metabox. I'd like to remedy that. I ...
1
vote
2answers
316 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
1answer
37 views

quicktags “link” button doesn't work, but all other buttons do

I've added quicktags to a plain ol' textarea field which sits inside a metabox on a custom post type page. I can see the link button on the toolbar, along with the rest of the buttons, but when ...
0
votes
0answers
29 views

How to validate datepickers before publish

I have two datepickers in my post: 1. start_date and 2.end_date Basically, I need to check if end_date is greater than start_date before I can proceed to publish. From a previous solution here, I ...
0
votes
1answer
40 views

Meta box with front-end styling

I have a specific Gallery post of products that I release at the start of every Monday on my website, which differs from my other Gallery posts. These types of Gallery post don't require the Authors ...
0
votes
0answers
24 views

Extending select_post type in Custom Meta Boxes for WordPress (HumanMade fork) to store both ID and Post Title

I'm trying to figure out how exactly to extend one of the existing fields in CMB (HumanMade fork). I'm not terribly familiar with this process, so I'm looking for a suggestion of where to begin. The ...
0
votes
1answer
47 views

Custom Meta Boxes and Fields Multicheck Issue

I'm using Custom Meta Boxes and Fields by Justin Sternberg and its pretty great, however there's been a huge issue with using the multicheck checkbox options for me. This is what the plugin's code ...
0
votes
1answer
27 views

Custom-Metaboxes-and-Fields text_url field prepending http://

I'm using the Custom Metaboxes and Fields code wich is pretty good. However I need sanitization on URL fields of course but the built in text_url field type is adding 'http://' to my entries. I know ...
0
votes
3answers
966 views

Loading scripts & styles from a meta box callback function

Case: I got a set of classes that build form fields based on data from an input array. The class can build the following types of form fields: input (basic, hidden, password) textarea radio ...
3
votes
3answers
2k views

Has anyone successfully integrated qtranslate with custom metaboxes?

I followed this tutorial to create custom metaboxes. It seems like qtranslate enables you to use shortcodes almost everywhere. For example: Post titles: <!--:en-->Cheng Feng ...
0
votes
0answers
51 views

Add custom action in post type

I use the http://www.deluxeblogtips.com/meta-box Metabox plugin and I want to add a custom action in a post type like the publish button ? when admin click on this button I want to send an email to ...
0
votes
0answers
16 views

Hide sharing box and author box with a metabox on Wordpress

I have a little problem with my Metabox. I explain, I created in below each posts a sharing box and author box, I create a Metabox, it works, but I want hide the two blocks when I click the checkbox ...
0
votes
0answers
47 views

Custom plugin breaks css.php on Multisite

I got a strange problem on a Multisite Install I run. Everything works perfectly fine (Domain Mapping, Caching, whatever functions and Plugins I use, both forced and chooseable). To enhance the ...
3
votes
2answers
972 views

How to force one column layout on custom post type edit page?

I've created a plugin using custom post types and I need to force the default two column post page to a single column. At the same time, the Publish metabox must move to the bottom. I need to do this ...
0
votes
2answers
48 views

Sanitaizing Select Optin For Custom Post Type Metabox in WP

Using WordPress 3.8.1, I have a Custom post Type called "Map" and it contains a Metadata which is a Select options element as: <label for="my_meta_box_select">Countries</label> <select ...
0
votes
3answers
50 views

How to Echo Metadata Value in Currency Format

I have a Custom Post Type with a Metabox and an input Text field for adding "Price" to the posts. Now I would like to display the input value which can be like 49 or 59 like 49.00 or 59.00 so far I ...
0
votes
2answers
97 views

Issue on Working with Metabox - Checkbox to enable Sale Items

Using WP 3.8.1, I have a Custom Post Type which is called "Sport" and it has a Metdabox - medata data as I do not need to set up online shopping but I world like to add Price of my products to any ...
0
votes
1answer
47 views

If custom field doesn't exist, or exists and it's true show title?

Im trying to add new feature to the theme and that's show/hide page title,but since i already have about 50 posts i can't go to all of them and save again just to save custom field values. So i tried ...
0
votes
1answer
20 views

Can I prevent the user from adding more than two levels deep of terms inside of a taxonomy metabox?

I'm in the process of creating a leveled tutorial structure in WordPress and want to build it so that it sets up the front-end with no code needed from the user. So far, I have a custom post type ...