Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title><?php is_home() ? bloginfo('description') : wp_title(''); ?> | Mostout International</title>
- <link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
- </head>
- <body>
- <div class="hero-enough">
- <div class="hero-enough-main">
- <div class="hero-enough-main-header">
- <?php get_header(); ?>
- </div>
- <div class="category-hero">
- <div class="hero-enough-main-pody">
- <h2><?php single_cat_title(); ?></h2>
- <h1><?php the_title(); ?></h1>
- <?php $categories = get_categories( array ('orderby' => 'count', 'order' => 'desc' ) ); ?>
- <?php foreach ($categories as $category) : ?>
- <?php query_posts( array ( 'category_name' => $category->slug, 'showposts' => '5') ); ?>
- <h2><?php single_cat_title(); ?></h2>
- <?php if ( have_posts() ): ?>
- <ul class="thumbs">
- <?php $i = 0; ?>
- <?php while ( have_posts() ) : ?>
- <?php bm_ignorePost($post->ID); ?>
- <?php the_post(); ?>
- <li><a
- <?php if ( $i == 0 ) : ?>
- class="first"
- <?php endif; ?>
- <?php $i++; ?>
- href="<?php the_permalink(); ?>"><?php the_post_thumbnail( array(151,151) ); ?></a></li>
- <?php endwhile; ?>
- </ul>
- <p class="more"><a href="/category/<?php echo $category->slug; ?>">More »</a></p>
- <?php endif; ?>
- <?php endforeach; ?>
- </div>
- </div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement