• Resolved EchoDroides

    (@echodroides)


    Hello,

    I have been successful in completely removing the author and category from posts on the home page. But when you click to view an individual post, the author name and category are not there, but the “by” and “in” still are. Would like to hide these somehow.

    All edits are being made on the child page.

    Here is one example:
    http://echodroides.com/2014/01/14/song-licensed-japanese-film/

    Any help will be very much appreciated.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    you can put page.php in your child folder and then find this code (it should be on line 48):

    <?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; "]', 'oxygen' ) . '</div>' ); ?>

    replace it with:

    <?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( '[entry-published]' ) . '</div>' ); ?>

    I hope this helps!

    Thread Starter EchoDroides

    (@echodroides)

    Hi Kaniamea,

    Thanks for the suggestion, but unfortunately that code is not in the page.php file.

    The saga continues!

    Hmm, did you modify the original page.php file before?

    Thread Starter EchoDroides

    (@echodroides)

    No, never touched it. I created the child theme almost immediately after installing and do things through there.

    Oh, I know what is going on now! The page is post.php not page.php. So find the code above in post.php. Sorry about that 🙂

    Thread Starter EchoDroides

    (@echodroides)

    That did it! Thanks so much for your help! Really appreciate it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Need to Remove "by" and "in" from Individual Posts’ is closed to new replies.