Skip to main content
tigre's user avatar
tigre's user avatar
tigre's user avatar
tigre
  • Member for 11 years, 10 months
  • Last seen more than 9 years ago
comment
How to load php file for specific page in admin?
like this, define('WP_DEBUG', true); no? in wp-config.php it's set. still white screen.
awarded
comment
How to load php file for specific page in admin?
I would if it wasn't a white screen of death. :(
comment
How to load php file for specific page in admin?
@ChipBennett, just letting you know I updated the original question with where I'm at now, in case that helps.
comment
How to load php file for specific page in admin?
thanks, @chip. I tried doing your approach but a blank/white screen...
revised
How to load php file for specific page in admin?
third try for editing code, no luck, but closer
Loading…
revised
Loading…
comment
How to load php file for specific page in admin?
@ChipBennett, it's the site's front page, i.e. the home page.
comment
How to load php file for specific page in admin?
this is all for the admin area. will change the template to a different name
comment
How to load php file for specific page in admin?
Thanks, but doesn't work: add_action('admin_init','load_home_meta'); function load_home_meta() { if (is_front_page()) { include 'metaboxes/home-meta.php'; } } Only this works, but I don't want it globally: include 'metaboxes/home-meta.php';
Loading…
awarded
comment
Better Method for Multiple Meta Boxes
Meta Box plugin's demo.php has a good example of bundling arrays for multiple meta boxes, but I'm not where to start with his approach and what I'm trying to achieve.
comment
Better Method for Multiple Meta Boxes
Thanks @helgatheviking for the info... Does the nonce check have to be used for each meta box individually?
comment
Better Method for Multiple Meta Boxes
Hey @s_ha_dum, I get a 500 error trying to wrap the [pre]$home_meta_fields[/pre] and [pre]$home_meta_fields_lower_left[/pre] arrays together.
awarded
revised
Better Method for Multiple Meta Boxes
added 6103 characters in body
Loading…
asked
Loading…
1 2 3
4