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
<!-- Copyright 2010 Convio, Inc. --> | |
<!-- | |
Conditional for detecting mobile devices | |
[[?xx::x[[S80:isMobile]]x:: | |
isMobile is not yet set | |
[[?xx::x[[S80:UserAgentLowerCase]]x:: | |
UserAgentLowerCase is not yet set | |
Convert User-Agent from HTTP request header to lower case | |
[[U0:UserAgentLowerCase=[[E130:"[[S50:User-Agent]]" "A" "a" replaceall "B" "b" replaceall "C" "c" replaceall "D" "d" replaceall "E" "e" replaceall "F" "f" replaceall "G" "g" replaceall "H" "h" replaceall "I" "i" replaceall "J" "j" replaceall "K" "k" replaceall "L" "l" replaceall "M" "m" replaceall "N" "n" replaceall "O" "o" replaceall "P" "p" replaceall "Q" "q" replaceall "R" "r" replaceall "S" "s" replaceall "T" "t" replaceall "U" "u" replaceall "V" "v" replaceall "W" "w" replaceall "X" "x" replaceall "Y" "y" replaceall "Z" "z" replaceall]]]] |
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
<script type="text/javascript"> | |
function ReinitializeAddThis(){ | |
if (window.addthis){ | |
window.addthis.ost = 0; | |
window.addthis.ready(); | |
} | |
} | |
</script> |
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
[[?xx[[S120:dc:recurringFrequencyUnit]]xx::xxmonthsxx:: | |
This is a recurring donation! | |
:: | |
This is a onetime donation. | |
]] |
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
[[?xxnullxx::x[[S1:user_name]]x:: | |
<!-- this person is not logged in --> | |
:: | |
<!-- This person is logged in --> | |
]] |
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
nocache=[[S55:1000,99999]] |
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
<?php | |
function XXX_enter_title_here( $title ){ | |
$screen = get_current_screen(); | |
if ( 'custom_post_type' == $screen->post_type ) { | |
$title = 'Custom Post Type Title Text'; | |
} | |
return $title; | |
} |
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 | |
//this goes into template.php function | |
function theme_preprocess_page(&$variables, $hook) { | |
if(isset($variables['node'])) { | |
$node = node_load($variables['node']->nid); | |
if($node->type == 'homepage') { | |
$field_name1 = 'field_left'; | |
$field_name2 = 'field_middle'; | |
$field_name3 = 'field_right'; |