Twenty Fourteen
Remove author link from single post view, archives, categorise (7 posts)

  1. sandstar
    Posted 2 years ago #

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


  2. Euclides
    Posted 2 years ago #

    I dont see the author link? Do you have a screenshot?

  3. sandstar
    Posted 2 years ago #

    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


  4. 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.

  5. Doug
    Posted 2 years ago #

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

  6. wp_clover
    Posted 1 year ago #

    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() )
  7. IanEricson
    Posted 1 year ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.