예제 #1
0
        get_image_url();
        ?>
&amp;h=150&amp;w=200&amp;zc=1" alt=""/></a>
<?php 
    } else {
        ?>
	<a href="<?php 
        the_permalink();
        ?>
"><img class="postimg" src="<?php 
        bloginfo('template_directory');
        ?>
/images/dummy.png" alt="" /></a>
<?php 
    }
    wpe_excerpt('wpe_excerptlength_index', '');
    ?>
<div class="clear"></div>
</div>

</div>

<?php 
}
?>

<div class="clear"></div>

<?php 
getpagenavi();
?>
예제 #2
0
파일: author.php 프로젝트: xuandungpy/vuong
    edit_post_link(__('Edit', 'wpzoom'), ' ', '');
    ?>
</span>
			<h2><a href="<?php 
    the_permalink();
    ?>
" title="<?php 
    the_title();
    ?>
"><?php 
    the_title();
    ?>
</a></h2> 
		
			<?php 
    wpe_excerpt('excerpt_archive', 'wpe_excerptmore');
    ?>
		</div>
 	
 	
		<?php 
}
?>
	

	<div class="navigation">
		<?php 
if (function_exists('wp_pagenavi')) {
    wp_pagenavi();
} else {
    ?>
예제 #3
0
파일: archive.php 프로젝트: pallid/vershina
	<div class="proplist"><span>Площадь</span> <span class="propval">
   <?php 
        $space = get_post_meta($post->ID, 'wtf_space', true);
        $spacemax = get_post_meta($post->ID, 'wtf_spacemax', true);
        if (iconv_strlen($spacemax) != 0) {
            $str = "от {$space} до {$spacemax} кв.м";
        } else {
            $str = "{$space} кв.м";
        }
        echo $str;
        ?>
  </span></div>
	</div>
	<!-- <div class="entry">
		<?php 
        wpe_excerpt('wpe_excerptlength_archive', '');
        ?>
		<a class="morer" href="<?php 
        the_permalink();
        ?>
">Подробней</a>
		<div class="clear"></div>
	</div> -->

</div>

<?php 
    }
    ?>

<?php 
예제 #4
0
		$wp_query = null;
	    $wp_query = new WP_Query('posts_per_page=10&post_status=publish&paged=' . $paged);
	?>

	<?php while ( $wp_query->have_posts() ) : $wp_query->the_post(); /* Secondary article loop*/ ?>
		<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
			<header class="entry-header">
				<div class="entry-meta"><?php printf( __('<time class="entry-date" datetime="%1$s" pubdate>%2$s</time>'), get_the_date( 'c' ),
					get_the_date()
				); ?></div><!-- .entry-meta -->
				<h1 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'toolbox' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h1>

			</header><!-- .entry-header -->

			<div class="entry-content">
				<?php wpe_excerpt('wpe_excerptlength_teaser', ''); ?>
				<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'toolbox' ), 'after' => '</div>' ) ); ?>
			</div><!-- .entry-content -->

			<footer class="entry-meta">
				<?php edit_post_link( __( 'Edit', 'toolbox' ), '<span class="edit-link">', '</span>' ); ?>
			</footer><!-- #entry-meta -->
		</article><!-- #post-<?php the_ID(); ?> -->
	<?php endwhile; ?>

	<?php /* Display navigation to next/previous pages when applicable */ ?>
	<?php if (  $wp_query->max_num_pages > 1 ): ?>
		<nav id="nav-below">
			<h1 class="section-heading"><?php _e( 'Post navigation', 'toolbox' ); ?></h1>
			<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'toolbox' ) ); ?></div>
			<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'toolbox' ) ); ?></div>
예제 #5
0
        //$metaStr = str_replace("%%%KEY%%%", $key, $metaStr);
        //$metaStr = str_replace("%%%VALUE%%%", $value, $metaStr);
        //$html .= $metaStr;
        echo $html;
        ?>



</div>





<meta itemprop="description" content="<?php 
        wpe_excerpt('', '', false);
        ?>
">
<!-- <div class="wrap clearfix">
        <h4 class="title"></h4>
        <h5 class="price">
            <span class="status-label">
                Продажа            
            </span>
            <span>
                8 200 000 PУБ <small> - Главная, Новостройки, Элит</small>
            </span>
        </h5>
</div>-->

<?php 
    		<a href="<?php 
    the_permalink();
    ?>
"><?php 
    echo get_the_post_thumbnail($id, 'thumbnail');
    ?>
</a>
    		<h2><a href="<?php 
    the_permalink();
    ?>
"><?php 
    the_title();
    ?>
</a></h2>
    		<?php 
    wpe_excerpt('wpe_excerptlength_teaser', 'wpe_excerptmore');
    ?>
    		<hr />
    	</article>
	<?php 
}
?>
	</div><!--end news-->
	<div class="info span6">
		<?php 
/* This code retrieves our admin options from Maps and Services. */
?>
		<?php 
global $options;
foreach ($options as $value) {
    if (get_settings($value['id']) === FALSE) {
<?php

get_header();
?>

	<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
		<h2><a title="<?php 
        the_title();
        ?>
" href="<?php 
        the_permalink();
        ?>
"><?php 
        the_title();
        ?>
</a></h2>
		<?php 
        wpe_excerpt('wpe_excerptlength_index', 'wpe_excerptmore');
        ?>
	<?php 
    }
}
?>
	
<?php 
get_sidebar();
get_footer();
예제 #8
0
파일: index.php 프로젝트: xuandungpy/vuong
            edit_post_link(__('Edit', 'wpzoom'), ' ', '');
            ?>
</span>
				<h2><a href="<?php 
            the_permalink();
            ?>
" title="<?php 
            the_title();
            ?>
"><?php 
            the_title();
            ?>
</a></h2> 
 			
				<?php 
            wpe_excerpt('excerpt_home', 'wpe_excerptmore');
            ?>
			</div>
				
				<div class="clear"></div>	
			<?php 
        }
        ?>
			
			<div class="navigation">
				<?php 
        if (function_exists('wp_pagenavi')) {
            wp_pagenavi();
        } else {
            ?>
					<div class="floatleft"><?php