• The sub-pages under static pages have a strange behaviour in the horizontal menu lay-out.

    There are some way to fix this, editing any lines in php files? I′m using Librio 1.0

    Thanks, Carlos.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cseabra

    (@cseabra)

    Looking at other themes code, I discovered the solution!

    In header.php the line:

    <?php wp_list_pages('title_li='); ?>

    should be:

    <?php wp_list_pages('depth=1&title_li='); ?>

    And now the horizontal menu displays only one level of stactic pages.

    Thanks cseabra, I was looking for a way to use static page as a home page and encountered that problem. Thanks again for the tip.

    Hi,
    I really like this theme.

    It has only one bug as far as I can tell.

    I have a bunch of static pages that read like this:
    Home About Contact FAQ

    As the theme is set up now, these appear fine along top, BUT
    this also appears on ALL pages:

    Home About Contact FAQ
    FAQ1 FAQ2 FAQ3

    Now, to make this theme perfect I would want the FAQ’s to appear ONLY when one clicks on FAQ, and not below the topics on every page.

    While <?php wp_list_pages(‘depth=1&title_li=’); ?> fixes the issue of the submenus appearing, it ensures the submenus appear on “every” page (causing confusion).

    Anyone get this to work in an expected fashion (submenus only appear when the main topic is clicked)?

    Thanks,
    Jim

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Static pages in horizontal menu sub-pages strange behavior with Librio 1.0’ is closed to new replies.