Home › Forums › Front-end Issues › The_Field: On Main Blog Page › Reply To: The_Field: On Main Blog Page
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
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.