How to overcome the static pages for auto readmore ~ At the time of use of auto read more going on reduction / beheading blog article, it turns out this is the case also in the static region which causes static article remain severed and therefore can not function (error) as it should be.The cause is the installation script auto readmore instructed to work throughout the territory of the blog. Hence the need for an additional condition that will help to select the auto read more, so auto readmore will only work on the main homepage region alone.Follow these steps as one solution:script auto readmore:
<B: if cond = 'data: the blog.pageType! = & Quot; item & quot;'>
<Div expr: id = '& quot; summary & quot; + Data: post.id '> <data: post.body /> </ div>
<Script type = 'text / javascript'> createSummaryAndThumb (& quot; summary <data: post.id /> & quot;); </ script>
<Span class = 'rmlink' style = 'float: left "> <a expr:href='data:post.url'> READ MORE → </a> </ span>
</ B: if>
<B: if cond = 'data: the blog.pageType == & quot; item & quot;'> <data: post.body /> </ b: if>the solution is:
place the following code at the top of the red color code
<B: if cond = 'data: the blog.pageType == & quot; static_page & quot;'>
<Data: post.body />
<B: else />
Cover again with the code </ b: if> to put the below code blue, thus autoreadmore function will not be applied to the static region.Similarly, how to overcome the static pages for auto readmore. hopefully useful.
0 Komentar untuk "HOW TO OVERCOME THE STATIC PAGE FOR AUTO READMORE"