Home Forums General Issues Field group for every page?


Field group for every page?

  • Hi there
    I am new to ACF and have just been asked to make a lot of changes on a WP site using ACF. It currently has approx 20 pages. Most look similar in terms of the content. However, looking at the Field groups there are about 17. Labelled up 1 for each wp page (about, contact, news etc). When I click into the field groups there are similar elements within each. Each field group is then loaded when a page template is chosen…there is also a different page template for each page!

    Am I right in thinking this is overkill? Shouldn’t the ACF field groups be more about the structure of the page…rather than exclusively for that page. If ‘about’ and ‘contact’ have the same hero image. 2 column with title, image and link…then there’s no point duplicating field groups and then also duplicating page temp[lates is there?

    Any advice welcome before I dive in.

  • From your description, yes, it seems to be overkill, for whatever reason the developer chose to do this.

    It sounds like an extremely large job to undo and rework what was done, in fact, it may not be possible at all.

    Field groups should be separated by functionality and not what template they are on, for example a “Hero” field group that is applied to templates where it is used and allows you to make changes in a single field group.

    I’ve been sitting here trying to think of how to guide you, but the issues is too complex. There are a few things that you can do. What I would do would depend on the budget I have to work with.

    More than likely, assuming the client does not want to rebuild the site from scratch, I would work with what is there for existing pages and build in a more logical manor for anything new that needs to be added, if and when it needs to be added. This will mean a lot of duplicate work making sure that you make changes to everywhere where changes need to be made. As I was making changes I would look at what could be combined, for example the use of template parts for common things and other places that I could reduce duplication on a case by case basis.

  • Thanks John that’s very helpful – please keep an eye out for my future posts – am sure there will be a few questions!


  • texting to message.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.