How to remove Post "by" and "author"

This topic has 17 replies, 5 voices, and was last updated 9 years, 10 months ago ago by Eva Kemp

  • Avatar: Vincent_Tigger
    Vincent_Tigger
    Participant
    September 18, 2014 at 07:05

    Hi to the 8Theme,

    I would need some help with the following items, so can you please help me:
    1. How to remove the “by” and author’s name from the following pages:
    HOME page in the widget “Recent Posts”;
    Blog landing page under the title of the blog post preview;
    Post page itself under the title of the blog post.
    2. On the ‘Portfolio” page, how to remove the “Posted on … by Vincent Falardeau / category”.
    3. Can you please verify in the Editor style.css, if I have activated the “child theme” properly, because the System Status of WooCommerce says “Is Child Theme: No”, so I am wondering what it means.

    Thanks for your help,

    Vincent

    Please, contact administrator
    for this information.
    16 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    September 18, 2014 at 09:11

    Hello,

    Add this code into custom.css file or style.css of the Child Theme.

    .portfolio-item .post-info, .blog-post.post-grid .post-information .post-info{
    display:none;
    }

    Your configuration of the child theme is good. This status does not affect to work with your theme.

    Regards,
    Robert Hall.

    Avatar: Vincent_Tigger
    Vincent_Tigger
    Participant
    September 18, 2014 at 17:46

    Hi Robert,

    Thanks for your solution, it solved most of what I have asked for, but there is still the word “by” that shows up. As for example on both of these pages, right after the date (http://vincentvisions.com/next-trip/ ,and on http://vincentvisions.com/thanks/) this is what still on “Posted on August 4, 2014 at 10:40 pm by / uncategorized / 0”, I would like please to keep everything excepted the word “by”, that I would like to get rid of.

    Thanks again, best regards,

    Vincent

    Avatar: Eva
    Eva Kemp
    Support staff
    September 18, 2014 at 19:31

    Hello,

    I’ve added the following code into custom.css file:
    .posted-by {display: none;}

    Please check your site pages now.

    Regards,
    Eva Kemp.

    Avatar: Vincent_Tigger
    Vincent_Tigger
    Participant
    September 18, 2014 at 22:49

    Thanks to you all for the great help!
    Cheers,
    Vincent

    Avatar: Robert Hall
    Robert Hall
    Support staff
    September 19, 2014 at 05:36

    Hello,

    You’re welcome!

    Regards,
    Robert Hall.

    Avatar: Rin
    Rin
    Participant
    December 6, 2014 at 20:42

    Hello there!

    I got the same question. I added .posted-by {display: none;} into both custom.css file or style.css. but it is still showing after “by”. Please see below,

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    December 8, 2014 at 10:10

    Hello @Rin,

    Please remove the changes you’ve made in style.css file and provide us with FTP and wp-admin panel credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: Rin
    Rin
    Participant
    December 9, 2014 at 09:42

    Thank you for your replay. Please see below

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    December 9, 2014 at 12:55

    Hello @Rin,

    You didn’t rename default.custom.css to custom.css.
    How to create custom.css you can watch in this tutorial (it’s for Legenda theme but the process is the same).
    Please add this code in custom.css file:

    .meta-post {
       display: none;
    }

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: chndr
    chndr
    Participant
    January 10, 2015 at 16:07

    Hi, I only want to delete the time-format.

    So it look like this:

    Posted on 10 january 2015 in category.

    I always deleted the hard codes in the php files but lost this after updates.. So thanks for the custom css.

    But I cannot find the php-files for the hard code in the element Post Grid or Raster. Where can I find these or how to delete the time-format?

    See screenshot for the place I mean in private content

    Many thanks!

    Please, contact administrator
    for this information.
    Avatar: chndr
    chndr
    Participant
    January 10, 2015 at 16:24

    Sorry, it was easier to send the link. See private content. Thanks

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    January 10, 2015 at 16:43

    Hello @Rin,

    Please provide us with a page link where you want to remove time post.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: chndr
    chndr
    Participant
    January 10, 2015 at 17:08

    Hi Eva, I already placed in the private content. See link in the private content 🙂

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    January 10, 2015 at 17:48

    Hello @chndr,

    To remove time you need edit the file wp-content/themes/legenda/content-portfolio.php, find the code

    <div class="post-info">
               <span class="posted-on">
               <?php _e('Posted on', ETHEME_DOMAIN) ?>
               <?php the_time(get_option('date_format')); ?> 
               <?php _e('at', ETHEME_DOMAIN) ?> 
               <?php the_time(get_option('time_format')); ?>
    </span> 

    and remove or comment this line <?php the_time(get_option('time_format')); ?>

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: chndr
    chndr
    Participant
    January 10, 2015 at 18:01

    Hi, it is not my portfolio page. It is a page with a widget with my posts.. I delete the line in the content-portfolio.php but it didn’t work.

    Regards,
    Chander

    Avatar: Eva
    Eva Kemp
    Support staff
    January 10, 2015 at 18:44

    Hello @chndr,,

    Please provide us with FTP credentials.

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 17 results - 1 through 17 (of 17 total)

The issue related to '‘How to remove Post "by" and "author"’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.