

8:02 pm
March 4, 2013

Hello there. Is there a way to make the email excerpt’s automatic read more “[…]” link to the full post on the website instead of just showing up as “[…]”??? Similar to how you can change Wordpress’s default “[…]” to say “read more” and link to a post by editing functions.php with this:
function new_excerpt_more( $more ) {
return ‘ Read More‘;
}
add_filter( ‘excerpt_more’, ‘new_excerpt_more’ );
(code is from: http://codex.wordpress.org/Function_Reference/the_excerpt).
8:46 am

December 13, 2012

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **
7:42 am

December 13, 2012

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **
6:17 pm
March 4, 2013

Can I add on to this with another similar question or do I need to start a new topic?
I just noticed that the solution above works great when I have the “read more…” appear automatically based on the excerpt setting of 55 words; however, when I insert the WP “read more” tag in order to make the excerpt cut off exactly where I’d like it to cut off, I don’t see a […] or “Read More…” with a link in my email digest. It just cuts off with no text to click or follow through. Any suggestions on how to make the “read more tag” display a “Read More…” with post link in my digest email?
4:27 am

December 13, 2012

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **
11:38 am
March 4, 2013

Hello again When I copy that same code and insert it before the “} else {” then attempt to send myself a preview email this warning is popping up in WordPress:
Warning: array_push() [function.array-push]: First argument should be an array in /home/content/86/2049386/html/lynette-2013-preview/wp-content/plugins/subscribe2_html/classes/class-s2-core.php on line 1562
This is what my code in core-s2-core.php looks like (pasted below). I’ve been staring at it for a long time trying to solve this, but my coding skills beyond html/css are basic. Do you know where the error is coming from???
Thanks again and again!
( !empty($post->post_excerpt) ) ? $excerpt = $post->post_excerpt : $excerpt = ”;
if ( ” == $excerpt ) {
$excerpt = apply_filters(‘the_content’, $post->post_content);
// no excerpt, is there a ?
if ( false !== strpos($post->post_content, ‘‘) ) {
list($excerpt, $more) = explode(‘‘, $excerpt, 2);
if ( function_exists(‘strip_shortcodes’) ) {
$excerpt = strip_shortcodes($excerpt);
}
// balance tags then strip leading and trailing whitespace
$excerpt = trim(balanceTags($excerpt, true));
$link = “get_tracking_link(get_permalink($post->ID)) . “\”>Read more…“;
array_push($words, $link);
} else {
if ( function_exists(‘strip_shortcodes’) ) {
$excerpt = strip_shortcodes($excerpt);
}
$words = explode(‘ ‘, $excerpt, $this->excerpt_length + 1);
if ( count($words) > $this->excerpt_length ) {
array_pop($words);
$link = “get_tracking_link(get_permalink($post->ID)) . “\”>Read more…“;
array_push($words, $link);
$excerpt = implode(‘ ‘, $words);
$excerpt = trim(balanceTags($excerpt, true));
}
}
}
12:47 pm

December 13, 2012

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **
Most Users Ever Online: 964
Currently Online:
16 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 33
Members: 18371
Moderators: 0
Admins: 8
Forum Stats:
Groups: 4
Forums: 28
Topics: 1779
Posts: 7537
Newest Members:
mike marchandAdministrators: Michael TorbertPeter BayliesSupport TeamSteve MortiboyMatthew RobinsonSteve KlasenArnaud BroesAsh R