Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #363812

    Hi AWESOME Enfold team,

    I have the combo widget on my blog sidebar (with a code in my functions.php that removes the third tab fyi) but the “Popular” tab seems to not be in sync with my site stats.

    Is there any way to ‘reset’ the connection or somehow get the correct posts to be pulled?

    Thanks!
    Camille

    #363956

    Hi camtay!

    Thank you for using Enfold.

    The widget order the posts by comment count not view stats. I guess you need to install a plugin for this then change the query on framework > php > class-framework-widgets.php. Look for this line on 935:

    avia_get_post_list('cat=&orderby=comment_count&posts_per_page='.$posts);
    

    Refer to this link for a possible fix:

    https://wordpress.org/support/topic/change-loop-to-order-posts-by-views?replies=3

    Best regards,
    Ismael

    #364520

    Hi Ismael, thanks for your reply. I went with the WordPress Popular Posts plugin, which seems to be working okay so far. Any way you could tell me the CSS I should put in the plugin’s stylesheet so that the widget looks just like the Enfold Latest News widget?
    Thanks!

    #365069

    Hey!

    Try adding this code to the Quick CSS:

    .wpp-list img.wpp-thumbnail {
        margin-right:9px;
        padding:3px;
        float:left;
        margin-top: 4px;
        border-style: solid;
        border-width: 1px;
        height:36px;
        width:36px;
        display: block;
    }
    
    .wpp-list .wpp-post-title{
        color: #222222 !important;
        font-size: 11px !important;
        font-weight: bold;
        margin-top: 2px;
        display: block;
    }
    
    .wpp-list .post-stats{
        font-size: 10px;
        margin-left: 47px;
    }
    
    .wpp-list li{
        margin-bottom: 10px;
    }

    Cheers! 
    Josue

    #365307

    Perfect, thank you!!!!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Enfold Combo Widget out of Sync with Stats’ is closed to new replies.