Support

Account

Home Forums Front-end Issues The_Field: On Main Blog Page Reply To: The_Field: On Main Blog Page

  • Hi @jenFixingStuff

    I don’t think this is an issue with CSS. In your ‘home page’ screenshot, I can see that there are only 2 columns. This is most likely because your home page is acting as the blog home page, correct?

    If so, the global $post object will not be the ‘page’ called ‘home’, it will be the first $post in the blog loop.

    You will need to find the $post_id of the home page, and then use that in your the_field calls. eg. in your home page template, edit the code to look like this:

    
    the_field('field_name', 123);
    

    where 123 is the ID of home page.

    Thanks
    E