Пример #1
0
>
                                <?php 
        if ($tags_icon_type == 'icon') {
            echo $tags_icon;
        }
        ?>
                                <?php 
        the_tags(__('Tags: ', 'yit'), ', ');
        ?>
                            </span>
                        <?php 
    }
    ?>

                        <?php 
    yit_edit_post_link(__('Edit', 'yit'), '<span class="yit-edit-post"><i class="fa fa-pencil-square-o"></i>', '</span>');
    ?>

                        <?php 
    if ($show_share) {
        ?>
                            <span class="share <?php 
        echo $share_icon_class;
        ?>
" <?php 
        if ($share_icon_type == 'custom') {
            echo yit_ssl_url($share_icon);
        }
        ?>
>
                                <?php 
Пример #2
0
                        <?php if( $show_comments )   : ?>
                            <span class="comments <?php echo $comments_icon_class ?>">
                                <?php if( $show_categories || $show_author ) echo $post_meta_separator ?>
                                <?php if( $comments_icon_type == 'icon' ) echo $comments_icon ?>
                                <a href="<?php comments_link() ?>"><?php comments_number( __( '0 Comment', 'yit' ), __( '1 Comment', 'yit' ), '% Comments'); ?></a>
                            </span>
                        <?php endif; ?>

                        <?php if( $show_tags && $has_tags ) : ?>
                            <span class="tags <?php echo $tags_icon_class ?>">
                                <?php if( $show_categories || $show_author || $show_comments  && $has_tags ) echo $post_meta_separator ?>
                                <?php if( $tags_icon_type == 'icon' ) echo $tags_icon ?>
                                <?php the_tags( __('Tags: ', 'yit') , ', '); ?>
                            </span>
                        <?php endif; ?>
                        <?php yit_edit_post_link( __( 'Edit', 'yit' )  , '<span class="yit-edit-post"> / ', '</span>' ); ?>
                    </div>
                <?php endif; ?>

                <?php if( $show_title ) : ?>
                        <?php yit_string( "<h3 class='post-title'><a href='{$link}'>", $title, "</a></h3>" ); ?>
                    <?php endif; ?>
                <?php endif; ?>

                <?php if( ! $is_quote ) : ?>
                    <div class="yit_the_content">
                        <?php  echo ( true == $show_read_more ) ? yit_plugin_content( 'excerpt', 60, $read_more_text, '', false ) : yit_plugin_content( 'excerpt', 60, '', '', false ) ?>
                    </div>
                <?php endif; ?>
            </div>
        </div>
Пример #3
0
                    echo $post_meta_separator;
                }
                ?>
                                            <a href="<?php 
                comments_link();
                ?>
"><?php 
                comments_number(__('0 Comment', 'yit'), __('1 Comment', 'yit'), '% Comments');
                ?>
</a>
                                        </span>
                                    <?php 
            }
            ?>
                                    <?php 
            yit_edit_post_link(__('Edit', 'yit'), '<span class="yit-edit-post"> ' . $post_meta_separator, '</span>');
            ?>
                                </div>
                            <?php 
        }
        ?>
                        </div>
                    <?php 
    }
    ?>
                    <div class="yit_the_content">
                        <?php 
    the_content();
    ?>
                    </div>
                </div>
Пример #4
0
             <?php yit_string( "<h1 class='post-title'>", $title, "</h1>" ); ?>
         <?php endif; ?>
         <div class="yit_post_meta first_block">
              <?php if( $show_author ) : ?>
                 <span class="author">
                     <?php echo  __('by', 'yit') . ' ';  the_author_posts_link(); ?>
                 </span>
             <?php endif; ?>
             <?php if( $show_comments ) : ?>
                 <span class="comments">
                     <?php if( $show_author ) echo $post_meta_separator; ?>
                     <a href="<?php comments_link() ?>"><?php comments_number( __( '0 Comment', 'yit' ), __( '1 Comment', 'yit' ), '% Comments'); ?></a>
                 </span>
             <?php endif; ?>
             <?php $edit_text = $show_author || $show_comments ? __( '/ Edit', 'yit' ) : __( 'Edit', 'yit' ); ?>
             <?php yit_edit_post_link( $edit_text, '<span class="yit-edit-post">', '</span>' ); ?>
         </div>
     </div>
 </div>
 <?php if( $post_format != 'quote' ) : ?>
     <div class="yit_the_content">
         <?php the_content() ?>
     </div>
 <?php endif; ?>
 <?php if( $show_meta_box ) : ?>
     <div class="yit_post_meta last_block clearfix">
          <div class="blog-meta">
              <?php if( $show_categories ) : ?>
                 <span class="categories">
                     <strong><?php echo __('Categories: ', 'yit') . ' ' ;  ?></strong>
                     <?php the_category( ', ' ); ?>