Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3462

    Our site is setup to use page names and not ID’s for the permalinks, so http://www.site.com/about instead of http://www.site.com/?p=123

    Trying to exclude some of these pages from the pages widget but it only seems to accept ID’s. I have tried putting in the page names but that didn’t work. ID’s would be easier to input I guess but we like using the postname for the permalink.

    Can this be done? Do I need to look at the SQL data and find some ID’s in there.

    #42343

    Hey,

    In WP Admin on the page editing screen, when you hover over the link of a page you want to edit the URL should be similar to this:

    http://mysite.com/wp-admin/post.php?post=123&action=edit

    In this case, the page ID is 123 – this is the info you need to add to the widget.

    James

    #42344

    Cheers James, that was surprisingly easy!

    #42345

    Glad that James could help you :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How to exclude pages from widget when not using page ID's?’ is closed to new replies.