'; $html .= '

' . __( 'AStore Template Directory', 'astore-companion' ) . '

'; $html .= '
'; foreach ( $templates_array as $template => $properties ) { $html .= '
'; $html .= '
' . __( 'More Details', 'astore-companion' ) . '
'; $html .= '
'; $html .= '' . esc_html( $properties['title'] ) . ''; $html .= '
'; // .astore-template-screenshot $html .= '

' . esc_html( $properties['title'] ) . (isset($properties['pro'])? apply_filters('astore_after_template_title','Pro'):'').'

'; $html .= '
'; if ( ! empty( $properties['demo_url'] ) ) { $html .= '' . __( 'Preview', 'astore-companion' ) . ''; } $html .= '
'; // .astore-template-actions $html .= '
'; // .astore-template } $html .= '
'; // .astore-template-browser $html .= ''; // .astore-template-dir $html .= '
'; }// End if(). echo $html; ?>