ACF Flexible Content Field solves all these issues.
What about navbar management on the homepage itself?
Just add a title to the field(s), generate some IDs and link them up in the navbar.
Yup I’ve done that. Every flexible content field can be given a title, and you can generate an ID with that title, and have it hyperlinked automatically.
I’m currently working on a (Roots) project using ACF’s flexible content fields, and I was also trying to figure out what would be the best way to automate the navigation. Could you explain a little more on how to achive this? Maybe a code sample?
Thanks in advance!
Just curious, but how are you one-pagers handling all the extra page/post URLs that are generated, since these can weaken the SEO or lead to random pages being indexed by search engines? Are you just 301’ing everything to the index page in the htaccess file or is there a better trick for handling this with WordPress?
@TiborP and @NateWr, hot off the press: http://cfxdesign.com/one-page-wordpress-theme-workflows/
Awesome! Thanks for sharing!
Awesome, thanks cfx, I look forward to reading it
Thanks @cfx. All of those approaches look like they’d work with a client, where I can hold their hand through the setup process. I’ve actually used the Pages as Sections approach.
But I’d be hesitant to release a product on any of these models, as they seem like a kind of convoluted user workflow. I wonder how all those TF themes do it?
@NateWr that’s a good question. I’ve never purchased a one page TF theme. I suspect they may use a combination of page builders and an options framework…
Maybe someone who has purchased one can answer?
I recently got to see the Corsa theme, which used sections as a CPT. It wasn’t quite obvious how to sort those, but it turned out it ordering was depending on the order of a menu in the Menu settings. I did not find it very intuitive, nor user friendly, even for more experienced WP content managers. As a matter of fact: I was asked to have look at it because a less experienced user of it could not make her website look like the demo
Having said that; once you know how to do it, it does work well.
Interesting, thanks for sharing! It’s always tough at first when managing content for a certain page isn’t quite semantic, i.e. when you have to manage content on the home page anywhere but the home page edit screen.
@cfx For now I think I’ll go with suggestion no. 3 in your blogpost BTW
I’ve had very positive client feedback introducing ACF’s flexible content fields so far.
Cool, glad you found it useful!
Coming out of left field here but…is using something other than WordPress an option?
For a one page site, I’ve heard this is recommended: https://github.com/craig552uk/SingleCMS
It’s free and open source, although it looks like it hasn’t been updated in two years. The owner is looking for a new owner according to the readme.