function vortex_system_after_post($content)
 {
     $vortex_like_dislike = get_option("vortex_like_dislike");
     if (function_exists('bbp_get_reply_id')) {
         if (bbp_get_reply_id() != null) {
             $id = bbp_get_reply_id();
         } else {
             $id = get_the_ID();
         }
     } else {
         $id = get_the_ID();
     }
     if (!empty($vortex_like_dislike['v_exclude_category'])) {
         $array = $vortex_like_dislike['v_exclude_category'];
         if (has_category($array)) {
             return $content;
         }
     }
     if (!empty($vortex_like_dislike['v_exclude_post_types-p'])) {
         $array = $vortex_like_dislike['v_exclude_post_types-p'];
         if (in_array(get_post_type($id), $array)) {
             return $content;
         }
     }
     if ($vortex_like_dislike['v_button_show'][1] && is_page() && is_main_query()) {
         return $content . vortex_render_for_posts();
     } elseif ($vortex_like_dislike['v_button_show'][2] && is_main_query() && !is_page() && !is_singular()) {
         return $content . vortex_render_for_posts();
     } elseif ($vortex_like_dislike['v_button_show'][3] && is_singular('post')) {
         return $content . vortex_render_for_posts();
     } elseif ($vortex_like_dislike['v_button_show'][4] && !is_main_query()) {
         return $content . vortex_render_for_posts();
     } elseif ($vortex_like_dislike['v_button_show'][5] && is_singular() && !is_singular('post')) {
         return $content . vortex_render_for_posts();
     } else {
         return $content;
     }
 }
 function vortex_shortcode_render_posts_disable_dislike($atts)
 {
     extract(shortcode_atts(array('counter' => true), $atts));
     if ($counter == "yes") {
         return vortex_render_for_posts(false, true);
     } else {
         return vortex_render_for_posts(false, false);
     }
 }
 function vortex_shortcode_render_posts_disable_dislike()
 {
     return vortex_render_for_posts(false);
 }