Denis, could you please tell me the exact code that will go there ? and where to add ?
As Denis described you need to adapt the following for your own needs (this is located in the /App_Templates/Default/BlogTemplates/BlogList.ascx):
href="<# Link #>" class="taggedlink">
><# PubDate #></
<# Title #>
So your new Read More link would be similar to this:
href="<# Link #>"><# ReadMore #></
You could place this below the description tag which is the Excerpt content or somewhere else depending on your needs. Since <# ReadMore
#> is a new tag you would need to preform similar steps described in this post
to show custom text. The main differences would be that instead of the BlogPost.ascx
template you would be using BlogList.ascx
template and instead of overriding ParseBlogPostTemplateTags
method in the BlogPostView
control you would be overriding the method in the BlogPostList
Alternatively instead of using the tag (if all you need is text) you could place your own resource key directly, for example:
href="<# Link #>"><%= MySolution.Resources.DefaultResources.ViewMore %></
Also , why I don't see any system name for "Excerpt" in the BlogList.ascx in template folder ? Then how come the webpart takes the content from Excerpt ?
<# Description #> tag is the excerpt which you can find in the template, if you however change it to <# Content #> it would display a full post content.