De "more" [...] link on the blog don't work.
ex . http://www.urbannature.nl/?page_id=197
Does anyone have a solution?
De "more" [...] link on the blog don't work.
ex . http://www.urbannature.nl/?page_id=197
Does anyone have a solution?
or is this normal for WordPress?
I'am a newby in WordPress, i came from Joomla.
Hey,
voor dit thema is het normaal dat de "[...]" niet linkt omdat de titel al gelinkt is.
To make the "[...]" a link you can add the following to the bottom of the functions.php file
function new_excerpt_more($more) {
global $post;
return ' <a href="'. get_permalink($post->ID) . '">[...]</a>';
}
add_filter('excerpt_more', 'new_excerpt_more');Thanks for the code it works well.
I think this way is more intuitive.
Glad that Chris could help you :)
Hi Dude,
very interesting.
you can create a button? For example: http://i.imgur.com/P1fG7.jpg
The code you posted, how to call the CSS class button?
thanks
I apologize
I solved
in the code is added class="button"
Yes - the code should look like:
function new_excerpt_more($more) {
global $post;
return ' <a href="'. get_permalink($post->ID) . '" class="button">[...]</a>';
}
add_filter('excerpt_more', 'new_excerpt_more');You must log in to post.