Custom page template not working
-
I customized the default template for this website (originally WP Framework) and am creating a custom template for the blog page only. I duplicated & renamed the header.php and page.php to header-blog.php and page-blog.php. I created a new style sheet for the blog page and put that into the new header. The custom template named “New Blog Page” does show as a template in the dropdown menu of Edit Pages, but the resulting blog page has the default header and is missing the special css I created for it. I’ve tried everything, have read & researched all afternoon, and can’t figure out what the problem is. I put get_header(‘header-blog’); right under the template name in page-blog.php. I also tried another method someone suggested (if..then) but nothing is working. I also don’t know why the blog page is not centered like the rest of the web site!
https://tejadadesigns.com/eyecycle/blog/
- The topic ‘Custom page template not working’ is closed to new replies.