6 reputation
2
bio website
location
age
visits member for 9 months
seen Nov 23 '13 at 18:47

Oct
11
comment How do I control Wordpress redirects?
Perfect! The other post answers my question. Sorry for not searching this more thoroughly.
Oct
11
awarded  Student
Oct
11
asked How do I control Wordpress redirects?
Oct
8
comment How do I check if a menu exists?
I have several pages on the site and each parent page has a unique nav menu. Some children pages have unique nav menus as well but not all. For those children pages that do not have unique nav menus, then I want them to use their parent's nav menu. So, what I'm checking for is if the unique nav menu exists so I can display it, and if the page doesn't have a unique nav menu, then I want to display it's parent page's nav menu.
Oct
8
comment How do I check if a menu exists?
Even though my client won't be managing the location of menus, he'll still have the ability to add new items to those menus if he so chooses.
Oct
8
comment How do I check if a menu exists?
Thank you for your response. This is the first website I've ever developed using Wordpress, and I wasn't aware of needing to register my nav menus. I read the material you suggested. Still, I was able to solve my problem without registering them. I think it works for my purposes since my client won't need the ability to manage nav menu locations. If you think this will cause me problems down the road, please let me know.
Oct
8
comment How do I check if a menu exists?
I'm not using this either. I'm just using wp_nav_menu() and get_sidebar() in my template files. So for example, the code I listed in my post is from a file named sidebar-nav.php. I use this sidebar in a custom page template using get_sidebar('nav').
Oct
8
revised How do I check if a menu exists?
edited tags
Oct
8
awarded  Editor
Oct
8
comment How do I check if a menu exists?
Oh my, I realize how confusing that was now. I'm working with Wordpress' navigation menus. I just happen to be placing it in a sidebar.
Oct
8
revised How do I check if a menu exists?
changed 'sidebar' to 'menu'
Oct
8
comment How do I check if a menu exists?
Sorry for the confusion. I meant a template-part file.
Oct
8
comment How do I check if a menu exists?
I didn't register this as a dynamic sidebar. Do I need to? I've just been naming my sidebar files sidebar-name.php and then using get_sidebar('name') when needed.
Oct
8
asked How do I check if a menu exists?