Removing ellipsis only from custom theme
-
Hi. I am trying to remove the annoying “…” from my custom excerpts without removing my theme’s custom “view post” button. I’m trying to have just my subheading & javascript code as my excerpt rather than text from my post, which is the reason I need these ellipsis removed. I’ve already tried an advanced excerpt plugin, which corrects the error but removes my custom ‘view post’ button. Cannot seem to get it to work even when changing excerpt count to 0. My current code is:
/* Replaces “[…]” with an ellipsis —————————————-*/
function pipdig_auto_excerpt_more( $output ) {
$output = ”;
$output .= ‘… ‘ . pipdig_continue_reading_link();
return $output;
}
add_filter( ‘excerpt_more’, ‘pipdig_auto_excerpt_more’ );Can view this issue @ https://myparisiennesoul.com/
- The topic ‘Removing ellipsis only from custom theme’ is closed to new replies.