Convert ACF checkbox choices to links [closed]

Here is my final solution for anyone else facing the same problem: <?php $values = get_field(‘services’); if($values) { echo ‘<ul>’; foreach($values as $value) { echo ‘<li>’ . ‘<a href=”glossary/#’ . strtolower(str_replace(‘ ‘, ‘_’, $value)) . ‘”‘ . ‘>’ . $value . ‘</a>’ . ‘</li>’; } echo ‘</ul>’; } ?>

How do I change the footer (Norma) [closed]

Usually theme provides an option under Appearance/Customize (or around it) to adjust L&F. Because this is a commercial theme I can´t install or test it. You should better ask to their support people.

How to add class to the last image of the last post in a loop

Why don’t you use CSS pseudo attributes for that. You can simply use :first-child and :last-child to target first and last element for CSS styling. Here is how you do that with CSS pseudo attributes. div.post:last-child div.testing_imran img { your styles for last image } Also FYI, your code will work too, if you want … Read more

display custom post type from register taxonomy

First off, I’d like to note a few things wrong with your Post Type and Taxonomy set up. There’s a few settings in your $labels that don’t make sense: $labels = array( … ‘post_type’ => ‘attachment’, ‘post_parent’ => $post->ID, ‘post_status’ => ‘inherit’, ‘post_mime_type’ => ‘image’, ); These last 4 options don’t make much sense ( … Read more