WPIntell

Source evidence

Add Image Link With ACF field

Custom Post Carousels with Owl · support · 2022-10-05T09:54:00+00:00

complaintsentiment
mediumseverity
0.69relevance
0replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 22 rows with source links

27.3% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

16 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
sroskylos unresolved
Hello, I am trying to replace the slider custom type post with an external link with ACF field. I use the following code but not luck. add_action( 'dd-carousel-after-content' , 'my_custom_carousel_header' , 10, 1); function my_custom_carousel_header($id){ if ($id == 254524) { // your carousel ID - numeric global $post; echo '<div class="item-inner"><a href="'.get_field('external_link_sl', $post->ID).'">Go To Link</a></div><br>'; //$terms = get_the_terms($post->ID, 'product_cat'); // use your custom taxonomy $term_list = array(); foreach ($terms as $term){ $term_list[] = $term->name; } echo implode(', ', $term_list); } } How to set the a href to image link with the a href link with the ACF field link? The settings are Display Post Option > Image On Click Options > None – Just show image This topic was modified 3 years, 7 months ago by sroskylos . Reason: better explanation

Comments

0 shown

No comments were stored for this source.