/gist:9edaa59c2f5955802e59 Secret
Created
October 15, 2015 00:55
Star
You must be signed in to star a gist
Pinterest Hidden Image Stack
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 ( isset($pinterest_image) && ($pinterest_image!=='') ) : ?><div class="pin-image" style="display:none"><img src="<?php echo get_template_directory_uri(); ?>/assets/i/blank.gif" alt="" data-pin-media="<?php echo $pinterest_image; ?>"<?php echo (isset($pinterest_description) && ($pinterest_description!=='')) ? ' data-pin-description="'.$pinterest_description.'"': '';?>></div><?php endif; ?> | |
<?php if ( isset($pinterest_image_2) && ($pinterest_image_2!=='') ) : ?><div class="pin-image" style="display:none"><img src="<?php echo get_template_directory_uri(); ?>/assets/i/blank-2.gif" alt="" data-pin-media="<?php echo $pinterest_image_2; ?>"<?php echo (isset($pinterest_description) && ($pinterest_description!=='')) ? ' data-pin-description="'.$pinterest_description.'"': '';?>></div><?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment