<li class="<?php 
wptouch_the_theme_classes();
?>
">
	<?php 
if (wptouch_get_theme_screenshot()) {
    ?>
	<div class="image-wrapper">
		<?php 
    if (isset($cloud_themes[wptouch_convert_to_class_name(wptouch_get_theme_title())]) && wptouch_get_theme_title() != 'Scaffold') {
        ?>
			<input type="hidden" id="<?php 
        echo wptouch_convert_to_class_name(wptouch_get_theme_title());
        ?>
-preview" class="preview-button" data-url="http://demo.wptouch.com/<?php 
        echo wptouch_convert_to_class_name(wptouch_get_theme_title());
        ?>
?wptouch_preview_theme=enabled" value="Preview" />
		<?php 
    }
    ?>
		<?php 
    if (wptouch_is_theme_in_cloud()) {
        ?>
			<img src="<?php 
        wptouch_the_theme_screenshot();
        ?>
" alt="<?php 
        wptouch_the_theme_title();
        ?>
" id="<?php 
Example #2
0
function wptouch_the_theme_screenshot()
{
    echo wptouch_get_theme_screenshot();
}