I’m trying to remove the sidebar from the blog page. The blog page is not on the home page. I created a page and gave it a title of Blog. Then in the Blog page editor under Templates I selected Custom Template. Then when I go to the Reading section under settings I selected Blog for the Posts page, but when I go to the blog page it still has the sidebar.
In the display_sidebar function in setup.php I put is_page(‘blog’) and is_page(‘6743’) (which is the page’s id). I tried other things to, but nothing seems to work. Is there any way to identify this page so that it will return true for display_sidebar function? When I use the What the File plugin to see which template is being used, it returns base.php.
I even tried making a new template: blog-template.php and gave it a Template Name of Blog Template and selected that template in the Blog page editor without selecting anything for Posts page in the Settings > Reading page and that didn’t work.
What is the best way to make a blog page that is not on the home page, but has no sidebar
Thanks