Remove Author Name from Parament Theme for WordPress

Parament Theme with the author name

In Parament theme for WordPress author name is shown above each post by default and there is no option to remove it. If you don’t want to show author names you are at the right place.

Parament Theme without the author name

What you have to do is go to “Edit Themes” page (Appearance -> Editor) in WordPress admin panel and edit content.php.

        <div class="entry-byline">
            <span><?php
            printf( __( 'Posted by %1$s on %2$s', 'parament' ),                sprintf( '<a href="%1$s" title="%2$s">%3$s</a>',                    esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),                    esc_attr( sprintf( __( 'View all posts by %1$s', 'parament' ), get_the_author() ) ),                    esc_html( get_the_author() )                ),                '<a href="' . esc_url( get_permalink() ) . '">' . esc_html( get_the_date() ) . '</a>'            );            ?></span>
            <?php edit_post_link(); ?>
        </div>

Replace highlighted lines with the following:

        <div class="entry-byline">
            <span><?php
            printf( __( 'Posted on %1$s', 'parament' ),                '<a href="' . esc_url( get_permalink() ) . '">' . esc_html( get_the_date() ) . '</a>'            );            ?></span>
            <?php edit_post_link(); ?>
        </div>

Simple as that!

2 thoughts on “Remove Author Name from Parament Theme for WordPress

  1. I am having a different question about the Parament theme which you might be able to help me with.
    It is about the menu. I am using the theme for a standard website, so not just a blog and the standard menu, allowing me to add pages to pages and than showing them in a dropdown menu.
    If however I add pages to menu items at the end of the space, so the last in alphabet at the top row, the pages down in the menu are not visible/accessible, example you can see at my site down from “politiek”, there are pages in there that remain hidden because of lack of space, one has to unlock the browser and adjust the space by hand to be able to reach that content. In my case I am also using a 2nd monitor which has letter format, on that one the dropdown menu can’t be reached at all without unlocking the browser and adjust by hand.
    So my question is: are there ways to overcome this problem.
    Is there an option in using a different kind of layout for the menu?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>