Read more is not working in 2.5.1.
Dunno of they have fixed it for 2.6
This is the code I use:
<?php the_content_rss('Read more','', '', 30); ?>
<a href="<?php the_permalink(); ?>">Read More</a>
776318
Hmm It was working fine on my 2.5 installation of wordpress, but after upgrading I get a similar problem.
All posts are cut after a certain length and [..] added to the end of the line.
Whis would not be a problem if the [..] was linked to the post, and I could set the length before the cutoff ( without hacking hte PHP that is 🙂
776318
Editing the l10N.php file and changing
if (empty($locale))
$locale = ''; /* Changed from $locale = 'en_US'; */
seems to fix the problem on in the mail blog view.
I no see the full blog post except where I chose to split it.
But if I list my posts using the tag links I still have a problem.
Posts that I have deliberately cut will cut at that point but no “Read more” link is added.
Other posts are still cut with [..] at the end.
776318
I see that that the ordenary posts use
<?php the_content(''.__('Read More <span class="meta-nav">»</span>', 'sandbox').''); ?>
and the tags, and presumably the categories use
<?php the_excerpt(''.__('Read More <span class="meta-nav">»</span>', 'sandbox').'') ?>
Anyone able to explain why ? and why the rendering is different ?
I’m, not sure if this has changed from 2.5 to 2.6 since I cannot remember having seen it.
So what should I do? I am a little bit confused with what is going on. I am sort of new to wordpress and I would need some instruction on how to fix it.
Thanks for the help so far!!!
776318
We’ll me to 🙂
I’ve just typed up what I’ve found so far hoping somone might have a better sollution.
But I’ll have another look around and see if I can figure out how things work.