WordPress.org

Ready to get started?Download WordPress

Forums

Sirup
pages (6 posts)

  1. loadix
    Member
    Posted 2 years ago #

    How can I make more pages to appear in the upper bar? (under the header). Which is the php file that I have to modify?
    By the way ... I like the look of this theme a LOT!

    http://wordpress.org/extend/themes/sirup/

  2. peredur
    Member
    Posted 2 years ago #

    A link to your site would help. So we can see what you mean.

    Are you talking about the main navigation menu?

    If so, are you using a custom menu or the default one?

    Cheers

    PAE

  3. loadix
    Member
    Posted 2 years ago #

    Thank you peredur, the link to the site is:
    http://etab.cl/obirah/

    I tried to use the main menu that came with sirup first, but as I said, I couldn't see more than two pages (and there should be 5), and without the sub-pages within it.

    After that I downloaded the Jquery drop down menu plugin, but I haven't had enough time yet to figure out how to modify it.

    Thank you!

  4. peredur
    Member
    Posted 2 years ago #

    Hmm. Can't get to your site. It just gives this error:

    Fatal error: Call to undefined function jquery_drop_down_menu() in /home/va000035/public_html/obirah/wp-content/themes/sirup2/header.php on line 17

    I think you need to deactivate the plugin.

    Cheers

    PAE

  5. peredur
    Member
    Posted 2 years ago #

    Your theme doesn't support menus. Trying to make it do so is not at all trivial. You do have some options, though:

    • Use a custom menu widget in the sidebar
    • Go for different theme that does support menus
    • Hard code a menu into your header.php file

    If you go for the latter, you should do so in a child theme.

    When you've made your child theme, copy the parent theme's (Sirup) header.php file into your child theme's directory and edit it.

    The lines you need to change are:

    <?php if (get_option('sirup_show_pages') == 'pages') { ?><ul id="navi2"><?php wp_list_pages('sort_column=menu_order&depth=1&number=3&title_li='); ?></ul><?php } ?>
    
    <?php if (get_option('sirup_show_pages') == 'categories') { ?><ul id="navi2"><?php wp_list_categories('orderby=count&order=DESC&number=6&child_of=0&title_li='); ?></ul><?php } ?>

    Replace these lines with an unordered list with the id "navi2" (<ul id="navi2">. You can probably get away without putting the classes on the list items.

    You should probably also read this forum thread.

    HTH

    PAE

  6. loadix
    Member
    Posted 2 years ago #

    Thank you so much PAE, I'll try to fix it with your advices. The site is working now: http://www.obirah.com; I changed the look of the JQuery drop down menu menu which I'm using, and it is kind of working. I just need now to get rid of the original menu and put it in the right place.

    Thank you again for your help :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags