Exemplo n.º 1
0
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
                            <li id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class('animated');
        ?>
>
                                <?php 
        if (function_exists('has_post_thumbnail') && has_post_thumbnail()) {
            inkthemes_get_thumbnail(258, 190);
        } else {
            inkthemes_get_image(258, 190);
        }
        ?>
                                <h2><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark" title="<?php 
        _e('Permanent Link to ', 'colorway') . the_title_attribute();
        ?>
"><?php 
        the_title();
        ?>
                                    </a></h2>
                                <?php 
        _e('Posted on ', 'colorway') . the_time('F j, Y') . _e(' by ', 'colorway') . the_author_posts_link() . _e(' in ', 'colorway') . the_category(', ');
        the_excerpt();
Exemplo n.º 2
0
?>
	<?php 
query_posts('posts_per_page=2');
?>
            <?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
    <div class="feature-blog-item">
    <div class="feature-blog-item-image">
    <a href="<?php 
        the_permalink();
        ?>
"><?php 
        inkthemes_get_image(65, 60);
        ?>
 </a>   
    </div>
	<h1><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark" title="Permanent Link to <?php 
        the_title_attribute();
        ?>
"><?php 
        the_title();
        ?>
</a></h1>
    <?php 
        echo inkthemes_custom_trim_excerpt(8);
Exemplo n.º 3
0
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
        <div class="post">
		 <?php 
        if (function_exists('has_post_thumbnail') && has_post_thumbnail()) {
            ?>
                         <?php 
            inkthemes_get_thumbnail(250, 170);
            ?>
                    <?php 
        } else {
            ?>
                        <?php 
            inkthemes_get_image(250, 170);
            ?>
 
                        <?php 
        }
        ?>
	                      
            <div class="post_content">
			<h1 class="post_title"><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark" title="Permanent Link to <?php 
        the_title_attribute();
        ?>
"><?php 
        the_title();
Exemplo n.º 4
0
    if ($iNumberOfPics > 0 || has_post_thumbnail()) {
        ?>
		
                                        <li class="blog_item">                
                                            <div class="flex_thumbnail"> 				
                                                <?php 
        if (function_exists('has_post_thumbnail') && has_post_thumbnail()) {
            ?>
                                                    <?php 
            inkthemes_get_thumbnail(270, 345);
            ?>
                                                <?php 
        } else {
            ?>
                                                    <?php 
            inkthemes_get_image(270, 345);
            ?>
 
                                                    <?php 
        }
        ?>
                                            </div>
                                            <div class="flex_content"> 
                                                <h3><a href="<?php 
        the_permalink();
        ?>
"><?php 
        the_titlesmall('', '...', true, '35');
        ?>
</a></h3>
                                                <?php 
Exemplo n.º 5
0
        ?>
>
                                <?php 
        if (function_exists('has_post_thumbnail') && has_post_thumbnail()) {
            ?>
                                    <a href="<?php 
            the_permalink();
            ?>
">
                                        <?php 
            the_post_thumbnail('post_thumbnail', array('class' => 'postimg'));
            ?>
                                    </a>
                                    <?php 
        } else {
            inkthemes_get_image(10, 10);
        }
        ?>
                                <h2><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark" title="<?php 
        _e('Permanent Link to ', 'colorway') . the_title_attribute();
        ?>
">
                                        <?php 
        the_title();
        ?>
                                    </a></h2>
                                <?php 
        _e('Posted on ', 'colorway');