Hi there, i am having the following two issues with ACV Custom Content/Layout module:
1. LOCATION RULES
(show this field group if post type is equal to…)
It seems i can only have a max of 20 rules.
Is this a bug or a standard restriction?
2. FLEXIBLE CONTENT
Selecting this type of custom field adds a “Layout” section, listed in the left column. On hovering over the layout title with the mouse, the following options appear:
Reorder | Delete | Add New | Duplicate
However, clicking any of these unfortunately does absolutely nothing. Btw, my flexible layout group has 7 Layout sections… could this be a factor.
If the flexible content buttons are not responding, there is most likely a JS error on your page which is causing the issue.
Please check for any JS errors in your console log.
This would also explain why you can’t add any new location rules.
Here is the HTML code for the one of the layout buttons:
All other layout buttons are coded the same…
Does this help arouse any ideas??
Your comment is not correct, an HTML element does not require JS in the ‘onclick’ attribute to work. jQuery uses JS in a separate file to attach JS events to elements in a cleaner fashion.
As for the issue, please check your console log for any JS errors when you click or on page load.
The topic ‘Flexible Content issues’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.