Suckerfish(2)

Forums Forums Menus Suckerfish(2)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #63
    Anonymous
    Member

    I’m currently building a website using the menu command for your plugin: php suckerfish(2).

    Unfortunately, the page referencing that, and the other options for the plugin…. well I can’t find it anymore. Either my search is not yielding the results I wanted, or you updated your page.

    Anyway, what I’m trying to do, is to find out how I can continue using this option, only I want to exclude certain pages from the top navigation. (I’m not sure if I have to get a different plugin for that all together.

    Also, the link above for Online CSS generator is not working. It goes to http://dropdowns/

    #2268

    thanks for the heads up on the dead link. I’ve fixed it now.

    The latest version of the plugin does not require to use suckerfish2() as you can control that functionality (and a whole lot more) via the admin panel with it. Hence I’ve removed it from this page. The current plugin only uses suckerfish(), however I’ve included support for the old functions to prevent users themes from breaking on upgrading, but some of the new features won’t be available without moving to suckerfish().

    The latest version of the plugin doesn’t allow you to exclude pages from the admin panel anyway though so you will need to replace the < ?php suckerfish2(); ?> function in your theme anyway if you want to do that. The following code will remove pages with ID’s 5 and 3 from the dropdown (edit/add page ID numbers to suit):

    [code:2fvlw02f]<ul id="suckerfishnav">
    <li><a href="<?php bloginfo(‘url’) ?>/">Home</a></li>
    <?php wp_list_pages(‘title_li=exclude=5,3’) ?>
    </ul>[/code:2fvlw02f]

    The above code will work with both version 1.0.5 (your current version – probably) and 1.6.1 (the latest). If you have any troubles then post back and I’ll see what I can do to help <img decoding=” title=”Smiley” />

    I’d like to include support for excluding specific pages, categories etc. via the admin panel in the future but I’m still trying to figure out the best way to go about doing that. In the mean time, feel free to bug me for custom codes or build the menu up the old fashioned way with HTML as per my advice to Daniel a few comments back.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.