1
vote
1answer
19 views

meta box on custom post type

Okay I have look on the site and need more help! I am adding Learndash to my site and need a meta box to show on their custom post type pages. Here is the meta box code I have which works fine for ...
1
vote
1answer
63 views

Dynamic page.php template for custom post types

I have a couple of custom post types registered. I would like to display all "posts" from each custom post type on its own page, and these pages must be visible in the nav menu. It would be great to ...
0
votes
1answer
65 views

Add metabox with media uploader in a custom post type

I need to create a "media uploader metabox" and add it to my custom post type. I've already create normal metaboxes, the function to add to the custom post type and the function to save them, I only ...
2
votes
1answer
55 views

WP_List_Table inside metabox not working on submit

I'm trying to display a WP_List_table inside a metabox. The metabox is for a custom taxonomy called 'service' which is registered to a custom post type called 'office'. The table columns contain input ...
0
votes
2answers
52 views

Plugin “Meta Box”: Implementing meta boxes in custom post type

I am a WP beginner and see the potential of the "Meta Box" plugin (http://wordpress.org/plugins/meta-box/). I have already activated the plugin. So far I managed to upload the demo.php and to display ...
0
votes
1answer
119 views

Metabox Populated with a Custom Post Type - How to Output CPT based on Select?

I have a dropdown metabox populated with a custom post type, now in my template, I can get the value of the metabox output but what I really need is all the information stored from that selected CPT ...
0
votes
1answer
23 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 ...
0
votes
0answers
22 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
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
33 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
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
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
47 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
2answers
96 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 ...
1
vote
3answers
124 views

How can I add a column/s to wp_posts table?

I am trying to sync WP with another service that offers an API that allows me to hook up their table's Update, Create, Delete to my sites. So when they create, update, or delete a row on their ...
0
votes
0answers
27 views

Wordpress CPT Upload Audio Files to wp-content/upload/audio

I'm working on a custom post type for my blog that will read files in the directory specified and create a post for that file. I also want to use the wp upload handler in my custom post type but I ...
0
votes
0answers
68 views

Displaying wp post categories into my custom metabox

Is there a way to display custom select box containing list of WordPress posts categories in my metabox? (also my metabox in custom post) Here are the illustrations: This are categories from ...
0
votes
1answer
149 views

Remove “show sharing buttons” metabox JetPack from custom post type

I have installed JetPack and now my custom post types feature a meta-box that says "Sharing: Show sharing buttons" with a checkbox. This is unnecessary for this custom post type and I would like to ...
1
vote
2answers
200 views

How to keep a check box in custom meta box for custom post type checked by default for add new post?

In my custom plugin, I have a custom post type and have a custom meta box for it. I have few fields in it, one of it is a check box. I want this check box to be checked by default when I go for a add ...
0
votes
0answers
33 views

How add / edit dynamically same meta boxes in CPT?

What I would like to do? :) I am sorry, but I am not native English, and I a newbie in WP. I don't know how I can search on it. So I created CPT (this is my first wp plugin). In CPT I only need the ...
0
votes
1answer
115 views

Yearly Archive from a custom date metabox (Event Start Date)

I have created a custom post_type called (event) and here's the code // Register Custom Post Type Events function custom_post_type_events() { $labels = array( ...
0
votes
0answers
42 views

Meta Box Not Showing up in The Admin Page

Using WordPress 3.7.1 and PHP 5.4.12 I am trying to add a Meta box - text field to my Custom Post Type. My custom Post Type name is "news" and this is my code: <?php /* Custom Meta Boxex */ ...
0
votes
1answer
28 views

Need to build custom metabox select prev posts by category

I am working on a personal project and need the ability to select a previous post based on a selected category. This will be a site devoted to building a pedigree. I really hope this makes sense. I ...
0
votes
1answer
727 views

How to add multiple featured image in meta box in post editor?

I would like to add multiple featured image in meta box in post editor area apart from default available featured image. I have added the meta box but i have no idea on adding the featured image ...
0
votes
0answers
54 views

wordpress meta_box data don't save

I made this metabox with an input item and two select items(a dropdown and a checkbox). When i write something in the input item or i select something it disappear when i update the post. Another bug: ...
0
votes
0answers
15 views

Update parent post when updating children of that post or assigning children to that post

I have a custom meta box that displays a count of information gathered from the children posts associated with a parent but i need the information within the parent posts meta box to be updated each ...
0
votes
1answer
80 views

How to retrive Custom Post Type Meta Fields in Custom WP_Query

Can some one let me know How I can render the Custom Post Type Meta Fields (Meta-boxes). I have a Custom Post Type Called "News" and I successfully added a Metabox to my Custom Post Type called "News ...
1
vote
1answer
454 views

Get all posts from custom post type and insert in select input as metabox

