Viewing 2 replies - 1 through 2 (of 2 total)
  • You could add this code to the bottom of your theme’s functions.php file, after all other code:

    add_filter( 'pre_term_link', 'custom_author_link', 10, 2 );
    function custom_author_link( $link, $term ) {
    	if ( $term->slug === 'daisy-pettles' ) {
    		$link = '/about-daisy/';
    	}
    
    	return $link;
    }
    • This reply was modified 6 years, 3 months ago by Nick C.
    Thread Starter ionadmin

    (@ionadmin)

    Thanks, Nick – much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Author link’ is closed to new replies.