Woocommerce Products Slider remove except but leave read more

Support reply may delay for 3 weeks due to corona virus outbreak, please send us email to support@pickplugins.com
0
Nick
Jan 11, 2017 01:08 AM 1 Answers General
Member Since Jan 2017
Subscribed Subscribe Not subscribe
Flag(0)

Hi,

I want to show the read more under the name of the product but not the excerpt.

I found that I can change wcps-excerpt in the following way to achieve this:

//$excerpt_text = wp_trim_words( get_the_excerpt(get_the_ID()) , $wcps_items_excerpt_count, ' <a class="read-more" href="'.get_permalink(get_the_ID()).'"> '.$wcps_items_excerpt_read_more.'</a>' );
$excerpt_text = ' <a class="read-more" href="'.get_permalink(get_the_ID()).'"> '.$wcps_items_excerpt_read_more.'</a>';

However I tried to do an override in my child theme and it is not picked up.

Can you tell me how to do the override for this file or how to set the except to 0 (in the backend it wont save 0 and reverts to 20)

Thanks
Nick

2 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
PickPlugins
Jan 11, 2017
Flag(0)

Welcome to our forum.

you don’t need to edit core plugin files,

Please see the option

Query Product > Items sort. > Click Excerpt to expand, you will see the option “Excerpt word count”

you need to set 0 (zero) if you don’t want to display excerpt text,

View post on imgur.com

let me know for more help.

Regards

Sign in to Reply
Replying as Submit

Please use https://imgur.com/upload to upload your screenshot and share url here.
You can't upload any files or attachment to our server directly for security reason, you can use 3rd party website and share file url here. here is the top file sharing website you can use.

Please login to see your tickets