Forums

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

  1. IslandOwl
    Member
    Posted 6 months 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 6 months ago #

    Try adding this to your style.css file:

    .byline {
       display: none;
    }
  3. IslandOwl
    Member
    Posted 6 months ago #

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

Reply

You must log in to post.

About this Topic