WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Help Edit Code to not show byline in post (3 posts)

  1. IslandOwl
    Member
    Posted 1 year ago #

    Could someone please tell me the correct change to make on this code so that the (child) theme will not show the author or categories in the byline right under the post title. This is from the post.php file. Or the correct entry to put into my style.css?

    <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[entry-published] &middot; by [entry-author] &middot; in [entry-terms taxonomy="category" before=""] [entry-edit-link before=" &middot; "]', 'origin' ) . '</div>' ); ?>

    Website: DancingUpsideDown.com
    Theme: Origin

    TIA

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Try adding this to your style.css file:

    .byline {
       display: none;
    }
  3. IslandOwl
    Member
    Posted 1 year ago #

    You are awesome! That did it. Thank you!!

Topic Closed

This topic has been closed to new replies.

About this Topic