Welcome to the Treehouse Community
Looking to learn something new?
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.