• Resolved nickymoo1

    (@nickymoo1)


    Hi Guys,

    I’m having a bit of an issue with my WordPress site tailoreddigitalsolutions.co.uk – Twenty Twelve child theme WP version 3.9.

    I’ve created a static front page and I’m looking for my posts page to be my blog and have defined this in my reading settings but for some reason my ‘blog’ is pulling my homepage content and then throwing in the blog content below without any formating. The blog page can be seen here https://tailoreddigitalsolutions.co.uk/digital-marketing-blog/

    I’ve been scratch my head over this for hours, wondering if it’s something to do with the functions.php file? My homepage is a custom page I’ve created and even when I set this page to use the default template file the blog still manages to locate and display the home.php file?

    My site isn’t quite ready for public consumption just yet but I’m completely stuck on this and so I’m going to have to throw it out there!

    Thanks in advance for any help.

    Nicky

Viewing 12 replies - 1 through 12 (of 12 total)
  • There seems to be a mis-edit in that particular template. Elements that should be in the header are appearing after the <body> tag.

    Can you post the front page template somewhere like pastebin.com and then post the link in here so that we can have a look-see?

    Thread Starter nickymoo1

    (@nickymoo1)

    Thanks very much for your quick response WPRanger – here is my pastebin:

    https://pastebin.com/rB80zr24

    Nicky

    It’s this that’s spitting out that content, right down near the bottom:

    <?php the_content(); ?>

    Thread Starter nickymoo1

    (@nickymoo1)

    Thanks WP, how come the posts page is pulling in the home page content though even though I’ve defined that page is to use the default template and posts are to be published on that page within the reading settings?

    Nicky

    Not sure. Do you have any content in that particular defined page. I see you fixed things now anyway ??

    Thread Starter nickymoo1

    (@nickymoo1)

    I fixed the split content issue, thanks for your help with that but now the blog has reverted back to showing the homepage content only.

    I don’t have any content defined within the page itself however it is the page that I have set to have my posts published to?

    Nicky

    NAFW
    Hi
    Total computer illiterate here so make explanation basic please!!
    I can’t get home page to work. I put in the information and the color changes I wanted but it won’t work. Is this Because I have it set too invisable (If I can figure this out it will be a magazine not a blog so it needs to publish all at once) or am I making a different error. NAFW are those the right initials? (adult)
    ThornsRoses.com

    @sherikeat: If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else’s topic.

    Thread Starter nickymoo1

    (@nickymoo1)

    Yes, a rather bizarre response….

    Can anyone shed any further light on this?

    Nicky

    My homepage is a custom page I’ve created and even when I set this page to use the default template file the blog still manages to locate and display the home.php file?

    what is the file name for your home custom page template?
    generally, the ‘blog page’ or ‘posts page’ does use the home.php or index.php – some file names are reserved as they are used in the template hierarchy: https://codex.www.ads-software.com/Template_Hierarchy

    possibly rename home.php to front-page.php (?)

    Thread Starter nickymoo1

    (@nickymoo1)

    That worked!! Thank you very much alchymyth!

    Nicky

    the Codex is your friend ??

    if this is all fixed, please mark the topic as ‘resolved’ – there is a tick-box below the editor or a dropdown near the top right ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Posts Page Problem’ is closed to new replies.