« nickname tagline | Main | show the Homeland Security threat level »

linking to the entry before the oldest one

On the veiled4allah index (and that of the other categories), when you get down to the bottom of the display of blog entries, you'll see a link to the entry immediately previous to the oldest entry on the page.

On an ordinary blog, you could use the <MTEntriesFooter> container as is described in the manual. However, I wanted to limit it to the previous entry in the specific category (part of my strategy to treat the three categories like independent blogs).

Instead I use a second MTEntries container with an offset. This is the code:

<div class="blogpost">
<span style="text-align: center; padding: 5px; border: 1px solid black">
Previously: <MTEntries category="category name" lastn="1" offset="15"><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></MTEntries>
</span>
</div>

About This Blog

  • Disclaimer: This is a personal site and is not connected with Six Apart, Ltd, the makers of Movable Type
  • Contact me:
  • Readme: What this blog is and is not
  • Reference: Templates for Al-Muhajabah's Islamic Blogs

August 2008

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Tips by Type

Tips by Area

Other ways to read this blog

Feed Subscribe to this blog's feed
(default is RSS 2.0, I also have RSS 1.0 and Atom)

Text-only version
Powered by
Movable Type 3.2