WordPress.org

Support

Support » Themes and Templates » Sirup » [Theme: Sirup] pages

[Theme: Sirup] pages

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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

    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!

    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

    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

    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 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Theme: Sirup] pages’ is closed to new replies.
Skip to toolbar