[Support request] How to create custom page template for blog

Home Forums Support [Support request] How to create custom page template for blog

Home Forums Support How to create custom page template for blog

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #220754
    Jessica

    How can I change the page template that the blog landing page uses? I’ve created other custom page templates and in the “Page Attributes” I’m able to select the template.

    No reason or need for another plugin because I have the code I need to insert but I’m not sure what I’m doing wrong that is now allowing me to customize the blog landing page (from the default options).

    The blog is calling the content.php page (which I copied into my child theme) and even when I delete everything in it to test it out, nothing changes.

    I want a DIFFERENT blog layout so I created/designed my own everything but it’s not usable. I’ve looked through a million forums and they are either not helpful or incomplete instructions.

    Friends are able to do this with no issue but for some reason I’m stuck with only what the GP layout options are – which I do not want. What are the options to change the template?

    #220830
    Tom
    Lead Developer
    Lead Developer

    Placing the content.php file into your child theme should do the trick.

    You could also try with the index.php file.

    Another option is to create a front-page.php or home.php template: https://developer.wordpress.org/themes/basics/template-hierarchy/#home-page-display

    #220912
    Jessica

    Perfect, thanks!

    #220925
    Tom
    Lead Developer
    Lead Developer
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.