Jump to content


Photo

Modify the navigation from the child theme


This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 thelbc

thelbc

    Member

  • Members
  • PipPip
  • 13 posts

Posted 25 October 2010 - 07:18 AM

Hi there,

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?

#2 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts

Posted 25 October 2010 - 04:32 PM

conditional for what? Hiding displaying on certain pages? Instead I would use WP3.0 menus and assign classes to each navigation item that will help you hide show each item. If this is not what you are needing let me know?