Help - Search - Members - Calendar
Full Version: Starting point for headlines
Movable Type Community Forum > Additional Resources > Tips and Tricks
prolific
I would like to display the first three posts on my frontpage, and then the headlines of the next say 10-15 posts. Is it possible to offset headlines?
medic119
Yes, you could use something like
CODE
<MTEntries lastn=3><--- CHANGED TO LIST ONLY LAST 3 ENTRIES
<MTEntries>
<$MTEntryTrackbackData$>

    <MTDateHeader>
    <h2 class="date">
    <$MTEntryDate format="%x"$>
    </h2>
    </MTDateHeader>

    <div class="blogbody">
    
    <a name="<$MTEntryID pad="1"$>"></a>
    <h3 class="title"><$MTEntryTitle$></h3>
    
    <$MTEntryBody$>
    
    <MTEntryIfExtended>
    <span class="extended"><a href="<$MTEntryPermalink$>#more">Continue reading "<$MTEntryTitle$>"</a></span><br />
    </MTEntryIfExtended>
    
    <div class="posted">Posted by <$MTEntryAuthor$> at <a href="<$MTEntryPermalink$>"><$MTEntryDate format="%X"$></a>
    <MTEntryIfAllowComments>
    | <a href="<$MTCGIPath$><$MTCommentScript$>?entry_id=<$MTEntryID$>" onclick="OpenComments(this.href); return false">Comments (<$MTEntryCommentCount$>)</a>
    </MTEntryIfAllowComments>
    <MTEntryIfAllowPings>
    | <a href="<$MTCGIPath$><$MTTrackbackScript$>?__mode=view&entry_id=<$MTEntryID$>" onclick="OpenTrackback(this.href); return false">TrackBack (<$MTEntryTrackbackCount$>)</a>
    </MTEntryIfAllowPings>
    </div>
    
    </div>
    


</MTEntries>

**** HERE IS THE TITLE LISTING ****
<MTEntries lastn="10" offset="3"><----- LAST 10 ENTRIES AFTER the FIRST 3
<a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a><br />
</MTEntries>
prolific
Aaah, you can do that? THat's great. I was using archive tags to try and do it. Thank you!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.