Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if(has_post_thumbnail( $the_ID) || $sl_thumb!=""){ ?>
- <?php
- if($sl_thumb!=""){
- echo "<a href='" . $url[0] . "'>";
- echo "<img src='" . $sl_thumb . "' alt='' title='#" . $sl_caption . "' />";
- echo "</a>";
- } else{
- echo "<a href='" . $url[0] . "'>";
- the_post_thumbnail( 'slider-post-thumbnail' );
- echo "</a>";
- }
- ?>
Add Comment
Please, Sign In to add comment