Hi,
Thanks for your advise, it seems not a good idea to change so many files, don’t worry I will not proceed. As I just wanted to remove the date of certain post category ie snoring.
And I have tested the below method may works although with error status of missing date when checking with structural markup tool. I have edited the post-date.php. I would like to hear your suggestion on this, thanks
<div class="postmeta updated">
<div class="postdate bg-lightgray headerfont" itemprop="datePublished">
<?php if ( in_category('snoring') ) : ?>
<?php else: ?>
<span class="postday"><?php echo get_the_date('j'); ?></span>
<?php echo get_the_date('M Y');?>
<?php endif; ?>
</div>
</div>