This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*html*/ | |
<ul id="nav2" class="clearfloat"> | |
<li><a href="<?php echo get_option('home'); ?>/" class="on">Home</a></li> | |
<?php wp_list_categories('orderby=name&exlude=181&title_li='); | |
$this_category = get_category($cat); | |
if (get_category_children($this_category->cat_ID) != "") { | |
echo "<ul>"; | |
wp_list_categories('orderby=id&show_count=0&title_li=&use_desc_for_title=1&child_of='.$this_category->cat_ID); | |
echo "</ul>"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class=”thumbnail_box”> | |
<div class=”thumimg”><a href=”<?php the_permalink() ?>”><?php usces_the_itemImage($number = 0, $width = 150, $height = 150 ); ?></a></div> | |
<div class=”thumtitle”><a href=”<?php the_permalink() ?>” rel=”bookmark”><?php usces_the_itemName(); ?></a></div> | |
<?php if (usces_is_skus()) : ?> | |
<div class=”price”><?php usces_crform( usces_the_firstPrice(‘return’), true, false ); ?><?php usces_guid_tax(); ?></div> | |
<?php endif; ?> | |
</div><!– thumbnail_box –> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $reco_ob = new wp_query(‘showpost=●&cat=●’); ?> | |
<?php if ($reco_ob->have_posts()) : while ($reco_ob->have_posts()) : $reco_ob->the_post(); usces_the_item(); ?> | |
<div class=”thumbnail_box”> | |
<div class=”thumimg”><a href=”<?php the_permalink() ?>”><?php usces_the_itemImage($number = 0, $width = 150, $height = 150 ); ?></a></div> | |
<div class=”thumtitle”><a href=”<?php the_permalink() ?>” rel=”bookmark”><?php usces_the_itemName(); ?></a></div> | |
<?php if (usces_is_skus()) : ?> | |
<?php endif; ?> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p><?php echo category_description(item); ?></p> | |
<?php query_posts(‘cat=●●&showposts=●●’); ?> | |
<?php if (have_posts()) : while (have_posts()) : the_post(); usces_the_item(); ?> | |
<div class=”thumbnail_box”> | |
<div class=”thumimg”><a href=”<?php the_permalink() ?>”><?php usces_the_itemImage($number = 0, $width = 150, $height = 150 ); ?></a></div> | |
<div class=”thumtitle”><a href=”<?php the_permalink() ?>” rel=”bookmark”><?php usces_the_itemName(); ?></a></div> | |
</div> | |
<?php endwhile; else: ?> | |
<p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="title"><?php _e('Blog Article','usces') ?></div> | |
<?php | |
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; | |
$newloop = new WP_Query(array( | |
'post_type' => blog, | |
'posts_per_page' => 4, | |
'paged' => $paged | |
)); | |
if ($newloop->have_posts()) : | |
while ($newloop->have_posts()) : $newloop->the_post(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$loop = new WP_Query( array( 'post_type' => 'blog', 'posts_per_page' => 4, 'orderby' =>rand ) ); | |
while ( $loop->have_posts() ) : $loop->the_post(); | |
?> | |
<div class="thumbnail_box3"> | |
<li><a href="<?php the_permalink() ?>"><?php the_post_thumbnail(array(150,150)); ?> </a></li> | |
<div class="thumtitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__(' %s', 'uscestheme'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></div></div> | |
<?php endwhile;wp_reset_query(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php echo get_the_term_list( $post->ID, 'blog-tag', 'TAG: ', ' , ', '' ); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$taxo_list = get_the_term_list( $post->ID, 'blog-cat', '<strong>categotry:</strong> ', ', ', '' ); | |
if ( $taxo_list ): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; | |
$newloop = new WP_Query(array( | |
'post_type' => blog, | |
'posts_per_page' => 5, | |
'paged' => $paged | |
)); | |
if ($newloop->have_posts()) : | |
while ($newloop->have_posts()) : $newloop->the_post(); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<?php wp_list_categories('taxonomy=blog-tag&title_li='); ?> | |
</ul> |