Frank Zunker
asked 7 years ago

Hi Dominic. Can you help me with the following theme modification. I want to change the position of date and category. it should apear in the left part of the page direct over share and author and not under the headline. I hope this is possible. Thanks Frank

1 Answers
answered 7 years ago

To resolve this issue, you can open the functions.php file then add the following code under line 458.

<div class="entry-meta">
<span class="title-action"><?php _e('Categories','dw_focus') ?></span>
<?php echo get_the_category_list(', '); ?>
<span class="time_diff"><?php echo ' - ' . dw_human_time_diff( get_the_time('U'), current_time('timestamp') ); ?></span>

Also, you need to remove the categories & date under title, you can open the content-single.php file, remove the following code(line 11).

<div class="entry-meta">
   <?php dw_focus_posted_on(); ?>
</div><!-- .entry-meta -->

Hope this helps !

replied 7 years ago

thanks Dominic. Works fine for me!

Powered by DW Question & Answer Pro