• I need to add some custom <div> to the blog page, just before #content starts. Page is marked as a “Post Page” in wordpress dashboard. Which php file I need to edit to do this? Is there a way of telling which template is being used for each page, maybe via Chrome Dev Tools?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey,

    Please can you advise a link to your site?
    What WP theme are using?

    (I’ll then download a copy of the theme, and check out myself!)

    Please see below for details on template naming :

    https://developer.wordpress.org/themes/basics/template-hierarchy/

    However, although most theme authors follow common practice, some may use different template names.

    If the codex page doesn’t allow you to work it out, I’ll be able to have a look at theme and check!

    Please let me know, if you’d like me to help further! 🙂

    Thread Starter varinator

    (@varinator)

    Hey bobbyduff,

    address to the site is new.karolinakuklinska.pl

    I’m using Pinnacle. If you could also explain me know how I can check this in code myself, I’ll be very grateful.

    Hey,
    if it’s set as your post page in the settings reading then it’s using the home.php file.

    Kadence Themes

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Which php file is a Post Page template?’ is closed to new replies.