WordPress.org

Ready to get started?Download WordPress

Forums

Remove dropdown function in menu (4 posts)

  1. CassTi
    Member
    Posted 4 years ago #

    Hello!
    I have just startet using wordpress and I'm finding it difficult to change certain things in the template. (i use "wedding" from wpthemeland.com) There is a dropdown funtion in the menu to display subpages. I would like the menu to only display the parent page. Hope someone can help! And as you probably already have figured out ; I need a detailed explanation as css.editing is completely new to me.

    and the page: http://www.tiasverden.com

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Does the theme's template file for your top nav bar use wp_list_pages? If so you could use something like <?php wp_list_pages('title_li&depth=1');?>

  3. CassTi
    Member
    Posted 4 years ago #

    Hm... I tried to use your code, but I obviously did something wrong - just got "syntax error" and now I cannot log in to edit the page at all...

  4. CassTi
    Member
    Posted 4 years ago #

    Page is up and running again, don't know what I did wrong. But still... The dropmenu is still there... Would truly appreciate all the help that's out there :)
    Thanx!

Topic Closed

This topic has been closed to new replies.

About this Topic