| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 3 months |
| seen | Mar 30 at 17:56 | |
| stats | profile views | 1 |
|
Mar 8 |
accepted | Custom Metabox Not Saving |
|
Mar 8 |
comment |
Custom Metabox Not Saving Thanks @brasofilo... Will test that out... Figured that was what I was hanging on. Also, I thought I had done an include in the code above (just bundled the save_post action inside the add_meta_boxes_page action). thx |
|
Mar 8 |
asked | Custom Metabox Not Saving |
|
Feb 25 |
accepted | Getting Featured Image Caption to Only Show if Populated |
|
Feb 25 |
comment |
Getting Featured Image Caption to Only Show if Populated Sweet, that mixed it @MagentaCuda! Thanks! Add that as a response and I'll up-check you. |
|
Feb 25 |
asked | Getting Featured Image Caption to Only Show if Populated |
|
Feb 21 |
comment |
Custom metabox not working Unfortunately, now when I click update, any new info entered into the meta boxes isn't being saved. Am I having the same globalize issue with the save functions? Error states: Notice: Undefined index: post in /nfs/c07/h04/mnt/111667/domains/staging.[site].org/html/wp-content/themes/[site_theme]/functions.php on line 329. 329 is $post_id = $_GET['post'] ? $_GET['post'] : $_POST['post_ID'] ; of the hide_editor function. |
|
Feb 21 |
awarded | Scholar |
|
Feb 21 |
accepted | Custom metabox not working |
|
Feb 21 |
comment |
Custom metabox not working Thanks @ChipBennet. That solved it! I globalized $home_meta_fields before the defined array and it's showing up properly. Thanks for the help and guidance! |
|
Feb 21 |
comment |
Custom metabox not working got that fixed and now the boxes are showing up properly, but still crashing on the switch |
|
Feb 21 |
revised |
Custom metabox not working updated code and error/problem issue |
|
Feb 21 |
comment |
Custom metabox not working OK, I actually had to remove the function to add the metaboxes, now the boxes are showing up. But each metabox on the page is showing an error with each callback function. It's breaking at the first case within the switch. Posting the updated code above. |
|
Feb 21 |
comment |
Custom metabox not working as @ChipBennett said, I'm trying to have the metaboxes show up in the admin area for editing a post/page. It seems that I'm not including the file properly, not sure where it's hanging. |
|
Feb 21 |
comment |
How to load php file for specific page in admin? thanks @ChipBennett. posted a new question specifically related to that. thanks for your help! also, I found this site for a metabox class that you may find useful. |
|
Feb 21 |
asked | Custom metabox not working |
|
Feb 21 |
comment |
How to load php file for specific page in admin? Well, I'm finally able to hide the content area box on the page using $post_id = $_GET['post'] ? $_GET['post'] : $_POST['post_ID'] ;
if($post_id == '104'){' but I'm still not getting any of the metaboxes to show up using the home-meta.php` pasted above |
|
Feb 21 |
comment |
How to load php file for specific page in admin? Line 328: if ( $post->ID == get_option( 'page_on_front' ) ) { |
|
Feb 21 |
comment |
How to load php file for specific page in admin? double-doh... forgot and included the old .php path... updated that and using the get_template_directory instead of the _uri call, but still getting an error.
> Notice: Trying to get property of non-object in /Users/amores/Sites/[dev_directory]/wp-content/themes/[site_theme]/functions.php on line 328 |
|
Feb 21 |
comment |
How to load php file for specific page in admin? Hey @ChipBennett, I updated the question with where I'm at with it currently. Thanks! |