multi.level-navigation plugin with custom field

Forums Forums Menus multi.level-navigation plugin with custom field

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1479
    david-andre
    Member

    Hi Everybody,

    i guess i need your advices as i am trying to use custom field with multi-level-navigation and i cannot manage to get what i would like.

    so i use this code in one of my menu in my theme:
    wp_list_pages(‘meta_key=menu_lateral&meta_value=si&sort_column=menu_order&title_li=&child_of=’.$post->post_parent.’&echo=0′);
    which means that a page appears in the menu only if it gets meta_key_menu=si and meta_value=si.

    I would like to use the plugin in the same way. i ried to put this code in the core.php of the plugin.it still works but doesn t do anyting special. i put this code in the line 60 in core.php in the function pages() but nothing…

    If you had an suggestion, advice i really appreciate as i tried many ways with no results.

    thanks in advance,
    cheers ,david

    #8629

    You would be better of inserting that code into your theme rather than using the plugin. The plugin is intended for those who don’t know how to do this sort of thing. I don’t see much use in inserting code into the plugin which you could just as easily load into the theme itself.

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