• Resolved mvrck

    (@mvrck)


    Hello,
    I would like to remove a link automatically created when the post is published.
    I am talking about: Posted by ABCD, where ABCD is author name and it has link.

    I would like that link either to be removed, or to control to what page this link follows.

    Any thoughts?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Superb

    (@themeeverest)

    Hi @mvrck as always we don’t recommend that you change the php files because a single erorr can crash the entire website.

    The posted on code can be found under inc/template-tags.php on line 217:
    '<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>'

    Instead of changing it we recommend that you hide the entire byline if you’re not satisfied with it.

    Remember to take a backup & have FTP access ready to your site in case anything goes wrong!

    Thread Starter mvrck

    (@mvrck)

    Hello, thanks for the reply. So basically the best way to do it is to add a CSS code, right?
    What would be the hide code?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove author link from the post’ is closed to new replies.