EventON – Dequeue Styles

TL;DR This is the answer: add_action( ‘wp_enqueue_scripts’, function() { wp_dequeue_style( ‘evo_font_icons’); wp_deregister_style( ‘evo_font_icons’); wp_dequeue_style( ‘evcal_cal_default’); wp_deregister_style( ‘evcal_cal_default’); wp_dequeue_style( ‘evo_single_event’); wp_deregister_style( ‘evo_single_event’); wp_dequeue_style( ‘evcal_addon_styles’); wp_deregister_style( ‘evcal_addon_styles’); wp_dequeue_style( ‘evo_addon_styles’); wp_deregister_style( ‘evo_addon_styles’); wp_dequeue_style( ‘evo_fc_styles’); wp_deregister_style( ‘evo_fc_styles’); wp_dequeue_style( ‘eventon_dynamic_styles’); wp_deregister_style( ‘eventon_dynamic_styles’); wp_dequeue_style( ‘evo_TX_styles’); wp_deregister_style( ‘evo_TX_styles’); }, 20); Explanation First of all: eventON is a pain to override styles with. … Read more

How to get the total count of Favorite/Favorited authors

This will help you to show how many author current user favorite others: Add this to your themes functions.php file <?php function get_fav_auth_count(){ if ( is_user_logged_in() ) { global $current_user; wp_get_current_user(); $count = size_of(get_user_option(‘favorite-authors’, $current_user->ID)); echo $count; } } ?> and call it like this <?php get_fav_auth_count(); ?>

I want the Widget title to set below contant

You have 3 options: copy widget files, rename the widget, change HTML output. With css, set container element to postion:relative, title element position:absolute and move it with bottom:0 and left:0.. Use javascript/jQuery to swap img and title element. 1 is the best solution. 2 & 3 are kinda hacky. I can’t give you any examples … Read more