Well, that depends. When you are getting the fields from the “custom blocks” this creates additional queries for every post object that needs to be retrieved. So there will be a performance hit. The more queries the bigger the performance loss.
I have a site where I did the same thing, I called the blocks “panels” and created a post type for “global panels” the idea what that when content needed to be duplicated, and only when content needed to be duplicated, then the client would use a global panel. But things got out of hand. Rather than create layouts in the page they created them all using the globals and then just picked the ones they want. So it turns out they could copy one global panel and then create a test page to show it, then when they were ready to make it live they could go to the page that it was supposed to be on and swap out the old one for the new one. So now the site has nothing but “global panels”. This has created a query nightmare. A good caching plugin with aggressive caching rules solves most of the performance issues this has created.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users