anewson1
Forum Replies Created
-
Forum: Plugins
In reply to: [Post My CF7 Form] Categories not appearing on live siteI have resolved the issue. There is what I believe is a Javascript bug. Below is the generated JS, searching for ‘span.category-post’ that doesn’t exist:
fname = JSON.parse(data.category_post);
$cf7Form.find(‘span.category-post span.wpcf7-checkbox’).html(fname);So I wrapped [checkbox* category-post use_label_element] with <span class=”category-post”> … </span>`
Seems to have solved the issue.
Update: I found the issue is with the new block editor that WordPress has. It breaks the JQuery your current plugin is using. At the moment I can’t find a way around it apart from using a different theme that doesn’t use the block editor functionality.
Some screenshots to help clarify my issue:
Categories created: https://snipboard.io/9WG7zy.jpg
The layout of form with a blank drop-down menu: https://snipboard.io/5KPJBI.jpg
Mapping for existing posts: https://snipboard.io/CLQweK.jpg
Post taxonomy set-up: https://snipboard.io/DanVLr.jpg