• Any options to choose how to display popular post by most views from different period of times as well as choosing the number of popular post to display?

    Thank,

    btw – awesome theme

Viewing 2 replies - 1 through 2 (of 2 total)
  • check out line 99 onward of “widget-tabs.php” file, lines go:
    ` <div class=”tab-pane” id=”widget-tab-latest”>

    Thread Starter Jenpachi

    (@jenpachi)

    Im no developer so these coding means very little to me however it seems the lines I should be looking at are between 73-82:

    <div class="widget-tab-content">
    			<div class="tab-pane active" id="widget-tab-popular">
    
    <ul>
    				<?php $popular = new WP_Query('orderby=comment_count&ignore_sticky_posts=1&posts_per_page=' . $tabs_post_count );
    					while ($popular->have_posts()) : $popular->the_post(); ?>
    					<li class="clearfix">
    						<?php if ( has_post_thumbnail() ) { ?>
    						<div class="widget-entry-thumbnail">
    							<a>" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail( 'thumb-small', array( 'title' => get_the_title() ) ); ?></a>
    						</div>

    any advice would be appreciated 🙂

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Widget – AT Tabs’ is closed to new replies.