Blog post Date/Author/comments

Ask Creative Theme Installation, Settings & Configuration, Problem, Error & Bug Related Issues Here

Moderator: forum_m

Post Reply
nbandes
Posts: 1
Joined: March 28th, 2017, 1:00 am

Blog post Date/Author/comments

Post by nbandes » March 28th, 2017, 4:06 am

I want to remove these from the top of each blog post.

I also want to remove them from below the posts on the home page.

support_staff
Posts: 7018
Joined: February 26th, 2015, 1:40 pm

Re: Blog post Date/Author/comments

Post by support_staff » March 28th, 2017, 11:22 am

hiii,

1) To remove Date/Author/Comment form home, please edit home-blog.php file. In this file comment the code written from line no 33 to 44.

you will find this block in home-blog.php, comment it...

Code: Select all

<div class="meta post-meta">
                                <div class="post-date post-meta-content">
                                    <i title="<?php echo get_post_time( get_option('date_format'), true ); ?>" class="fa fa-clock-o"></i>
                                </div>
                                <?php $comment = wp_count_comments(get_the_ID()); ?>
                                <div class="post-comment post-meta-content">
                                    <a title="Comments" href="#"><i class="fa fa-comment-o"></i></a><?php comments_popup_link(' 0', ' 1', ' %'); ?>
                                </div>
                                <div class="post-link post-meta-content">
                                    <a title="Read More" class="post-meta-link" href="<?php the_permalink(); ?>"><?php _e('...','creative'); ?></a>
                                </div>
       </div>



2) and also add these css to custom.css -

Code: Select all

.blog-entry-meta{
	display: none !important;
}
above code will remove Date/Author/Comment from the top of each blog post.

Post Reply

Return to “Theme Installation, Settings & Configuration, Problem, Error & Bug”