Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #408528

    Hi there, can I change the order of the Enfold Combo Widget so that Recent is 1st?

    Also, is there a way to change Popular to measure page views instead of comments? Also to add a time limit, like recent 3 months or something. By measuring comments and not having a time parameter it returns some very old posts.

    http://test.theburningear.com/

    #408813

    Hey theburningear!

    Please go to Enfold/framework/php file and open class-framework-widgets.php file and find

    echo '<div class="tab first_tab active_tab widget_tab_popular"><span>'.__('Popular', 'avia_framework').'</span></div>';
    			echo "<div class='tab_content active_tab_content'>";
    			avia_get_post_list('cat=&orderby=comment_count&posts_per_page='.$posts);
    			echo "</div>";
    
    			echo '<div class="tab widget_tab_recent"><span>'.__('Recent', 'avia_framework').'</span></div>';
    			echo "<div class='tab_content'>";
    			avia_get_post_list('showposts='. $posts .'&orderby=post_date&order=desc');
    			echo "</div>";
    
    			echo '<div class="tab widget_tab_comments"><span>'.__('Comments', 'avia_framework').'</span></div>';
    			echo "<div class='tab_content'>";
    			avia_get_comment_list( array('number' => $posts, 'status' => 'approve', 'order' => 'DESC') );
    			echo "</div>";

    and change it to

    			echo '<div class="tab widget_tab_recent"><span>'.__('Recent', 'avia_framework').'</span></div>';
    			echo "<div class='tab_content'>";
    			avia_get_post_list('showposts='. $posts .'&orderby=post_date&order=desc');
    			echo "</div>";
    
    			echo '<div class="tab first_tab active_tab widget_tab_popular"><span>'.__('Popular', 'avia_framework').'</span></div>';
    			echo "<div class='tab_content active_tab_content'>";
    			avia_get_post_list('cat=&orderby=comment_count&posts_per_page='.$posts);
    			echo "</div>";
    
    			echo '<div class="tab widget_tab_comments"><span>'.__('Comments', 'avia_framework').'</span></div>';
    			echo "<div class='tab_content'>";
    			avia_get_comment_list( array('number' => $posts, 'status' => 'approve', 'order' => 'DESC') );
    			echo "</div>";

    Other changes would require heavy customization to theme files which would be beyond supports scope therefore need to be applied by a freelance developer :)
    Cheers!
    Yigit

    #409022

    ok great, thank you for the info!

    #409684

    Hey!

    Great, please get back to us if you should have any more questions.

    Regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.