PluginProbe
Welcart e-Commerce / 1.3.6
Welcart e-Commerce v1.3.6
2.12.4 2.12.3 2.11.35 2.12.2 2.12.1 2.11.34 2.11.33 2.11.32 2.11.31 2.11.30 1.3.16 1.3.17 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 All 292 releases
usc-e-shop / theme / welcart_default / home.php

home.php in Welcart e-Commerce 1.3.6, at theme/welcart_default/home.php

38 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * <meta content="charset=UTF-8">
4 * @package Welcart
5 * @subpackage Welcart Default Theme
6 */
7 get_header();
8
9 get_sidebar( 'home' );
10 ?>
11
12 <div id="content" class="three-column">
13 <div class="top_image"><img src="<?php bloginfo('template_url'); ?>/images/image_top.jpg" alt="<?php bloginfo('name'); ?>" width="560" height="300" /></div>
14
15 <?php /* Section of Recommended Products *******************************/ ?>
16 <div class="title"><?php _e('Items recommended','usces') ?></div>
17 <div class="clearfix">
18 <?php query_posts( array('category_name'=>'itemreco', 'posts_per_page'=>8) ); ?>
19 <?php if (have_posts()) : ?>
20 <?php while (have_posts()) : the_post(); usces_the_item(); ?>
21 <div class="thumbnail_box">
22 <div class="thumimg"><a href="<?php the_permalink() ?>"><?php usces_the_itemImage(0, 108, 108); ?></a></div>
23 <div class="thumtitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php usces_the_itemName(); ?>&nbsp;(<?php usces_the_itemCode(); ?>)</a></div>
24 <div class="price"><?php usces_crform( usces_the_firstPrice('return'), true, false ); ?><?php usces_guid_tax(); ?></div>
25 </div>
26 <?php endwhile; ?>
27 <?php else: ?>
28 <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
29 <?php endif; wp_reset_query(); ?>
30 </div>
31 <?php /******************************************************************/ ?>
32
33 </div><!-- end of content -->
34
35 <?php //get_sidebar( 'home' ); ?>
36
37 <?php get_footer(); ?>
38