18 reputation
4
bio website
location
age
visits member for 1 year, 4 months
seen Aug 5 '13 at 6:22

Jul
10
awarded  Tumbleweed
Jul
3
comment Why Isn't My WP_Nav_Menu returning false?
Thanks, I managed to get it working by doing that, plus setting 'container' => falseand then checking for if( $submenu != '' )
Jul
3
asked Why Isn't My WP_Nav_Menu returning false?
Jul
1
comment How to check if current page is a parent item or child item in a given menu
I've made an edit with some code. If you've got time to check if you can see why $submenu is always returning true that would be awesome :)
Jul
1
awarded  Editor
Jul
1
revised How to check if current page is a parent item or child item in a given menu
added 2896 characters in body
Jun
29
comment How to check if current page is a parent item or child item in a given menu
Good point. I'll give that a try and post code if I'm still stuck. Thanks.
Jun
29
comment How to check if current page is a parent item or child item in a given menu
I can see this would work if everything is set up properly (E.g. pages actually have the correct parent set etc), however I wonder if there's a way to do it by querying the menu rather than via the pages? The submenu I've made queries the menu, not the page heirarchy, so it would be ideal to do the check on the menu as well. There's always the possibility of the menus not matching up to the page hierarchy.
Jun
28
asked How to check if current page is a parent item or child item in a given menu
Jun
26
awarded  Scholar
Jun
26
awarded  Supporter
Jun
26
accepted Undefined Variable in my widget
Jun
26
asked Undefined Variable in my widget
Jun
9
answered WP Cron emails not working
Jun
9
answered Enabling canonical links to force search engines to go to site.com rather than site.net
Jun
9
answered open image after clicking on single.php with different stylesheet in wordpress
May
22
comment Not sure how to debug: Send specific users an email when posts are published
Thanks, I'll give it a try :) It looks way cleaner than mine.
May
22
asked Not sure how to debug: Send specific users an email when posts are published