WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Custom single page based on which custom page template is selected (1 post)

  1. cristian5
    Member
    Posted 11 months ago #

    Hey, I have two custom page templates ("template-blog-left.php" with the sidebar of the left side, and "template-blog-right.php" with the sidebar on the right side.) but I don't know if there's any way of creating a custom single post template for each of them, so that If I select the "template-blog-left.php" for my "Blog" page, then the single page should have the sidebar on the left.

    So, in other words, is it possible to have a custom single page being selected automatically every time I make a post, based on the custom page template that is selected for the "Blog" page.

Reply

You must log in to post.

About this Topic