Jump to content

Archived

This topic is now archived and is closed to further replies.

bendolmorlom

On the Child Theme, Modify the navigation

Recommended Posts

bendolmorlom    0
bendolmorlom

I was wondering if it's possible to modify the navigation hook from the function.php of the child theme.

<?php do_action('pagelines_header', 'header'); //hook ?>
In fact, I don't want to use the option menus within the appearance section of the admin because I need to apply some conditional statements to display some links into my navigation or not. Does it make sense?

Or does it exist a way of choosing the menu to use directly? 

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

HI,

 

I am not entirely sure what you mean or trying to do ?

 

If you're trying to add conditionals to your navigation, you could look at these plugins, although I haven't tested them and it hasn't been updated recently

 

http://wordpress.org/plugins/if-menu/
https://wordpress.org/plugins/menu-items-visibility-control/


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×