I would like to know if its possible to do something like this. I have Slider custom post type and Services custom post type. For slider posts I have created a metabox for URL value to display next ...
1
vote
1answer
55 views

Custom Post Type with metaboxes (no content) only?

I have a Custom Post Type called "cities". Each city has: Name, Population, Coordinates and so forth. I don't want users to be able to add their custom content there (using wp-content editor, HTML or ...
0
votes
1answer
132 views

Hide Meta Boxes for Non-Admins

I have a review based wordpress site where I have a page for each different company where there users can review them. The theme I use adds a custom post type called "review" and I have used Press ...
1
vote
0answers
328 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 ...
0
votes
3answers
141 views

Remove custom metaboxes from custom post type

Is there a away to create a custom post type in wordpress that will only include the default metaboxes and not any other metabox that was added by other plugins. The idea is to use the custom post ...
0
votes
3answers
44 views

How to bring custom meta boxes to custom post types?

I had created a custom meta box with the help of this answer but this meta box only appear in Post edit screen. How I can make it visible on "Pages" as well as on custom post types which created by my ...
0
votes
1answer
45 views

Select custom post by meta value

Say I've got the custom post type foo with a meta box called bar. I've posted an entry with bar = pineapple. Now I want to check if there is a foo in the database with a bar set to pineapple. How ...
0
votes
0answers
11 views

Similar to wp_editor but for the post title input field [duplicate]

What is the function that I can use to render the post title input field? I know wp_editor does that for the editor. I need to move the custom post title field (the default title that comes with the ...
0
votes
1answer
141 views

Cannot Save MetaBox Data in Custom Post Type

I've been working on this issue for quite a while and am truly stumped. Below is all of the code for my custom post type: /* Services Post Type */ function services_post_type() { $labels = array( ...
0
votes
1answer
453 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) ...
5
votes
2answers
249 views

Meta Boxes: 'admin_init' or 'add_meta_boxes' hook?

When setting up meta boxes in a custom post type I've been do so using the add_meta_boxes hook, e.g. add_action('add_meta_boxes', 'meta_box_setup'); function meta_box_setup() { add_meta_box( ...
0
votes
0answers
15 views

How to show content of metaboxes in preview mode

I have custom template that I apply to pages. This template has number of metaboxes where user can add values. This works fine when post is published, I cannot figure out however the way on how to ...
0
votes
0answers
37 views

Displaying additional meta from a custom post type on the page?

I have added the custom field which displays in the custom post type "portfolio" just fine. // Add more custom field function woo_metaboxes_add($woo_metaboxes) { // Check for post type = ...
0
votes
1answer
180 views

Custom post type meta box empty after save

I'm trying to make a meta box to include a date picker but my initial attempt to have the textbox data seems to fail as each time its either posted or saved again the text disapears <? /* ...
0
votes
1answer
46 views

Query Custom Posts - Add To Selection

Which I have working, but not correctly. When I add this metabox to my page it messes up the permalink to always display the slug of one of the organization post types. When I remove this metabox the ...
0
votes
2answers
597 views

How to add editable/dynamic values to dropdown of a Custom Post Type Meta Box

I am new to custom post types so I might not be explaining this the right way (apologies), but I am developing a WP project based on football games - with a major part of this involving which teams ...
0
votes
1answer
97 views

How to add a class to meta boxes (to customize them in CSS)?

I have an situation: I just can't figure out how to add classes to some meta boxes. I read these post from here, I tried this solution, but it did not work as I wanted. Is there a way to add classes ...
0
votes
1answer
388 views

How to get custom metabox image field?

i have custom metabox with the image field, i can upload image from wp-admin to this metabox, metabox code array( 'name' => 'Burst Image', 'desc' => 'Crop your image to ...
0
votes
0answers
23 views

Dynamic Post Meta Boxes Within custom post type [duplicate]

I want to create a custom meta box within a custom post type that supports multiple inputs; e.g. People Involved In Race: Person One Field : Person Two Field : Person Three Field : ect. The ...
0
votes
2answers
73 views

CMB select with data from CPT

I'm using the CMB framework for creating metaboxes (https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress) and I want to add a select box which prepopulates with titles from a custom ...
0
votes
1answer
94 views

Custom Meta Box Causing Error: “Are you sure you want to do this? Please try again.”

My custom post type have a meta box that is listing another custom post types in its meta box. And it is causing error each time I try to publish a post with that custom post type. It is always bring ...
0
votes
1answer
35 views

Make meta box appear if the previous if not empty?

I have created a custom post type with the ability to have multiple featured images. However, it would be nice if i didn't have 10 empty boxes on the post page asking for images... I would like a ...
0
votes
0answers
138 views

WP Alchemy Meta Box for Custom Post Type

I'm using the WP Alchemy Metabox class to create two meta boxes. One meta box is used on posts, pages and my custom post type, via_fest. This meta box is showing up fine on all 3 of the post types. ...