Post view count in content aside
-
Bonjour,
and first please excuse my english…I would like de post view count appear just above the post, but I dont really know the code I have to paste. here is the part of the content-aside.php concerned :
<header class="entry-header"> <?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && ridizain_categorized_blog() ) : ?> <div class="entry-meta"> <span class="cat-links"><?php echo get_the_category_list( _x( ', ', 'Used between list items, there is a space after the comma.', 'ridizain' ) ); ?></span> </div><!-- .entry-meta --> <?php endif; if ( is_single() ) : the_title( '<h1 class="entry-title">', '</h1>' ); else : the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' ); endif; ?> <div class="entry-meta"> <span class="post-format"> <a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'aside' ) ); ?>"><?php echo get_post_format_string( 'aside' ); ?></a> </span> <?php ridizain_posted_on(); ?> <?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?> <span class="comments-link"><?php comments_popup_link( __( 'Laisser un commentaire', 'ridizain' ), __( '1 Comment', 'ridizain' ), __( '% commentaires', 'ridizain' ) ); ?></span> <?php endif; ?> <?php edit_post_link( __( 'Edit', 'ridizain' ), '<span class="edit-link">', '</span>' ); ?> </div><!-- .entry-meta --> </header><!-- .entry-header -->
Can anyone tell me which code I have to paste and where ?
Thank you !
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Post view count in content aside’ is closed to new replies.