How do we use that? I installed it but cant figure out how to add that in the page 🙁
Thanks, i already figured out 🙂
I added multiple custom markers (changeable from admin side) aswell a custom style to the map.
Where do we add that code for the marker? 🙂
ok…you missed some php tags in there but i added them. Though…the result is the same as in the code i used before this 🙁
i cant make it work 🙁
here is what I’m using:
<?php if(get_field('job_field_area') ):
$field_name = "job_field_area";
$field = get_field_object($field_name);
echo '<li class="list-item">';
echo '<div class="list-content">';
echo '<h3>'. $field['label'] . '</h3>';
echo '<div class="field-text">';
echo implode(', ', $field['value']);
foreach ($field['value'] as $value);
echo '</div>';
echo '</div>';
echo '</li>';
endif;
?>
and I’m getting just the label… eg.Job “Field Area” but no values for it.
Was it that easy?? 🙂 damn…
One other issue i hit, i made a checkbox list containing taxonomy.
I cant show the values. The result i get is a text “Array” instead of the actual value/label selected.
I tried all possible codes i could find in this forum, but no solution.
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.