Forums

[Plugin: WP-dTree] What is ID of pages in WP2.6.2 so can exclude them? (3 posts)

  1. AndrewRH
    Member
    Posted 3 years ago #

    There is a setting to allow you to hide particular pages or posts. It says: "You can exclude specific posts or pages from the tree.
    The format for this is 'ID1,ID2,ID3', where the ID is based on the ID you see when you manage your posts/pages."

    Problem is, I cannot find what the ID number is of a particular page!

    Any ideas?

    Thanks,

    ~Andrew~

  2. ulfben
    Member
    Posted 3 years ago #

    Whenever you're editing a post you'll see the ID clearly stated in the URL, like so: '&post=123'. And if you're running with the default permalink structure you can pick the ID straight from the page URL, ending with '?p=123'

    I'm sure the ID is exposed in a dozen different ways when you work in WP, these are just from the top of my head.

  3. AndrewRH
    Member
    Posted 3 years ago #

    Ah! My permalinks is "Month and name" so no ID seen on screen. However you were spot-on with the URL. I just edit the page/post and saw this at the end of the URL:
    wp-admin/page.php?action=edit&post=214

    I put in "214" beside "Exclude posts/pages" in "Design->WP-dTree" and it worked.

    Thank you!

    ~Andrew~

Topic Closed

This topic has been closed to new replies.

About this Topic