Forums

[Plugin: WP-Menu] Feature Requests / Support (27 posts)

  1. sc0ttkclark
    Member
    Posted 7 months ago #

    If you have any Feature Requests or any Questions, please add a new topic to this 'forum'.

  2. jrubins
    Member
    Posted 7 months ago #

    Hi there, I'm trying to set up a website using the theme "gears" I have it working the way I want but I can't get secondary links working.
    I would really like to have those functioning.

    I've downloaded WP-Menu and installed it, but... what do I do now?
    There is no configuration for it in the main admin interface. How can I change the settings? How will I know it's working?

    Thanks
    James

  3. sc0ttkclark
    Member
    Posted 7 months ago #

    Hey James,

    Currently, there's no admin interface (but that is planned) and there are plans to make it easier to implement in your theme.

    But for now, wherever you want your menu to appear, enter this code:

    For Single level nav:
    <?php wp_menu('nav_type=single'); ?>

    For Secondary level nav (sub pages of a page):
    <?php wp_menu('nav_type=secondary'); ?>

    For Site Map nav:
    <?php wp_menu('nav_type=sitemap'); ?>

  4. jrubins
    Member
    Posted 7 months ago #

    By "wherever you want your menu to appear" do you mean the header.php ?
    Or does this go in the CSS file.

    I'm just trying to figure out the implementation.

    Thanks for your help
    James

  5. jrubins
    Member
    Posted 7 months ago #

    Ok. I think I see where it goes. In the case of gear it goes in the head.php file, which is were the menu is printed.
    Now the question is: how can i get this to look the way I want it to look?

    How do I tell it where to look in the CSS for style info?

    Thanks
    James

  6. sc0ttkclark
    Member
    Posted 7 months ago #

    Find out how your previous menu was styled (IDs or Classes) and follow the options to customize how WP-Menu will output:

    http://wordpress.org/extend/plugins/wp-menu/

    I'm more than happy to help you find this out if you send me your CSS file and your head.php file (as it was before you added wp_menu to it)

  7. jrubins
    Member
    Posted 7 months ago #

    Ah! So I should tell it to use "Nav Id" and give that a value (like Nav)?

    Just to be sure I'd like to send you you my css and head.php
    I'll need your email address, though.
    If you'd like you can email me at rubinstein(dot)james(at)gmail(dot)com

    thanks

  8. 247creative
    Member
    Posted 5 months ago #

    Hi,

    Thanks for the great plug-in!

    I do have a quick question though; is it possible in "sitemap" mode to list Blog posts as well as pages? (assuming the WP installation's home page is actually a Page as set in the "Reading" options!)

    Once again, thanks for your work on this plug-in and TIA for your help with this!

  9. sc0ttkclark
    Member
    Posted 5 months ago #

    It *should* be possible, I will have to look into that, but thank you for the great feature request!

  10. Adrian Verstuyft
    Member
    Posted 4 months ago #

    Hi Scott,
    your plug-in is in use (blog is in preparation) and works like a charm.
    But I can´t find a way to give a special class to special menu items.
    I want to highlight parent links with a certain background-picture to make obvious, that they have children, when they are collapsed.
    Any idea? Meanwhile I try to use Custom Fields, uaahh...
    Thanks in advance!

  11. sc0ttkclark
    Member
    Posted 4 months ago #

    Adrian, try using some css code to target just the first level of the menu, then target the second level like this:

    #wp_menu_id li {yourcode here}
    #wp_menu_id li ul li {yourcode here}
  12. Adrian Verstuyft
    Member
    Posted 4 months ago #

    Thanks for your quick answer. But I think I didn´t present the problem correctly:
    What you were showing me was the way to generally highlight the list-items via CSS. The "current"-class works perfect nad if the page has children they will show and the others are still collapsed.

    But only A FEW of the items are parents and should show a different background-image (arrow, plus-sign,...) on the home page, when all are collapsed. Sorry for my poor English. And thanks for your friendly support.
    I could not show the site yet, because the client is anxious...

  13. eggnog
    Member
    Posted 4 months ago #

    This plugin is amazing. Exactly what I've been looking for. Where can I donate some cash for your efforts?

  14. lupark
    Member
    Posted 4 months ago #

    i can't see a way to add a separator inbetween menu items apart from using css although that would require a the last or first of the menu items to have a different rule. for example:

    desired output
    item1 : item2 : item3 : item4

    each colon would have to belong to an item and one of them at the end would have to have its colon removed (ouch)

    i've worked out a hack which would make it work by adding two menus beside each other, one containing all the items apart from one which would be in the other menu. they have separate classes for the appropriate styling.

    thanks for making the plugin!! has been very useful!

  15. sc0ttkclark
    Member
    Posted 4 months ago #

    @Adrian Verstuyft - I see what you mean, I'll add an option that gives each LI a unique ID in the next version.

    @eggnog - Donations are accepted via PayPal at sc0ttkclark (at) gmail . com

    @lupark - Perhaps what I'm doing for Adrian (see above), you could use this to also identify the beginning and ending menu items via CSS to set them apart from the rest of the items?

  16. eggnog
    Member
    Posted 4 months ago #

    Hi Scott,

    I'm trying to implement some of the options made available in the plugin, namely adding a link to my homepage.

    I've tried variations on the show_home and home_path with no success. What's throwing me are the arguments. For instance, if I was to us show_home it would be like:

    `show_home=1&home_path=???'

    First off, is 1 like a boolean value of true or false? Then with the home_path, is that to be the name of my page used for the homepage, or should it be the complete url to my homepage? Is home_link required?

    Apologies for the green questions. I think your plugin is great. Perhaps including a couple of examples in your readme will better explain these implementation issues.

  17. sc0ttkclark
    Member
    Posted 4 months ago #

    @eggnog - show_home / home_path / home_link are only used if you have a page in your navigation specifically for Home. To add a new Home link, look at the custom link options recently added to WP-Menu.

    They will let you add a new custom menu item to the front of the menu, using start_title=Home&start_link=/

  18. Adrian Verstuyft
    Member
    Posted 4 months ago #

    @sc0ttkclark
    Great news! Unique IDs for each LI! Can you please tell us, when you will be able to implement the new feature? The client makes the whole dev dependant on this...

  19. sc0ttkclark
    Member
    Posted 4 months ago #

    I checked the plugin code, it looks like I've already got this in there using classes:

    unique_class=1

    and

    unique_prefix=submenu

    to output each item like this:

    <li class="submenu-PAGEID">

  20. Adrian Verstuyft
    Member
    Posted 4 months ago #

    Yes! Got it working. Thanks a lot.

    One suggestion: wouldn´t it be easier to provide a special class to chosen IDs in the argument string, like that:

    wp_menu ('unique_class=name_of_class&unique_ids=1,5,7,8,12');

    so we can use only one line of CSS:
    ul#leftnav li.name_of_class {background:url(images/menu_item_is_parent.gif) 0 5px no-repeat;}

    with following output (to still have the possibility to adress special IDs):
    <li class="name_of_class page_1">

    Instead of inflating the CSS like that:

    ul#leftnav li.page_1,
    ul#leftnav li.page_5,
    ul#leftnav li.page_7,
    ul#leftnav li.page_8,
    ul#leftnav li.page_12
    {background:url(images/menu_item_is_parent.gif) 0 5px no-repeat;}
  21. sc0ttkclark
    Member
    Posted 4 months ago #

    I like what you've thought up here, very good idea! I'll look into adding this soon :-)

  22. jayred
    Member
    Posted 4 months ago #

    Can you explain how to use the c2p options? I've got a category called 'Frequently Asked Questions' that I'd like to have show up as a nav item.

  23. philipz
    Member
    Posted 3 months ago #

    I was trying to create a menu based on your plugin but using background images assigned with unique_class through css (instead of text).

    I modified your plugin and added link_wrap parameter which allows me to wrap links into tags like this: <a href=""><SPAN>navigation link</SPAN></a> and then set #nav li a span to display:none.

    Some better way might be to actually display the images somehow (might be more SEO friendly ?) but this is just an idea.

    Anyway this is really great plugin!

  24. sc0ttkclark
    Member
    Posted 3 months ago #

    @philipz - I really like this idea, I'll add a optional wrapper for each item inside the link (span) to help with styling.

    @jayred - We're getting ready to launch our new http://www.vizioninteractive.com/ site which will have much more in-depth documentation of this and our other plugins. ETA is about a week or less.

  25. youngmicroserf
    Member
    Posted 2 months ago #

    sc0ttkclark,

    thanks so much for this killer plugin. I think this should be in the WP core. One thing I'd love in addition to what you have built already would be depth level classes, for example, for the "active" class. I've worked around this, but especially in the single_secondary setup it would be great to have a level added to the active class.

    Thanks again. CORE. Go core with this.

  26. youngmicroserf
    Member
    Posted 2 months ago #

    And support for hidden pages would be great. I know I can exclude them manually, but using the hidden status would be fantastic!

  27. kchayka
    Member
    Posted 1 month ago #

    sc0ttkclark,

    I want to add my voice to the cheers for this plugin. It's the only one I've found so far that seems really robust enough for a good size CMS.

    One snag I've found is distinguishing an active item from its ancestors. IOW, the active_class is assigned to an item, but also to its parent item. I want to style them differently but haven't figured out how since they both get the same class selector.

    Is there an easy way to assign a different class to the parent of an active item?

    thanks

Reply

You must log in to post.

About this Topic