Excerpt lenght-no link


#1

Hi, Charly
thanks a lot for your great Theme Moesia Pro…i love it so much.
I have a problem with the bracket with the score…“Excerpt lenght”…for my 30 words…have no link to the post-site. Here can you see & try it: http://style-stories.de/blog

My Questions: What can I do?

Because my english is not so good, I´m from Berlin, Germany, can you the steps explain my easy.
Thank you very much!


#2

Hello,

There are already 3 links to your post (one on the post title, one on the date and one on the thumbnail).

Are you sure you would like to add another one? You will need to create a child theme and add a function for this.


#3

okay…its a good idea…have you a child theme for Moesia pro…otherwise I create a child theme itself…


#4

Alright, you can use one of the plugins that let you create child themes in order to do it faster.
Make sure your child theme has a functions.php and add this code in that file:


function new_excerpt_more($more) {
       global $post;
	return '<a class="moretag" href="'. get_permalink($post->ID) . '">Read more</a>';
}
add_filter('excerpt_more', 'new_excerpt_more');

And change the Read more text to whatever you like.