Lunars Posted March 16, 2015 Posted March 16, 2015 I have a question regarding this widget. What file handles the number of characters / words to display in the widget? I find that if I have a long post... the widget almost pus like half the text from the post in the widget...How can I limit it?
Lunars Posted March 20, 2015 Author Posted March 20, 2015 How did you do ?TxYou have to go to your Skin -> Edit HTML/CSS -> Search for postFeed under the templates tab, and click postFeed file. Find this code: <div class='ipsDataItem_main'> <a href="{$comment->url()}" title='{lang="view_this_topic" sprintf="$comment->item()->title"}' class='ipsDataItem_title ipsType_break'>{wordbreak="$comment->item()->title"}</a><br> <span class='ipsType_light ipsType_small'>{lang="byline_nodate" htmlsprintf="$comment->author()->link()"} · {$comment->dateLine()|raw}</span> <div class='ipsType_small ipsType_textBlock ipsType_richText ipsType_break' data-ipsTruncate data-ipsTruncate-type='remove' data-ipsTruncate-size='{{if $orientation == 'vertical'}}2 lines{{else}}1 lines{{endif}}'> {$comment->truncated( true )|raw} </div> </div>size='{{if $orientation == 'vertical'}}6 lines{{else}}2 lines{{endif}}'> and change the number 6 to your desired number.
David.. Posted March 20, 2015 Posted March 20, 2015 Interesting request from a seo concernWhat does this have to do with SEO?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.