I thought I’d share a handy trick I came across when working out the details of small-fry. This also serves as yet another great reason to read documentation.
For small-fry, I wanted to group all links from the same day together. To do this I needed a way to wrap each day’s links (along with the date header) in a nice little format. For my purposes, the format was a paragraph. Now enter the <MTDateFooter> tag.
I could start the paragraph within the <MTDateHeader> tag. But I need a way to close the paragraph. Thus, while searching the documentation, I came across the <MTDateFooter> tag. The general code is below.
<MTDateHeader>
<p>
<$MTEntryDate format="%m.%d.%Y"$>
</MTDateHeader>
<br />
<$MTEntryBody convert_breaks="0"$>
<MTDateFooter></p></MTDateFooter>