BP:services icons do not link to Read More webpage
-
The Diamond Icons should be hot-links to the same location as the Read More links. I fixed it in the widgits.php file, at line 846 under <div class=”services-item”>
<?php // Fix to allow icon to jump to page as well if ( ! empty( $read_more_text ) ) { echo '<a href="' . esc_url( get_permalink() ) . '">'; } ?> /* existing code */ <div class="service-icon"> <i class="fa <?php echo esc_attr( $services_ids[ $post->ID ]['icon'] ); ?>"></i> </div> <?php // Fix to allow icon to jump to page as well if ( ! empty( $read_more_text ) ) { echo '</a>'; } ?>
In addition, you need to add the custom CSS to remove the double greater than:
.services-item a::after{ content: ""; }
And change the “Read More” in Widgets, BP Services to “Read More ?”
It would be nice if this was added to the template so new updates don’t overwrite my changes.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘BP:services icons do not link to Read More webpage’ is closed to new replies.