Another “triggering” question
-
I’ve looked through the forum, and your “manual activation” page… but I don’t know enough php to get this to work. I’m using ACF (grabbing the image URL) and a genesis function to add this below normal content. Trying to make the word “Bio” link to an image popup. What am I missing?? Would trying to link text to a lightbox even work? Thanks.
(this page isn’t live yet.)`<ul class=”staff-links”>
<?php
if( have_rows(‘instructor’) ):
while ( have_rows(‘instructor’) ) : the_row();
$image = get_sub_field(‘biography_photo’);
if ( function_exists(‘slb_activate’) ) {
$image = slb_activate($image);
}
?>-
<span class=”bio-name”><?php the_sub_field(‘name’); ?></span>
<span class=”bio-links”>
“>Bio |
” target=”_blank” rel=”noopener noreferrer”>Bean app
</span>
<?php endwhile;
else :
// no rows found
endif;
?> -
<span class=”bio-name”><?php the_sub_field(‘name’); ?></span>
- The topic ‘Another “triggering” question’ is closed to new replies.