How to hide post date, author, time etc - by grandasiapacific

Solved18 replies4 participantsUpdated by Jack Richardson

  • Avatar: grandasiapacific
    grandasiapacific
    Participant

    Hi,

    I have search through the forum and came across this code but it doesnt help.

    .post-info {
    display:none;
    }

    Is there any other code that can hide all the information below the post title?
    Including the time, date, author, cat, comment etc …

    18 Answers

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    Did you set up custom.css as it described in our documentation before code inserting?
    Here is a video tutorial how to set up custom.css: https://www.youtube.com/watch?v=Qok2zRedRMY&feature=youtu.be.

    Regards,
    Jack Richardson

    Avatar: grandasiapacific
    grandasiapacific
    Participant

    Hi Jack,

    Yap I did.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    Then could you please provide us with wp-admin and FTP credentials in Private Content and we’ll take a look at you problem?

    Regards,
    Jack Richardson

    Avatar: grandasiapacific
    grandasiapacific
    Participant

    In Private

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    We’re sorry but we unable to log in because you forgot to include link to the site.

    Regards,
    Jack Richardson

    Avatar: grandasiapacific
    grandasiapacific
    Participant

    Oh Im so sorry about it!
    Here you go.
    Thanks a lot Jack!

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    As we can see there is no post data in the page: http://maiboerduojiu.com/%E4%BA%AB%E5%8F%97%E6%B3%A2%E5%B0%94%E5%A4%9A/%E8%91%A1%E8%90%84%E9%85%92%E8%A1%8C%E4%B8%9A%E5%8A%A8%E6%80%81/
    Could you please clarify with more details what is wrong?

    Regards,
    Jack Richardson

    Avatar: grandasiapacific
    grandasiapacific
    Participant

    Sorry, my explanation wasn’t well.
    How do i hide the post date, admin etc information under the post title as seen in the attached?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    As we can see on the blog page there is no post data:

    Regards,
    Jack Richardson

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    To remove post info from the sidebar you need comment 2 lines in the file wp-content/themes/legenda/framework/widgets.php (lines 368, 369).

    Regards,
    Eva Kemp.

    Avatar: grandasiapacific
    grandasiapacific
    Participant

    Hi Jack,
    Yeah. The issue is resolved. Thank you!

    Hi Eva,
    Can you further advise, what do i have to do with the 2 lines in the file wp-content/themes/legenda/framework/widgets.php (lines 368, 369)?

    Avatar: grandasiapacific
    grandasiapacific
    Participant

    Hi,

    May i know how to i remove/hide the “leave a reply” portion under every post as well?

    Avatar: Robert Hall
    Robert Hall
    Participant

    Hello,

    To remove post info from the sidebar you can change this code (on line 368, 369)

    <?php _e('by', ETHEME_DOMAIN) ?> <strong><?php the_author(); ?></strong><br>
    <?php the_time(get_option('date_format')); ?>
    

    replace on

    <!--  <?php _e('by', ETHEME_DOMAIN) ?> <strong><?php the_author(); ?></strong><br>
    <?php the_time(get_option('date_format')); ?> --> 

    Regards,
    Robert Hall.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    You should comment out this two lines (368, 369).

    To remove leave a reply section you should edit comments.php file and comment out the following line comment_form(); (line number 43).

    Regards,
    Jack Richardson

    Avatar: grandasiapacific
    grandasiapacific
    Participant

    Hi Robert, Thanks! The issue is resolved.

    Hi Jack, Im sorry but i dont quite get it. How do i comment out the line?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    The following article should help you: http://php.about.com/od/learnphp/qt/php_comments.htm

    Regards,
    Jack Richardson

    Avatar: grandasiapacific
    grandasiapacific
    Participant

    Hi Jack,

    Thanks! I have solve the problem.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    You’re welcome!

    Regards,
    Jack Richardson

The issue related to '‘How to hide post date, author, time etc’' has been successfully resolved, and the topic is now closed for further responses