Problem Description:

This modification uses the Handmade theme as an example, but can be applied to any Obox theme.

Do this at your own risk. We do not provide support for modified templates. When creating multiple modifications, we recommend building a child theme.

Answer:

We recommend using the WP Date Remover plugin if you are looking to remove dates completely everywhere. Note that some plugins/widgets may ignore it, but the plugin is pretty thorough. If you just want to remove them from posts, you can uncheck Date under Theme Options > General “Meta” section in themes that have this option.

You can try to influence which categories the date displays on by modifying fetch-list.php. Right before “<div>” on line 6, add:

<?php if(!in_category(10)) : ?>

You should now have:

<?php if(!in_category(10)) : ?>
<div>
<span><?php echo date_i18n(‘M’, strtotime($post->post_date)); ?></span>
<span><?php echo date_i18n(‘jS’, strtotime($post->post_date)); ?></span>
</div>

Replace the 10 with the ID for the category you DO NOT want the date to appear for. If more than one category, separate them with commas (10,11)

Below the last </div> you need to end the “if” statement. Add this tag:

<?php endif; ?>

The full code should now look like this:

<?php if(!in_category(10)) : ?>
<div>
<span><?php echo date_i18n(‘M’, strtotime($post->post_date)); ?></span>
<span><?php echo date_i18n(‘jS’, strtotime($post->post_date)); ?></span>
</div>
<?php endif; ?>

Repeat this for fetch-post.php.