0
Nick
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