Melissa
|
How would hide the pages I don't want to show up in the menu? I've tried the
wp_list_pages('exclude=17,38' )......
but it doesn't work.
|
|
Garry
|
Following plugin will be helpful to you:
http://wordpress.org/extend/plugins/exclude-pages/
|
|
Melissa
|
Thanks, but I don't want a plug-in. Is there any other option?
|
|
Adam
|
<?php wp_list_pages('exclude=1,2&title_li='); ?>
However, it won't immediately format correctly with an Artisteer-generated theme.
When it comes to plugins, the pagemash plugin works nicely not only for excluding pages but for reordering them.
|
|
Melissa
|
Thanks. I guess I'll have to use a plug-in after all.
|
|
Garry
|
You can do it adding exclude parameter to your wp_list_pages( ) template tag but plugin is much user friendly way
|
|
Melissa
|
Hi, Garry, can you explain that again? I'm not sure if I understand. Thanks.
|
|
Garry
|
You may like to visit:
http://codex.wordpress.org/Template_Tags/wp_list_pages
|
|
Chris
|
The "Exclude Pages" plugin mentioned above works very well.
(It's just a small plugin anyway).
The main advantage of using the plugin is that if you ever updated your theme in Artisteer, you don't really want to have to manually modify the template code each time.
Using this method means it will work no matter which template (or template generator) you are using.
|
|