How to hide pages in WordPress

Open ..root/includes/post-template.php
Go to around line 287, it has a built-in option to exclude page from sidebar. Just add your post ID where it says

exclude’ => ‘YOUR POST ID HERE’,


Posted

in

by

Tags:

Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.