コード例 #1
0
ファイル: single.php プロジェクト: estvmachine/nicowp
            the_author_posts_link();
            ?>
</h4>
                                                </div>
                                                <?php 
            echo wpautop(do_shortcode(get_the_author_meta('description')));
            ?>
                                            </div>
                                        </div>
                                        <?php 
        }
        ?>
                                    
                                        <?php 
        if ($ts_direction_links == 'yes') {
            ts_post_direction_nav();
        }
        ?>
                                    
                                        <?php 
        $show_related_option = ts_option_vs_default('show_related_blog_posts', 1) == 1 ? 'yes' : 'no';
        $show_related = ts_postmeta_vs_default($post->ID, '_p_related_posts', $show_related_option);
        if ($show_related == '1' || $show_related == 'yes') {
            ?>
                                        <div class="ts-related-posts-on-single ts-post-section-inner">
                                            <h5 class="smaller uppercase"><?php 
            echo ts_option_vs_default('related_blog_posts_title_text', 'Related Posts');
            ?>
</h4>
                                            <?php 
            $args = array('include' => 'related', 'limit' => 3, 'show_pagination' => 'no', 'media_width' => 480, 'media_height' => 360, 'title_size' => 4, 'allow_videos' => 0, 'allow_galleries' => 0);
コード例 #2
0
function ts_portfolio_direction_nav($reverse = false, $previous_text = '', $next_text = '')
{
    return ts_post_direction_nav($reverse, $previous_text, $next_text);
}