Archived

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

  • 0

Modify the navigation from the child theme

Question

Posted · Report post

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?

Share this post


Link to post
Share on other sites

1 answer to this question

Posted · Report post

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?

Share this post


Link to post
Share on other sites