Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user


« Newer Snippets
Older Snippets »
4 total  XML / RSS feed 

Display In 2-Column Table

The below can be applied to MT, EE, etc, and will display the content in a 2 column table. The EE tags below are just an example, it will work equally well if you replace it with MT, Wordpress, etc, tags.

 $set_table="0"; ?>

<table cellpadding="5" border="0">
{exp:gallery:categories gallery="{gallery_name}"}
$fs_table = $set_table +1;
if ($set_table == "1") {echo"";} ?>

Insert other tags here.

 if ($set_table == "2") {echo"";  $set_table="0";} ?>

Monthly List

<MTArchiveList archive_type="Monthly">
<li><a href="<$MTArchiveLink$>"><$MTArchiveTitle$>a> [  ]</li>

A list of the Monthly Archive pages linked to their archives.

Recent Entries

<MTEntries lastn="10">
<li><a href="<$MTEntryPermalink$>"><$MTEntryTitle$>a> [ "></a> ]li>

List of the latest 10 entries linked to their Individual Archive Pages.

Category List

<li><a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel$>a> [  ]</li>

List of all categories in an MT blog linked to their archive pages.
« Newer Snippets
Older Snippets »
4 total  XML / RSS feed