Copy the following snippet and edit the message on line 5. Once done, paste it on your functions.php file and save function wptutsplus_text_after_title( $post_type ) { ... Read More
Simply drop this snippet in your functions.php or a plugin. function __my_registration_redirect(){ return home_url( '/my-page' ); } add_filter( 'registration_redirect', '__my_registration_redirect' ); Thanks TheDeadMedic for the tip! ... Read More
Put the function below in your functions.php file, then use it inside the loop in your template files. function get_link_url() { $content = get_the_content(); $has_url = ... Read More
Pasting the following code on your functions.php file will change the default yoursite.com/author/name to yoursite.com/profile/name. Replace profile on line 4 by any slug you want. add_action('init', ... Read More