Support » Theme: Twenty Fourteen » Remove author link from single post view, archives, categorise

  • How do I remove the author link? I’d like to keep the date and comments, but remove the author link.


Viewing 6 replies - 1 through 6 (of 6 total)
  • I dont see the author link? Do you have a screenshot?

    It’s for a single post page. That is “standard” post type. It may be more proper to say the user / author of the post link.

    Here is a link to the screenshot


    Moderator Kathryn


    Automattic Happiness Engineer

    The author link has the class .byline so you can easily hide it with CSS:

    .entry-meta .byline {
    display: none;

    An easy way to add custom CSS like this is to install the Jetpack plugin and activate the Custom CSS module. You could also install a standalone custom CSS plugin, or create a child theme.

    Can you tell me where it is on the code ? i want to copy it to display it on pages as well.

    If you use a twentyfourteen-child, then paste the code below in your function.php

    function twentyfourteen_posted_on() {
        if ( is_sticky() && is_home() && ! is_paged() ) {
            echo '<span class="featured-post">' . __( 'Sticky', 'twentyfourteen' ) . '</span>';
        // Set up and print post meta information.
        printf( '<span class="entry-date"><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a></span>',
            esc_url( get_permalink() ),
            esc_attr( get_the_date( 'c' ) ),
            esc_html( get_the_date() )

    Hello Everyone,
    Are there any other options for accomplishing this. I am using WP 4.0 and the Twenty Fourteen theme plus a child theme. Pretty frequently people may not want to display the author or post date on the category or individual post view.
    I tried both of those options but my skill level is not high enough yet. I did not break anything that I know of but also was unsuccessful in hiding the date and author. I also tried the Plugin titled “WP Author, Date and Meta Remover”.

    In the meantime the solution is to use pages instead of posts.

    Are there are any other processes to remove the post date and author data?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove author link from single post view, archives, categorise’ is closed to new replies.