• Hi! I’m trying to add a spot into the PHP code below to that it calls on the website’s URL from their profile when they post as the href in the first a tag. I am using a child theme based off of Iconic One theme.

    $author = sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>',
    		esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    		esc_attr( sprintf( __( 'View all posts by %s', 'themonic' ), get_the_author() ) ),
    		get_the_author()
    	);

    Thank you!

The topic ‘Add Author's URL’ is closed to new replies.