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

This topic has 19 replies, 4 voices, and was last updated 10 years, 4 months ago ago by Jack Richardson

  • Avatar: grandasiapacific
    grandasiapacific
    Participant
    July 10, 2014 at 08:52

    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
    July 10, 2014 at 09:01

    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
    July 10, 2014 at 09:12

    Hi Jack,

    Yap I did.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 10, 2014 at 09:20

    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
    July 10, 2014 at 09:27

    In Private

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 10, 2014 at 09:36

    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
    July 10, 2014 at 09:49

    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
    July 10, 2014 at 10:19

    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
    July 10, 2014 at 10:33

    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
    July 10, 2014 at 11:38

    Hello,

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

    Regards,
    Jack Richardson

    Avatar: Eva
    Eva Kemp
    Support staff
    July 10, 2014 at 11:45

    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
    July 11, 2014 at 03:58

    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
    July 11, 2014 at 06:30

    Hi,

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

    Avatar: Robert Hall
    Robert Hall
    Support staff
    July 11, 2014 at 07:08

    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
    July 11, 2014 at 07:13

    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
    July 11, 2014 at 07:44

    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
    July 11, 2014 at 07:53

    Hello,

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

    Regards,
    Jack Richardson

    Avatar: grandasiapacific
    grandasiapacific
    Participant
    July 11, 2014 at 08:01

    Hi Jack,

    Thanks! I have solve the problem.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 11, 2014 at 08:19

    Hello,

    You’re welcome!

    Regards,
    Jack Richardson

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

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

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.