• SCREENSHOT
    I use NextGen Gallery to show event galleries on my blog.
    My blog address is foto.yellout.net.
    To hide the pages I create to show galleries I have created a private (hidden) page “wp-gallery” to be the parent for the gallery pages.
    So here is a link to a gallery page for an example:
    http://foto.yellout.net/wp-gallery/tre-marat-mario-bischin-6/
    With my current theme the private page “wp-gallery” and the gallery pages under it are hidden from the menu. As it is with many themes. But with some themes, like iNove, the private pages show up on the menu.
    Does anyone know of a solution to this problem?
    I would very much like to use iNove theme…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter vanuch

    (@vanuch)

    Anyone?

    I only just this minute installed inove, was looking for something else and saw your post. Did you solve it? Just a wild guess, as I haven’t really studied this theme yet, but would it be possible to give the links to your private pages a specific class, and then hide those links by using “display: none;” in your CSS for that class?

    Just a thought, but since no one else has answered you…

    Good luck.

    Thread Starter vanuch

    (@vanuch)

    Thank you for your reply. No, I haven’t solved it. I don’t know how to do that exactly what you suggested. I am familiar with CSS, yes, but not with how WordPress themes work. And there should be a better way to do this because many themes hide the pages properly.

    Still looking for an answer. Not only for this theme but there are other cool themes maybe I’d use that have the same problem.

    Thread Starter vanuch

    (@vanuch)

    Got it working. Killed theme options for the menu, though.
    Replaced…

    <?php
    			if($options['menu_type'] == 'categories') {
    				wp_list_categories('title_li=0&orderby=name&show_count=0');
    			} else {
    				wp_list_pages('title_li=0&sort_column=menu_order');
    			}
    		?>

    …with…

    <?php $pages = wp_list_pages('sort_column=menu_order&depth=1&title_li=&echo=0');
    		  print_r($pages);
    		  ?>

    If someone could point out what exactly is the difference between those two then maybe I could change the code without killing too much other functions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Menu does not show correctly’ is closed to new replies.