Only save terms is ticked
Thanks, glad I asked as there is no warning of this.
What is the best way to do this then? If a post is tagged to a taxonomy, and cannot move the field, if I set up a new taxonomy field in the other field group, could this populate some how so it is ticked in the categories it is associated with?
Having this issue on Chrome and Firefox.
In console get this error when clicking add to gallery…
TypeError: wp.media is undefined
This sounds great, and a good way to do what I want to create.
How would I combine all this, where would the code about submitting to a new row on a field be added via the form?
Yes I was thinking of doing something like that, however each submission/post of the form, needs to create a new row of fields within the post, and not just update the same each time if that makes sense.
Is the best way to add a field for the page ID. auto complete this so that when saved there is something to link it to that page?
This is great, thanks for sharing.
If there is no field, such as not logged in so can’t get first name, at the moment it displays 0 in the input, how can I set this to be empty/blank if no field?
Thanks, what if I wanted to do it with repeater rows? So…
<?php while ( have_rows('image_gallery') ) : the_row(); ?>
<div class="col-md-6">
<div style="background-image: url(<?php the_sub_field('image'); ?>); background-size: cover; height: 240px;">
<a href="#" style="display: block; height: 240px;"> </a>
</div>
</div>
<?php endwhile; ?>
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.