Redirect specific author posts to another url

First of all… [is_author][1] doesn’t check if given user is author of current post. Straight from Codex: This Conditional Tag checks if an Author archive page is being displayed. This is a boolean function, meaning it returns either TRUE or FALSE. So it won’t help you. Another problem with your code is that you perform … Read more

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 User Avatar Image with link to Author and User name in Html Title tag?

My god 😛 It was as simple as html tags, I just didn’t know the correct wordpress functions to use. Here it go, for future reference: <a href=”https://wordpress.stackexchange.com/questions/305561/<?php echo get_author_posts_url( get_the_author_meta(“ID’ ), get_the_author_meta( ‘user_nicename’ ) ); ?>”> <img src=”<?php echo get_avatar_url( get_the_author_meta( ‘ID’ ) ); ?>” title=”<?php echo get_the_author(); ?>”> </img></a>