WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] writing pages (4 posts)

  1. mitchell20031970
    Member
    Posted 5 years ago #

    everytime i write a page it puts the title at the top of the site page and there is no room to put any up there. how do i stop it fom putting the titles at the top of the page and only put them as widgets in the menu section on the right of the site.

  2. vachi
    Member
    Posted 5 years ago #

    do you mean like you want a widget that shows all your pages?
    and a header menu that shows some of your pages

    one way would be to make a static header menu
    than use the current page list widget on the sidebar

  3. Technokinetics
    Member
    Posted 5 years ago #

    You should be able to find the code that generates your top navigation menu in your header.php theme file (look for wp_list_pages()).

    To specify which Pages appear in this menu and which don't, you can either exclude those that you don't want (and all others will show) or include those that you do want (and all others won't show).

    To exclude Pages 1, 2, and 3 you would add "&exclude=1,2,3" to the wp_list_pages parameters, so wp_list_pages('title_li=&sort_column=menu_order') in your header.php file would become wp_list_pages('title_li=&sort_column=menu_order&exclude=1,2,3').

    To include Pages 1, 2, and 3 you would add "&include=1,2,3" to the wp_list_pages parameters, so wp_list_pages('title_li=&sort_column=menu_order') would become wp_list_pages('title_li=&sort_column=menu_order&include=1,2,3').

    - Tim

  4. mitchell20031970
    Member
    Posted 5 years ago #

    thanks tim but i just dont understand what you have said. perhaps it would be better if i say this. i am starting up anon-profit help group and site is there anyone out there who would be willing to help me build this site. i dont have any money but i thought someone out there might want the experience.

Topic Closed

This topic has been closed to new replies.

About this Topic