This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<t:data name="categories" class="categories" parent="/tags" /> | |
<t:set id="lastCat" value="''" /> | |
<t:set id="valueToRemove" value="''" /> | |
<ul> | |
<t:list id="categories"> | |
<t:if test="!matches(lastCat, '.*gt;.*') && !matches(label, '.*gt;.*') && lastCat != ''"> | |
</li> | |
</t:if> | |
<t:if test="matches(lastCat, '.*gt;.*') && !matches(label, '.*gt;.*')"> | |
</ul></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<t:if test="isNull(description)"> | |
<meta name="Description" content="Default Meta description should appear here" /> | |
</t:if> | |
<t:else> | |
<t:set id="mydesc" value="toText(description, '') " /> | |
<t:set id="mydesc" value="escapeQuotes(mydesc) " /> | |
<t:set id="mydesc" value="replace(mydesc, '\\"', '"')" /> | |
<t:set id="mydesc" value="replace(mydesc, '\\', ''')" /> | |
<meta name="Description" content="${mydesc}" /> | |
</t:else> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[?x1x2x25x::x[[S4]]x::<h1>Events</h1>::]] | |
[[?x6x8x::x[[S4]]x::<h1>Store</h1>::]] | |
[[?x[[S4]]x::x5x::<h1>Tell a Friend</h1>::]] | |
[[?x[[S4]]x::x9x::<h1>Donate</h1>::]] | |
[[?x[[S4]]x::x41x::<h1>eCards</h1>::]] | |
[[?x[[S4]]x::x81x::<h1>Your Profile</h1>::]] | |
[[?x[[S4]]x::x82x::<h1>Your Interests</h1>::]] | |
[[?x[[S4]]x::x83x::<h1>Unsubscribe Options</h1>::]] | |
[[?x[[S4]]x::x85x::<h1>Preferences</h1>::]] | |
[[?x[[S4]]x::x186x::<h1>Service Center</h1>::]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class="[[T9: | |
[[?x[[S4]]x::x41x::ecards::]] | |
[[?x[[S4]]x::x81x::profile::]] | |
[[?x[[S4]]x::x82x::interests::]] | |
[[?x[[S4]]x::x83x::unsubscribe::]] | |
[[?x[[S4]]x::x85x::preferences::]] | |
[[?x[[S4]]x::x5x::tell-a-friend::]] | |
[[?x[[S4]]x::x186x::service-center::]] | |
[[?x[[S4]]x::x10x::user-login [[?x[[S334:CMD]]x::xForgotPasswordx::password-recovery ::]][[?x[[S334:CMD]]x::xForgotLoginx::user-name-recovery ::]]::]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<t:if test="length > 0"> | |
<t:set id="pageRank" value="rank" /> | |
<t:set id="pageUrl" value="url" /> | |
<t:set id="lastRank" value="0" /> | |
<t:set id="counter" value="1" /> | |
<t:set id="activeIndex" value="-1" /> | |
<t:set id="lastURL" value="''" /> | |
<t:set id="prevLink" value="''" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* add this to your functions.php file if you are adding custom images */ | |
function setup_image_sizes() { | |
if( function_exists('add_theme_support') ) { | |
add_theme_support('post-thumbnails'); | |
} | |
if ( function_exists( 'add_image_size' ) ) { | |
add_image_size( 'custom-image', 576, 320, true ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!function_exists('get_post_featured_image')) { | |
/** | |
* Finds featured image for the post specified by $post_id and returns all the properties for the desired $size | |
* @param int $post_id [id of the post whose featured image we would like to view] | |
* @param string/array $size [size of the image, parameter is identical to the one specified for <code>wp_get_attachmment_image_src</code> <http://codex.wordpress.org/Function_Reference/wp_get_attachment_image_src> ] | |
* @return array [returns an array with following key value pairs: id, url, alt, caption, description] | |
*/ | |
function get_post_featured_image($post_id, $size) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Header Level 1 - Lorem ipsum dolor sit amet</h1> | |
<p>Paragraph Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> | |
<h2>Header Level 2</h2> | |
<p>Paragraph Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> | |
<h3>Header Level 3</h3> | |
<p>Paragraph Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> | |
<h4>Header level 4</h4> |