Tagged: x
-
AuthorPosts
-
August 14, 2016 at 5:32 am #1130676
rasadaParticipantHi I have looked at lots of forum posts
The last 1 I tried was this https://community.theme.co/forums/topic/change-text-of-read-more-tag/
Where I am using Icon and want the read more to appear on the page listing all blogs
So i added this and nothing happens
Please let me know what i could have missing
Thanks// Adding “Read More” link to the Excerpts
// =============================================================================function excerpt_read_more_link($output) {
global $post;
return $output . ‘ID) . ‘”> Read More‘;
}add_filter(‘the_excerpt’, ‘excerpt_read_more_link’);
August 14, 2016 at 5:59 am #1130702
ThaiModeratorHi There,
Please try with this code instead:
function x_excerpt_string( $more ) { $stack = x_get_stack(); if ( $stack == 'integrity' ) { return ' ... <div><a href="' . get_permalink() . '" class="more-link">' . __( 'Read More', '__x__' ) . '</a></div>'; } else if ( $stack == 'renew' ) { return ' ... <a href="' . get_permalink() . '" class="more-link">' . __( 'Read More', '__x__' ) . '</a>'; } else if ( $stack == 'icon' ) { return ' ... <a href="' . get_permalink() . '" class="more-link">' . __( 'Read More', '__x__' ) . '</a>'; } else if ( $stack == 'ethos' ) { return ' ...'; } } add_filter( 'excerpt_more', 'x_excerpt_string' );Hope it helps π
August 14, 2016 at 10:28 am #1130834
rasadaParticipantThis reply has been marked as private.August 14, 2016 at 10:46 am #1130842
ThaiModeratorHi There,
In this case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
β Link login to your site
β WordPress Admin username / Password
β FTP AccountDonβt forget to select Set as a private reply. This ensures your information is only visible to our staff.
Thanks.
August 15, 2016 at 3:47 am #1131575
rasadaParticipantThis reply has been marked as private.August 15, 2016 at 4:16 am #1131603
ChristopherModeratorHi there,
Please activate child theme to see the result.
Thanks.
August 15, 2016 at 4:26 am #1131619
rasadaParticipantThank you so much – sorted
August 15, 2016 at 4:50 am #1131636
ChristopherModeratorGlad we could help you with this.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1130676 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
