thank you, beachpebble, your solution is really useful!
Hi folbert,
your script helped me a lot, thank you very much!
Hi Felicia,
you might want to check out this add-on:
https://wordpress.org/plugins/advanced-custom-field-repeater-collapser/
regards,
andi
hi all,
i think i may have found a temporary fix for the images and fields not saving problem:
i turned on “local JSON” (see here: http://www.advancedcustomfields.com/resources/whats-new-version-5/#local-json ); now all images and fields get saved in the backend and displayed in the frontend as well.
try enabling the Local JSON on your projects – maybe it helps until the bugs get fixed.
regards,
andi
Hello all,
i couldn`t upload small images (under 150*150px) as well with the new version until a few days ago. then i re-downloaded the latest version from my account, and it seems that it is fixed – now i can upload any image without any problems.
try to do the same. Maybe Elliot fixed the bug but forgot to update the version number of the plugin.
regards,
andi
Hello Elliot,
thank you very much! i`m not an accomplished coder, so i really appreciate it!
best regards,
andi
Hi Floris,
i had the same problem 2 days ago with a german language website and i`ve found a simple solution.
please see here: http://oenj.justbemotion.com/stockschiessen/ergebnisse-stockschiessen/ (first column, Mrz stands for März)
here is the solution i have used:
<?php
$dateStart = date_i18n("d M Y", strtotime(get_sub_field('stcksch_termine_datum1')));
?>
<?php if(get_sub_field('stcksch_termine_datum1')): ?>
<?php echo $dateStart; ?>
<?php endif; ?>
hope it helps.
regards,
andi
EDIT: i have used it as a subfield in a repeater field, so please use get_field instead of get_sub_field.
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.