Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   How to exclude pages from menu when they have names (http://forum.bytesforall.com/showthread.php?t=3622)

sparksmex Sep 27, 2009 02:39 PM

How to exclude pages from menu when they have names
 
All my pages have names ... not numbers. You can only exclude by number

juggledad Sep 27, 2009 05:05 PM

go to the dashboard 'edit page' and edit a page. Now look at the address - it will look something like this
HTML Code:

http://mydomain.com/wordpress/wp-admin/page.php?action=edit&post=14
In this case, '14' is the page id. Use that.

sparksmex Sep 27, 2009 05:31 PM

Thats right until you use custom permalinks (more search engine friendly)

/%category%/%postname%/

This is what you get

http://sparks-mexico.com/wordpress/costalegre/

juggledad Sep 27, 2009 05:43 PM

Evey when you use custom permalinks you still need to specify the page ID.
A page is a special type of post and it is stored in teh wp_posts table in the wordpress database. Each row in the Table had an ID - this is the id you must use.

Did you go do what I suggested in order to find the page id?

i.e. go to the wordpress dashboard
go to POSTS
select EDIT
edit a post
look at the HTTP address, it will have ...wp-admin/page.php?action=edit&post=2 - the '2' is the page id

p.s. in Safari, your menu shows then I have to scroll the page a window worth to the right to see the rest of the page

sparksmex Sep 27, 2009 06:02 PM

Thanks ... will have to insert that menu in a better place . Does the same in Firefox

Look at the menu later

sparksmex Sep 27, 2009 06:42 PM

You mean in the browser window ... not the config page

Pretty tricky

wp-admin/page.php?action=edit&post=66

juggledad Sep 28, 2009 03:57 AM

Yes, sorry :o - you look at the address in the browser's address area, NOT the permalink address.


All times are GMT -6. The time now is 04:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.