Пример #1
0
            }
            ?>
            <div class="excerpt">
                <h2><a href="<?php 
            the_permalink();
            ?>
" class="blogtitle"><?php 
            the_title();
            ?>
</a></h2>
                <time><?php 
            echo get_the_date('F j, Y');
            ?>
</time>
                <p><?php 
            echo gebid(get_the_content($post->ID), 30, 'Read More');
            ?>
</p>
            </div>
        </div>
        <?php 
        }
        ?>
        <?php 
    }
    if (function_exists('wp_pagenavi')) {
        wp_pagenavi();
    }
}
?>
    </article>
Пример #2
0
            }
            ?>
            <div class="excerpt">
                <h2><a href="<?php 
            the_permalink();
            ?>
" class="blogtitle"><?php 
            the_title();
            ?>
</a></h2>
                <time><?php 
            echo get_the_date('F j, Y');
            ?>
</time>
                <?php 
            echo gebid($post->ID, 30, 'Read More');
            ?>
            </div>
        </div>
        <?php 
        }
        ?>
        <?php 
    }
    wp_pagenavi();
}
?>
    </article>
    <aside>
        <?php 
dynamic_sidebar('Blog Sidebar');