Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25008

    Hi,

    the combo widget of ENFOLD does not show “comments”.

    I guess, this is the same as it’s in CORONA because of “disply:none”.

    So I add to my custom.css:

    #top .sidebar .widget_tab_comments {

    display: block !important;

    }

    But now it shows me twice the comments:

    “Comments” not active tab:

    “Comments” as active tab:

    The code of class-frame-widgets.php is

    // prints the widget

    extract($args, EXTR_SKIP);

    $posts = empty($instance) ? 4 : $instance;

    echo $before_widget;

    echo "<div class='tabcontainer border_tabs top_tab tab_initial_open tab_initial_open__1'>";

    echo '<div class="tab first_tab active_tab widget_tab_recent"><span>'.__('Neue', 'avia_framework').'</span></div>';

    echo "<div class='tab_content active_tab_content'>";

    avia_get_post_list('showposts='. $posts .'&orderby=post_date&order=desc');

    echo "</div>";

    echo '<div class="tab widget_tab_popular"><span>'.__('Beliebt', 'avia_framework').'</span></div>';

    echo "<div class='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>";

    echo "</div>";

    echo $after_widget;

    }

    Where does the double “Kommentare” (Comments) come from?

    Thanks.

    #125480

    Hi colorit2,

    I’ll tag Kriesi on the post since as far as I know if it isn’t supported be default he may not have gotten it working at all or there was an issue preventing him from adding it as a feature.

    Regards,

    Devin

    #125481

    Hey the rule is simply not specific enough.

    this should work fine:


    #top .sidebar .tab_titles .widget_tab_comments{ display:block; }

    the reason the comments tab is not displayed by default is because it wont fit properly into smaller sidebars.

    the second comments tab you can see when your rule is active is a fallback for browsers without javascript ;)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘ENFOLD's combo widget does not show "comments"’ is closed to new replies.