I’m creating a series of pages with iFrames embedded in them, but it seems the only way to do this within WordPress (i.e. using the templating system) is to create pages in the admin end and then create individual templates for each of those pages.
Is it possible to hide those pages from the admin without a plugin? I see no need for the client to see those pages when they can’t edit anything in them.
Thanks,
osu
you can use
parse_query
filter hook to exclude your pages using post__not_in attributethis will exclude pages with the ids of 21,22,23
and to make sure this pages will not be included on the front end using wp_list_pages
you can use wp_list_pages_excludes filter hook: