Cutline Theme Support Forums » Cutline Theme Support Forums

Standalone Page

(2 posts)
  • Started 4 years ago by RussellSipe
  • Latest reply from junedodge
  • This topic is not resolved

Tags:


  1. RussellSipe
    Member

    At the Wordpress Support forum I asked the following question:

    I think this should be a no brainer, but it has me stumped. I use Cutline 3 theme. I want to make a standalone page that does not get linked from Category or Pages displays. Can someone help me?

    MichaelH replied:

    Could create a Page anyway for that standalone thingy, then assuming your list of Pages uses the template tag, wp_list_pages(), just add the exclude= parameter with the Page ID of that new page you don't want seen.

    I have no idea where to find the "wp_list pages" tag so that I might edit it.

    I found this forum specific to Cutline so I am asking here if someone could interprete or explain MichaelH's reply or tell me if this is indeed the best way to post a Page that does not display in your Page sidebar widget.

    Posted 4 years ago #
  2. It's in the sitemap template. Get to that by clicking on Presentation then Theme Editor then click to open sitemap.

    from: http://codex.wordpress.org/Template_Tags/wp_list_pages

    Exclude Pages from List

    Use the exclude parameter hide certain Pages from the list to be generated by wp_list_pages. Excluding a Page will also exclude all of its sub-pages from the list to be generated.

      <?php
      wp_list_pages('exclude=17,38' ); ?>

    Hope this helps.

    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.