Expandable Post Summaries

From Bloggerhacks

(Difference between revisions)
(Skill Level)
Line 5: Line 5:
==Author==
==Author==
-
* Blogger Team
+
[[Blogger]] Team
==Homepage==
==Homepage==
Line 23: Line 23:
==Method ==
==Method ==
-
* Enable Post Pages in your Blogger settings.
+
(See complete instructions at the [http://help.blogger.com/bin/answer.py?answer=898&topic=41 homepage].)
-
* 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></span> tag pair when you have extended text to include in your post.
+
-
==Sites Using This Hack:==
+
# 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></span> tag pair when you have extended text to include in your post.
 +
 
 +
==Sites Using This Hack==
* unknown  
* unknown  

Revision as of 16:21, 25 June 2006

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.)

  1. Enable Post Pages in your Blogger settings.
  2. Insert some conditional tags surrounding styles into the stylesheet portion of your Blogger template.
  3. Insert some conditional tags surrounding HTML into the body element of your Blogger template.
  4. Re-publish your blog.
  5. Surround some text with a specific <span></span> tag pair when you have extended text to include in your post.

Sites Using This Hack

  • unknown

Edit this page to add your own link, or contact a site editor with information to be added in this area.

Personal tools
FreshTags