https:// ibb.co / d5xSmg8 this would be the image.
the easy way to fix this is by simply apply the_content fileter.
$cookies = get_field('cookies', 'option');
$text = $cookies['fieldname'];
echo apply_filters('the_content', $text);
Late reply, but maybe this will help other people:
Instead of struggling with have_rows, do a foreach
<?php
$group = get_field('groupname');
$repeater = $group['repeatername'];
foreach($repeater as $value){
//inside loop / repeater
echo $value['fieldname']; // the field name you desire
}
?>
But i imagine now it will be much easier for me to develop it using add_post_meta();
Would you please be nice and enlight me with some code? i am not so good with developing stuff, i am just a scriptkid, at least tell me what should i use, if i am not asking too much.
Cheers.
Sorry, i explained wrong, i want them to be different no calculation involved, upvote should echo the number of upvote arrow clicks and downvote should echo the downvote click.
Can you give me a code example ?
to be Honest, i want to use Numeric Acf, so the values could be also displayed into the wp-admin, and i only want positive values and i want to have them to be separated.
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.