Expandable Post Summaries
From Bloggerhacks
(→Sites Using This Hack) |
(→Method) |
||
(2 intermediate revisions not shown) | |||
Line 29: | Line 29: | ||
# Insert some conditional tags surrounding HTML into the body element of your [[Blogger template]]. | # Insert some conditional tags surrounding HTML into the body element of your [[Blogger template]]. | ||
# Re-publish your blog. | # Re-publish your blog. | ||
- | # Surround some text with a specific <span></span> tag pair when you have extended text to include in your post. | + | # Surround some text with a specific <span class="fullpost"></span> tag pair when you have extended text to include in your post. |
==Sites Using This Hack== | ==Sites Using This Hack== | ||
- | * http://themushroomhunter.blogspot.com/ | + | * http://themushroomhunter.blogspot.com/ Wild Mushroom Hunting Blog |
* http://navelgazingbullshit.blogspot.com/ | * http://navelgazingbullshit.blogspot.com/ | ||
* http://visitformoney.blogspot.com/ visit for money | * http://visitformoney.blogspot.com/ visit for money | ||
+ | * http://omar-abid.blogspot.com/ Spring Of Life | ||
==See also== | ==See also== |
Current revision as of 11:16, 7 July 2008
Contents |
Platform
For use with Blogger blogs.
Author
Blogger Team
Homepage
"How can I create expandable post summaries?" in Blogger Help
Skill Level
You must be comfortable with editing CSS and your Blogger template.
Description
Use this hack to display a user-specified amount of text followed by a link to the post page. After this "teaser" text, users who want to see the rest of the post can click through to the post page, which includes all the text for your post.
The drawback of this method is that the "Read More" link (or whatever text you use for the link) is displayed in every post, not only the long ones. Thus, if you utilize this method but do not designate any "expanded" text, your readers will see the "Real More" link, click it, yet receive no additional text.
Method
(See complete instructions at the homepage.)
- Enable Post Pages in your Blogger settings.
- Insert some conditional tags surrounding styles into the stylesheet portion of your Blogger template.
- Insert some conditional tags surrounding HTML into the body element of your Blogger template.
- Re-publish your blog.
- Surround some text with a specific <span class="fullpost"></span> tag pair when you have extended text to include in your post.
Sites Using This Hack
- http://themushroomhunter.blogspot.com/ Wild Mushroom Hunting Blog
- http://navelgazingbullshit.blogspot.com/
- http://visitformoney.blogspot.com/ visit for money
- http://omar-abid.blogspot.com/ Spring Of Life