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...
I have a CTP named leads and have 2 metaboxes added to the CPT new/edit screen. I need to have one of them only in edit screen, not in...
Looking for a reason why get_post_meta() doesn’t work with home.php. From my reading I understand that it’s a template and not a post or page, per “Custom fields won’t...
Been digging into WP files for a bit and think I just might be missing something. The end-goal is to remove the Theme Locations metabox from the Menus screen...
I’ve built a basic meta box and have this in my functions.php. The current code: add_action( 'admin_print_styles-post-new.php', 'portfolio_admin_style', 11 ); add_action( 'admin_print_styles-post.php', 'portfolio_admin_style', 11 ); function portfolio_admin_style() { global...
I have a custom post type called ‘contacts’. I want want to remove the status, post date and change the button from PUBLISH to SAVE. From what I can...
I’m following this tutorial by Justin Tadlock on creating meta boxes. http://wp.smashingmagazine.com/2011/10/04/create-custom-post-meta-boxes-wordpress/ I can get a meta box with a single field to work without problem but I would...
This is a pretty lengthy question, so bare with me. In a plugin I’ve written that allows users to easily create new meta boxes, I have a function that...
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...
I’m fairly new to PHP/wordpress, and this is actually the first time I haven’t been able to answer a question through google! I’m working on getting up to speed...