How to Exclude a Page from the Pages Widget in WordPress

tutuploadstutuploadsmedia_1305786131201.png

One of our students asked us how to remove a link from a left menu. In his case the link was coming from the Pages Widget, so we created this tutorial for him.

This tutorial will walk you through step by step how to exclude a page from the Pages Widget in WordPress

 

Find the Page ID

First step is to find the Page ID. Use the “How to Find the Page ID in WordPress” tutorial.

Exclude by Page ID from Pages Widget

tutuploadstutuploadsmedia_1305786131201.png

Click on Widgets >> and Pages >> then enter the Page ID that you found in the first step.

Once you’re done, save.

{loadposition wordpressnewsletter}

 

Author

  • Nick Savov

    Nick is the Director of Support at OSTraining and you can find him in almost every area of the site, from answering support requests and account questions to creating tutorials and software.

0 0 votes
Article Rating
Subscribe
Notify of
7 Comments
Oldest
Newest
Inline Feedbacks
View all comments
David Birkin
David Birkin
6 years ago

Thank you for this, Saved me a little headache on my new WordPress Site!

Hugo
Hugo
6 years ago

Hi, and how do I exclude all pages but a few chosen?

David
David
5 years ago

Hugo, ive had a look my end on my WordPress site and from what I can see, you would need to include all of the pageIDs separate by commas.

Marlaena Kessick
Marlaena Kessick
5 years ago

[quote=Hugo]Hi, and how do I exclude all pages but a few chosen?[/quote]

mikall
3 years ago

You would simply list all of the IDs in the “Exclude:” box that are to be excluded. [u]Use a comma to separate the IDs.[/u]  

Trups
Trups
3 years ago

Hello, I want to exclude Home Page from Pages widget. And there is no Page id for Homepage. How to remove it?

mikall
3 years ago
Reply to  Trups

Simple go to Pages and click on the Home page as if to edit it.  Look up in the URL.  The Page ID is hidden in the URL. Look for “post= ” and a number to the right.  That number is your Page ID. Hope this helps. 

7
0
Would love your thoughts, please comment.x
()
x