Saturday, November 28, 2009

Sheet Cake Anniversary

[SOLUTION] Remove links to certain pages in the first level menus WordPress

If like me you use Wordpress with a menu to access your various pages, you may have noticed that each new page is displayed in this menu.

Imagine for one reason or another you want to add a new page without it being displayed in the menu.

For example, you have a contact page with your details but you just want to provide a link to that page in the footer of your site.

To not display the menu you will have to change the template of your site.

In the administration of Wordpress appointment in Appearance-> Editor and find the line:

wp_list_pages ('title_li =');

to prevent certain pages from appearing in the menu you simply change this line as follows, adding the numbers of your pages after exclude:

wp_list_pages ('exclude = & title_li = 90.82');

And now, the pages will not display more menu Wordpress

0 comments:

Post a Comment