Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Brett Smith4,261 Points
One Page Wordpress Site using ACF
I'm new to Wordpress and I recently completed the One Page Wordpress workshop and I'm now trying to create my own one pager.
How can I create a one page site while using the Advanced Custom Fields plugin? If I'm using ACF I can't use the same template file (like the one-page-site.php file used in the workshop) for every page.
-- "If I'm using ACF I can't use the same template file (like the one-page-site.php file used in the workshop) for every page."
You can tell the ACF fields to only appear on the specific page that you want, those pages may all still use the same single template file, but as far as WordPress is concerned, they're all different pages and will be able to be treated that way by Advanced Custom Fields.
I'm not totally sure what you mean. Do you have any code?
That looks good to me to be honest.
Unless I'm not fully understanding what you're saying.