Pages

Thursday, April 19, 2012

Jump Link or Read More Customization

Once again about jump link or read more customization. Here, let's modify it by adding title post, so your jump link not just showing 'Read more'.
Here we go !!!
What lies below is the original script:

    <b:if cond='data:post.hasJumpLink'>
      <div class='jump-link' style='float:right;padding-top:20px;'>
        <a expr:href='data:post.url + &quot;#more&quot;' expr:title='data:post.title'><data:post.jumpText/></a>
      </div>
    </b:if>

Below here after adding some new script (mark with red color):

    <b:if cond='data:post.hasJumpLink'>
      <div class='jump-link' style='float:right;padding-top:20px;'>
        <a expr:href='data:post.url + &quot;#more&quot;' expr:title='data:post.title'><data:post.jumpText/> &#8250; <data:post.title/></a>
      </div>
    </b:if>

Try it !!! And tell me what you think.

No comments:

Post a Comment

Archives