Add a read more button

0
Add a read more button 1
info256
May 06, 2019 08:52 AM 1 Answers
Member Since Nov 2018
Subscribed Subscribe Not subscribe
Flag(0)

Hello,

How can I add a read more button to the tiles or make the whole tile clickable?
The tile isn't a link itself and my product descriptions are only a small sentence so the read more doesn't show up unless I have the character length really short.

2 Subscribers
Add a read more button 2
Add a read more button 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Add a read more button 4
PickPlugins
May 06, 2019
Flag(0)
Welcome to our forum. you may haven't checkout layout editor the power of post grid, you can add an element and style your own. https://imgur.com/IyCXoSs https://imgur.com/VTXqZ17 https://imgur.com/YhnehEG Hope you get it. Regards
Add a read more button 5
info256
- May 23, 2019 04:16 PM
Flag (0)
0

Actually disregard my last comment. It's working 🙂

Add a read more button 5
info256
- May 23, 2019 04:07 PM
Flag (0)
0

Hello,

I added this snippet to my functions.php file but the read more button still isn't displaying.
add_filter('wcps_filter_excerpt', 'wcps_filter_excerpt_extra' );
function wcps_filter_excerpt_extra($excerpt){
$post_id = get_the_id();
$post_url = get_permalink($post_id);
return $excerpt.' <a href="'.$post_url.'"><strong>Read More</strong></a>';
}

Add a read more button 7
PickPlugins
- May 15, 2019 02:06 PM
Flag (0)
0

Yes, this is possible, you can add custom html after before excerpt via filter hook, please see this documentation, at bottom i just update code for you.

"Display Read more link by force"

https://pickplugins.com/documentation/woocommerce-products-slider/filter-hooks/filters-wcps_filter_excerpt/

You will need to add this code to your theme functions.php file

Let me know the result.
Regards

3+ more comments. Sign in to Reply
Replying as Submit