103 reputation
7
bio website
location
age
visits member for 2 years, 5 months
seen Dec 25 at 18:15

Dec
9
answered Remove duplicate main - submenu in admin?
Dec
6
comment Neccessary to call add_submenu_page and add_menu_page from admin_menu hook?
Ahh... Redux framework includes plugin.php
Dec
6
comment Neccessary to call add_submenu_page and add_menu_page from admin_menu hook?
auth_redirect seems to be the earliest you can hook. Arrg, so I have no idea why the other site works.
Dec
6
comment Neccessary to call add_submenu_page and add_menu_page from admin_menu hook?
Oh wierd... I tried it on another site, also child of Harmony theme, Fatal error: Call to undefined function add_menu_page() in C:blah/blah\www\wp-content\themes\Harmony_child\functions.php on line 24
Dec
6
comment Neccessary to call add_submenu_page and add_menu_page from admin_menu hook?
plugin.php seems to load before functions.php. I'm running a child theme of ET's Harmony theme. But just an unadulterated wp setup.
Dec
6
asked Neccessary to call add_submenu_page and add_menu_page from admin_menu hook?
Oct
16
comment Why is my css and js not enqueued until footer?
Good guess, but jquery is loaded in the head. And that wouldnt account for the css.
Oct
16
comment Why is my css and js not enqueued until footer?
@Otto, Ahh... I see! $wp_query->post Seems to be populated before action:'wp'. And I dont need the filters, just the ID and or post_parent. This may solve the question, yes?
Oct
16
comment Why is my css and js not enqueued until footer?
$in_footer is default to false. Therefore, I am wanting it to be in the header, by not specifying. However, I am too late.
Oct
16
comment Why is my css and js not enqueued until footer?
$pageparent is just an ID that I set outside the action. It's nothing to do with the question. either is urlto.
Oct
16
comment Why is my css and js not enqueued until footer?
I'm just tryna not include css/js everywhere when only these few pages need it. So, is_single() will work before $post is setup? That seems counter-intuitive.
Oct
16
comment Why is my css and js not enqueued until footer?
Ok, so this is just the way it has to be, then? Is there a problem with inlcuding js and css in the footer? FOUC?
Oct
16
asked Why is my css and js not enqueued until footer?
Jun
5
accepted How to use if($wp_query->query_vars['name'] == 'pagethatdontexist') without getting a 404? How to suppress 404
Jun
4
comment Plugins in symlinked directories?
Ok, use the filter...but how? what would the function be to correct the url?
May
15
accepted How to get list of paths (not urls) for an image
May
14
comment How to get list of paths (not urls) for an image
I think the backslashes will only be if youre on a Win (local dev) server. i usually do $_SERVER['DOCUMENT_ROOT'] = str_replace('\\','/',$_SERVER['DOCUMENT_ROOT']); in the index.php or config, etc, and never worry about it, after that. Will accept this, if no one comes up with a built in wp func. I couldnt find anything that does it, in wp.
May
14
asked How to get list of paths (not urls) for an image
Mar
21
comment Different database query in function.php using mysqli
If it's working outside wp, there must be an issue with the $dbhost,$dbuser,$dbpasswd,$dbname. Echo those to your page, before you $mysqli = new mysqli($dbhost,$dbuser,$dbpasswd,$dbname);
Feb
13
accepted What form element names break wordpress?