Esempio n. 1
0
?>
</a>
			<span class="breadcrumb-arrow"></span><?php 
_e('Search keyword', MUTHEME_NAME);
?>
			<span class="breadcrumb-arrow"></span>
			<?php 
the_search_query();
?>
		</div>
		<div id="postlist">
			<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        $post_thumbnail = mutheme_thumbnail('index-thumbnail', 130, 130);
        $post_class = 'post';
        if ($post_thumbnail["exist"]) {
            $post_class .= ' post-has-thumbnail';
        }
        if (is_sticky()) {
            $post_class .= ' post-sticky';
        }
        ?>
				<div id="post-<?php 
        the_ID();
        ?>
" class="<?php 
        echo $post_class;
        ?>
">
Esempio n. 2
0
<?php

get_header();
?>
	<div id="primary">
		<div id="postlist">
			<?php 
$full_content = mutheme_settings('full-content');
if (have_posts()) {
    while (have_posts()) {
        the_post();
        $post_thumbnail = mutheme_thumbnail('index-thumbnail', 260, 260);
        $post_class = 'post';
        if (!$full_content && $post_thumbnail["exist"]) {
            $post_class .= ' post-has-thumbnail';
        }
        ?>
				<div id="post-<?php 
        the_ID();
        ?>
" class="<?php 
        echo $post_class;
        ?>
">
					<div class="post-header">
						<h2 class="post-title">
							<a href="<?php 
        the_permalink();
        ?>
" title="<?php 
        the_title();