Closed sakinshrestha closed 7 years ago
Make sure excerpt_more filter does not affect admin side. Your code lines 381 onwards in inc/functions.php should look like this:
excerpt_more
/** * Replaces "[...]" (appended to automatically generated excerpts) with ... and * a 'Read more' link. * * @return string '... Read more' */ function mesmerize_excerpt_more( $more ) { if ( ! is_admin() ) { return '… <br> <a class="read-more" href="' . esc_url(get_permalink(get_the_ID())) . '">' . esc_html__('Read more', 'mesmerize') . '</a>'; } } add_filter('excerpt_more', 'mesmerize_excerpt_more');
Make sure
excerpt_more
filter does not affect admin side. Your code lines 381 onwards in inc/functions.php should look like this: