I was able to remove the date from the single posts.
To remove the date in the DW Focus. Please follow the jetpack’s guideline in the Blog article on how to use Edit CSS here. http://designwall.com/blog/using-jetpack-custom-css-for-your-wordpress-site/
After that, just add the following code to the Edit Css.
#under-navigation .dw_focus_headlines .headlines .time_diff { display: none; }
.navbar .nav .menu-item-object-category .sub-mega-wrap .subcat span { display: none; }
– To remove the post info on the category page, you can open the content-archive.php file find the line 48 to line 52, then remove the following code:
<?php _e(' - ','dw-focus'); ?> <?php echo dw_human_time(); ?>
– if you want to remove the date from the single post you can add the following code to the Editor CSS:
.entry-date { display: none; }
Hope this helps !
The first two parts worked and removed the date from the Hot Topics and the Drop Downs.
This, however, did not work.
– To remove the post info on the category page, you can open the content-archive.php file find the line 48 to line 52, then remove the following code:
The content-archive.php file only has the second line of that code. And there are still dates with the author, category, etc … information on the
category pages – for example, http://goinggrayblog.com/gray-hair-glam/gray-hair-beauty-tips/
Also, the category page post content is cut off
To resolve this issue please follow my instruction here:
1. Add following code to custom wp_head in Dashboard / Appearance / Customizer / Custom code
<style>
@media (min-width: 980px) {
.archive .content-inner.layout-grid {
overflow: hidden;
}
.archive .content-inner.layout-grid .hentry {
height: auto;
border-bottom: 0;
margin: 0;
padding-top: 20px;
position: relative;
overflow: visible;
}
.archive .content-inner.layout-grid .hentry:before {
content: '';
position: absolute;
top: 0;
width: 500%;
height: 1px;
background: #ddd;
}
}
</style>
2. Open content-archive.php file in /wp-content/themes/dw-focus/content-archive.php
3. Replace following code – line 100
<?php the_excerpt(); ?>
with:
<?php the_content('Read more...'); ?>
Hope this helps !
Please login or Register to submit your answer