| 156 | | <a href="<?php echo $preview_link; ?>" class="screenshot hide-if-customize"> |
| 157 | | <?php if ( $screenshot = $theme->get_screenshot() ) : ?> |
| 158 | | <img src="<?php echo esc_url( $screenshot ); ?>" alt="" /> |
| 159 | | <?php endif; ?> |
| 160 | | </a> |
| 161 | | <a href="<?php echo wp_customize_url( $stylesheet ); ?>" class="screenshot load-customize hide-if-no-customize"> |
| 162 | | <?php if ( $screenshot = $theme->get_screenshot() ) : ?> |
| 163 | | <img src="<?php echo esc_url( $screenshot ); ?>" alt="" /> |
| 164 | | <?php endif; ?> |
| 165 | | </a> |
| | 166 | <?php if ( ! empty( $theme_info['screenshot'] ) ) : ?> |
| | 167 | <a href="<?php echo $preview_link; ?>" class="screenshot hide-if-customize"> |
| | 168 | <img src="<?php echo esc_url( $theme_info['screenshot'] ); ?>" alt="" /> |
| | 169 | </a> |
| 167 | | <h3><?php echo $title; ?></h3> |
| 168 | | <div class="theme-author"><?php printf( __( 'By %s' ), $author ); ?></div> |
| | 171 | <a href="<?php echo wp_customize_url( $stylesheet ); ?>" class="screenshot load-customize hide-if-no-customize"> |
| | 172 | <img src="<?php echo esc_url( $theme_info['screenshot'] ); ?>" alt="" /> |
| | 173 | </a> |
| | 174 | <?php endif; ?> |
| | 175 | |
| | 176 | <h3><?php echo $theme_info['title' ]; ?></h3> |
| | 177 | |
| | 178 | <?php if ( ! empty( $theme_info['author'] ) ) : ?> |
| | 179 | <div class="theme-author"><?php printf( __( 'By %s' ), $theme_info['author'] ); ?></div> |
| | 180 | <?php endif; ?> |
| | 181 | |