Skip to content
Public Ticket #17424

Remove Author Link

Conversation thread

goffers replied

Customer Reply

wow very quickly!

Thank you for everything!

PenciDesign Supporter replied

Staff Reply

Hi,

1. Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

.author-url.url.fn.n {
    cursor: default;
    pointer-events: none;
}

2. Please remove all the previous custom code, then install and use this plugin: https://wordpress.org/plugins/wp-custom-author-url/. You can set the custom link as you want.

Regards,
PenciDesign.


goffers replied

Customer Reply

many thx guys! it's working

i've only two more thing:

1) Author is already clickable, it's possibile to completely remove that?

2) If i want to set a link to the other page (like bio or contact) how can i do?

Cheers

Danilo

PenciDesign Supporter replied

Staff Reply

Hi,

Please install the Code Snippet plugin, then create a new snippet with the following content:

add_filter( 'author_link', 'goffers_remove_author_link' );
function goffers_remove_author_link($link) {
    $link = '#';
    return $link;
}

Regards,
PenciDesign.

goffers started the conversation

Conversation Start

Hi all,

thx for the theme, i'd like to remove the link on the author show in any post, i'd like to show only the name 

how can i do?

Cheers

Danilo

Want to join this conversation or access attachments? Sign in first.