Add a page programatically
-
Hi,
I would like to define a page in my theme – to show a list of links. I would also like to hide it from the Admin > Pages menu. It should still appear in the wp_list_pages() though. Is there a way to do this?pseudo code:
wp_define_page( array( 'title'='Links', 'template'='page-links.tpl.php' 'show_in_wpadmin'=FALSE))
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Add a page programatically’ is closed to new replies.