Home › Forums › Front-end Issues › wp localize script and jquery › Reply To: wp localize script and jquery
thanks but I create date and another custom field which works in product:
and now I want show this field also in grid: http://wp.swlabs.co/exploore/cruises/
Post type for cruises is only one in ACF: sizexploore_crusie.
I add manualy to product template:
<div class="class_field"> <?php if( get_field('custom_field') ): ?> <h4>Somme text: <?php the_field('custom_filed'); ?></h4> <?php endif; ?> </div>
But can’t add it on grid template, because of printf formated %1$s, %2$s, %3$s which don’t accept php because is html array, so I try to add this field to price with jQuery …
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!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.