Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
2 votes
2 answers
3k views

Unable to save custom taxonomy terms in a custom-built metabox

I've roughly followed the tutorial here on how to create "custom taxonomy input panels". I'm using a custom post type of homes and a custom taxonomy called beds (used to record the number of beds in a ...
Travis Northcutt's user avatar
1 vote
1 answer
3k views

I'm using add_meta_box() but want to include TinyMCE editor *and* Media Uploads for each box

I'm using a very lightweight plugin called WPAlchemy that lets me rapidly create meta-boxes for posts and pages. I've ben able to convert <textarea>'s into rich, TinyMCE's editors just fine. ...
Mike B.'s user avatar
  • 169
0 votes
3 answers
410 views

Adding admin menus to wordpress

I am trying to add a menu box to Pages > Pages or Pages > Add New, basically whenever they access a page, be it to edit an existing page or add a new one, I would like to add a menu box under ...
Odyss3us's user avatar
  • 905
0 votes
1 answer
2k 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 ...
Luis's user avatar
  • 113
0 votes
2 answers
3k views

Meta Box on Custom Post Type not saving

I have a custom post type which is working fine, however the meta box does isn't saving. Long & short, i'm stumped! add_action('init', 'portfolio'); function portfolio() { $args = array( '...
George Wiscombe's user avatar
3 votes
3 answers
10k views

Meta Boxes in Front End Post Submission Form

How can I add meta boxes to the front end post submission form? Similar to front end post submission that creates new posts, the form replies should go directly into the post meta boxes. Meta Boxes ...
Mia's user avatar
  • 83
1 vote
4 answers
6k views

Display list of tags as drop down menu or radio buttons in a meta box?

I would like to group posts of a custom post type based on tags, but the default functionality does not do for the project I am working on. I want the user to be able to select only one tag, not ...
Paranoid Android's user avatar
1 vote
1 answer
544 views

metabox with custom post type values

I need to re-write a current WP website and I think Custom post types are required, combined with Meta Box. The basic layout is Author (custom) Books (custom) Photos (custom) All 3 custom post are ...
salocin's user avatar
  • 239
8 votes
4 answers
18k views

Creating a metabox to upload multiple images

Is it possible to make a meta box that attaches multiple images to a post?
agileapricot's user avatar
  • 1,519
1 vote
3 answers
350 views

Is it possible to create relational metabox values in a custom post?

I have a custom post type ('Model') for a sports modelling agency, and it requires the model to enter sports they are competent at, and also rank their ability from 1 to 5. For example, given the ...
gillespieza's user avatar
  • 1,285
2 votes
1 answer
10k views

Priority of Meta Box for Custom Post Type

I'm having a small issue with the custom post type entry screen. I'd like to bump up my metabox right under the content box, but I'm not sure if that's even possible (as the metaboxes in between are "...
Noel Tock's user avatar
  • 881
0 votes
1 answer
2k views

multicheck box for post metabox

Hi guys I have a headache on this I make a multicheck with this tutorial wpshout.com/create-an-in-post-theme-options-meta-box-in-wordpress/ the problem is it doesn't save all checked value and it ...
idontknowhow's user avatar
0 votes
1 answer
444 views

how to reset metabox excerpt to open

For some reason the excerpt box on the new posts page (post-new.php) is always closed. I can alter that with firebug, but it should be open anyway. There is a "closed" class being added by someone ...
user avatar
2 votes
4 answers
224 views

Multiple information using custom post type

I made a new custom type, it's working fine. My question is: If i want to add in a single post that custom-type with different informations for about x times...how should I do this? Example: Let's ...
Iulian's user avatar
  • 41
0 votes
2 answers
1k views

How to add meta boxes to the 'Add new post' screen?

I want the user to fill in a form (when they create a new blog post). The results of the form should be embedded within the new blog post. So I am trying to think of the best way of coding this. Meta ...
Techboy's user avatar
  • 205
4 votes
1 answer
2k views

How do you remove a Category-style (hierarchical) taxonomy metabox?

I was wondering if someone can help me with this. I'm currently following Shibashake's tutorial about creating custom meta-boxes that include taxonomy selection here: http://shibashake.com/wordpress-...
Manny Fleurmond's user avatar
3 votes
2 answers
322 views

Add additional data to a specific taxonomy term when used in a post

If I'm using a custom post type for a Movie or a TV show episode, I may use a taxonomy for "actors" and assign all the actors related to the work to it, but I'm not sure how, besides of that, I can ...
peroyomas's user avatar
  • 339
11 votes
2 answers
11k views

Custom field/meta populated by dropdown of existing posts?

(My first WP question ever asked! Be gentle!) I'm building a site that is mostly pages (i.e., static), using WP as CMS. At the bottom of several of the pages, there will appear 1, 2, or 3 "promo ...
Nic Warmenhoven's user avatar
13 votes
1 answer
6k views

Is there an easy way to make a meta box have the tabs like the Categories meta box has?

My question is pretty much summed up in the title. I'm dropping a meta box in the New Post / Edit Post admin page, and I want to be able to set it up with tabs like the Categories meta box has. I ...
Jason Rhodes's user avatar
0 votes
2 answers
441 views

Set Edit Post meta boxes inactive

I'm simply looking to set certain meta boxes inactive. I know about remove_meta_box() but I only want to make them inactive so that the user is still able to turn them back on from the screen options ...
Joe's user avatar
  • 1
9 votes
4 answers
13k views

Remove the Featured Image Meta Box

How can I remove the Featured Image meta box? I've tried using the remove_meta_box function and specifying the boxes ID but it doesn't seem to work like it does for the other native meta boxes. ...
matt's user avatar
  • 1,662
0 votes
2 answers
2k views

Replace the Post Excerpt Meta Box with a Field in My Custom Meta Box

I've got a custom meta box for a custom post type which will be the only metabox I plan to show in the main column (except the native title box). I want to move the native Expert box/field inside my ...
matt's user avatar
  • 1,662
2 votes
1 answer
4k views

How to make multicheck for post/page meta box

Please help me understand how to make Multicheck type for metabox. Search for all internet and nothing. Thanks. UPDATE @Jan I have a headache from this function. I dont know whats wrong.I'm ...
Denis Belousov's user avatar
8 votes
3 answers
7k views

Make Custom Metaboxes Collapse by Default

I've created some custom metaboxes for my post write screen. Is there any way to make some of them display collapsed by default? Just in case I'm not using the correct terms or not being clear in ...
matt's user avatar
  • 1,662
1 vote
1 answer
497 views

On click hide group of metabox, similar to screen options checkbox?

I have several metaboxes in the edit screen. I would also create another metabox where the user can click on a checkbox then it hides a set of metaboxes, similar to the Screen Options functionality, ...
user avatar
1 vote
1 answer
742 views

Duplicate Custom Header Functionality into the post edit screen

Within wordpress 3.0 you have the ability to create a custom header image with a very slick built in cropping tool. I found out that the code being utilized for this is located within wp-admin/custom-...
NetConstructor.com's user avatar
4 votes
2 answers
2k views

Attach Files Metabox

Does anyone happen to know how to create a simple "attach/browse" button that can be placed into a metabox which upon clicking it would open a lightbox where the user would be able to view all the ...
NetConstructor.com's user avatar
7 votes
2 answers
2k views

Multiple Custom Metabox Help

I have been trying to get this worked out for over a year and have tried numerous ways and have not been able to get it to work. I'd really appreciate it if someone could help me with this. Here's ...
matt's user avatar
  • 1,662
0 votes
3 answers
1k views

HTML Table creator in metabox to put into post theme

I'm looking for a funcionality of creating HTML Table in metabox in post-editing page to put into post theme with a shortcode or something similar? http://alexrabe.de/wordpress-plugins/wp-table/ is ...
user avatar
2 votes
2 answers
3k views

Custom Metabox with Ajax in Edit Post - Stuck

I'm trying to create a custom meta box with multiple text fields. The idea is that there is initially one text box, then you can click the button 'Add New' and a another text box is added (using Ajax; ...
Matthew Ruddy's user avatar
1 vote
1 answer
3k views

How can I show/add/save custom metaboxes as an Array of values?

What I am trying to do is create a custom post type, custom meta box that inserts the values of it into an array of 'colors' or, 'p_clrs'. I have a jQuery script which works, allowing you to click a ...
jaredwilli's user avatar
3 votes
1 answer
668 views

Does javascript have an equivalent to PHP's preg_replace_callback?

I have a php function that executes inside an add_meta_box() in the WP content editor (see below) that I would like to convert to javascript so that it executes on a button click (on demand vs ...
Scott B's user avatar
  • 5,696
2 votes
1 answer
126 views

How do I obtain the post content via a custom meta box inside the editor?

I have a custom meta box which I would like to use to report on the markup of the current post or page (number of words, number of heading tags, etc). How can I obtain the post content into memory in ...
Scott B's user avatar
  • 5,696
0 votes
1 answer
445 views

Placing Admin Post Metaboxes in Tabs

I am looking for what code one would need to add into the functions.php file which would allow specific metaboxes to show up in tags instead of within their individual metaboxes. Can anyone help with ...
NetConstructor.com's user avatar
23 votes
2 answers
18k views

How to show a custom meta box on the "Quick Edit" screen?

I've used add_meta_box() to add a custom meta box to the WordPress edit window on both pages and posts. How can I make this meta box also show on the "Quick Edit" screen? Ideally, I'd like it to ...
Scott B's user avatar
  • 5,696
20 votes
8 answers
13k views

Disable dragging of meta boxes?

Anyone know how to disable this functionality so the meta boxes can't be repositioned?
fxfuture's user avatar
  • 1,337
1 vote
1 answer
2k views

How to add a widget to the post editing view?

I would like to add some features (via authoring a plugin) to the post editor in wordpress. Is there a way to add a widget to the post editor view? Alternatively is there an existing plugin someone ...
Justin Alexander's user avatar
13 votes
1 answer
7k views

What is the "Advanced" $context in add_meta_box?

In the codex it lists the parameter $context for the add_meta_box as having the following options: normal advanced side What does "advanced" do? I don't see any difference between it and "...
matt's user avatar
  • 1,662
7 votes
4 answers
8k views

Removing Metabox for "Slug" without removing functionality

Here is an interesting question. I have recently noticed that if you utilize the code remove_meta_box('slugdiv', 'post', 'normal'); you are actually unable to modify the slug when you click on the ...
NetConstructor.com's user avatar
3 votes
3 answers
2k views

How to Move the Author Metabox into the "Publish" metabox?

About a year ago I remember seeing a plugin or some code which allowed you to add an author dropdown menu to the post "publishing" metabox instead of it being on its own. I can't seem to find this ...
NetConstructor.com's user avatar
16 votes
2 answers
5k views

Help Creating a Slideshow Custom Post Type with Custom Meta Boxes?

I need to create a custom post meta box(es) for my custom post type "Slideshow" (this post type is already created). Each metabox will hold the content in each slide slide and save it to ...
matt's user avatar
  • 1,662
3 votes
2 answers
376 views

Editing the Default Links like "Site Admin" in the Sidebar Meta Section?

After creating a new WordPress site, how can I edit the default links like "Site Admin" found in the sidebar "meta" section?
Techboy's user avatar
  • 205
31 votes
3 answers
21k views

Set Default Admin Screen options & Metabox Order

I am desperately looking for some way (any way) to set default "screen options" and metabox order through the functions.php file. does anyone have any help they can provide here?
NetConstructor.com's user avatar
2 votes
1 answer
296 views

How do i hide the auto-generated custom field that's created when update_post_meta() is called?

I've added a custom textarea for the create/edit post admin page. I did so using the add_meta_box() function. The problem is that the add_meta_box() callback function (which saves the data input into ...
Jon's user avatar
  • 125
2 votes
1 answer
2k views

How to add automatically keyword to taxonomies when a post published, and assign them to the post

How to add automatically keyword to taxonomies when a post published, and assign them to the post for example i have in my post edition, a custom meta box, when you complete this input, a function ...
zagriyen's user avatar
  • 121
5 votes
3 answers
12k views

Custom Post Type - Taxonomy Dropdown Menu?

I have created a custom post type and added various meta boxes/fields to this custom post type. All is working excellent except for one element... Instead of utilizing the default interface for ...
NetConstructor.com's user avatar
18 votes
5 answers
9k views

Can I add a Category Metabox to attachment?

I am using register_taxonomy_for_object_type() to add the Category taxonomy field to Media uploads (attachments). I'm using this code to do so: add_action('init', 'reg_tax'); function reg_tax() { ...
Rick Curran's user avatar
  • 1,076

1
29 30 31 32
33