• I have just moved a WP front end onto my long-running lit mag at http://www.mississippireview.com. In the “Pages” panel, it is showing both the Main page for the issue (we publish quarterly, so the Main Page is Jan (April,July, Oct)). I’d prefer the sub-pages, which are the actual content, not show up until the reader clicks on the January 09 Issue in the Pages or in the top navigation. Any way to suppress the display of the sub-pages. Any eazy way, I mean?

    Thanks,

    fbx

Viewing 3 replies - 1 through 3 (of 3 total)
  • The depth=1 argument with the template tag, wp_list_pages(), could control that. Don’t forget to review some of the examples in the wp_list_pages() article.

    Thread Starter fbx

    (@fbx)

    Actually, turns out easier than that. The Widgets include the Pages Widget, which has in it and edit function to suppress any page by entering its Page ID. When listed in the PAGES widget on each page, only the Issue is displayed. When clicked, the brings you to a page with the actually sub-pages (stories, poems, art, essays, etc).

    Now I only have to get rid of the “this page contains the following sub pages) on the main issue page and I’m good to go.

    Well, close to it, anyway.

    http://www.mississippireview.com

    Cheers and thanks

    MichaelH

    (@michaelh)

    With the help of the Template Hierarchy article, determine what Template is displaying your Pages, then you will likely find some reference to the text “this page contains the following sub pages” and either “wp_list_pages” or “get_pages” functions that you would delete.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is there an easy way to suppress subpages display?’ is closed to new replies.