How To Exclude A Page From Top Posts Widget (Jetpack)

Posted on

Using top posts widget (Jet Pack plug in) is good for your readers and for SEO, readers can see what is hot post in your blog so they can more engaged with your blog, in SEO perspective this widget will pass link juice to your inner page, so this is excellent plugin/widget to be implemented on your blog. However sometimes when you are using top post widget it will include pages that you don’t want to show such as about page, contact us, privacy policy and more.

Unfortunately until now this widget does not give the facilities for doing this, you have to this manually. You can do this:

1. Edit your Jet Pack plugin

top post1top post2

2. On the right side click jetpack/module/widget.php

top post3

3. Find Jetpack/modules/widgets/top-posts.php and click it to edit

top post4

4. Find if (‘publish’ … and add your post ID you want to exclude on the top posts widget.

top post5

Click update when finish. You can find post ID by hovering your mouse on the post tittle and see the bottom address link as per below picture:

top post6

note:
When you update to the newer version of Jet Pack, this modification will be gone, so take a note of your code modification. Refer to this page for more info.

Facebook Comments