Change or delete Author URL in Genesis post info section
Updated On May 23, 2015 March 11, 2012 -Written ByBy default, author information is displayed at the end of post content on single post or article page. It shows author name with URL pointing to author profile URL (format like basicwp.com/author/admin). Few users may want to remove this author URL or show a different author URL (like that of different about page of the author). This can be easily implemented in Genesis WordPress theme framework.
Change author URL from post info section
Open funtions.php file section and add following code to modify author URL.
[cc]
/** Customize the post info function */
add_filter( ‘genesis_post_info’, ‘post_info_filter’ );
function post_info_filter($post_info) {
if (!is_page()) {
$post_info = ‘Posted on [post_date] Written by Editor [post_comments] [post_edit]’;
return $post_info;
}}
[/cc]
Above you can manually edit author name “Editor” and author URL “basicwp.com” as per your requirement.
Remove author URL linking from Genesis post info
If you only want to display author name without an active and click-able url to author profile, then add following code to functions.php file.
[cc]
/** Customize the post info function */
add_filter( ‘genesis_post_info’, ‘post_info_filter’ );
function post_info_filter($post_info) {
if (!is_page()) {
$post_info = ‘Posted on [post_date] Written by [post_author] [post_comments] [post_edit]’;
return $post_info;
}}
[/cc]
Above code removes hyperlinking of author name to its respective author profile URL. It simply display author name without click-able author profile url.
Hmm it appears like your website ate my first comment (it was extremely long) so I guess
I’ll just sum it up what I wrote and say, I’m thoroughly
enjoying your blog. I as well am an
aspiring blog blogger but I’m still new to the whole thing. Do you have any tips for rookie blog
writers? I’d certainly appreciate it.
i like your blog. because your blog is very informative. i get here some fantastic genesis themes tutorial. thanks for shearing all those posts with us.
Thanks, i found it now, i am using the Genesis Simple Edits plugin which has the short code you have above.