public static function init() { if (!self::$initiated) { self::$initiated = true; self::init_hooks(); } }
</ul> <?php } else { ?> <p><?php esc_html_e('There are no conflicting plugins', 'lfapps-chat'); ?> </p> <?php } ?> </div> <div class='lfcomments-status-box'> <?php $posts_with_closed_comments = LFAPPS_Chat_Admin::select_nc_posts('post'); $pages_with_closed_comments = LFAPPS_Chat_Admin::select_nc_posts('page'); $count_posts_with_closed_comments = count($posts_with_closed_comments) + count($pages_with_closed_comments); ?> <h4><?php esc_html_e('Allow Comments/Chat Status', 'lfapps-chat'); ?> (<?php echo esc_html($count_posts_with_closed_comments); ?> )</h4> <?php if ($count_posts_with_closed_comments > 0) { ?> <p class="info">We've automagically found that you do not have the "Allow Comments" box in WordPress checked on the posts and pages listed below, which means that the Livefyre widget will not be present on them. To be sure that the Chat widget is visible on these posts or pages, simply click on the "enable" button next to each.</p> <p class="info">If you'd like to simply close commenting on any post or page with the Livefyre widget still present, you can do so from your Livefyre admin panel by clicking the "Livefyre Admin" link to the right,