Home › Forums › Support › Show category over post-title This topic has 6 replies, 2 voices, and was last updated 5 years, 4 months ago by David. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts December 9, 2020 at 4:33 am #1572649 Jens Hello, I want to move the category over the heading (generate_before_entry_title). The tags should remain below the post. How can this be achieved? I am using a child theme. Can this be done via a filter in the funktions.php, with hooks or do I need a new template? Thank you for your response. December 9, 2020 at 5:34 am #1572743 DavidStaff Customer Support Hi there, can you share a link to your site so i can see the current layout? And do you want to move this on Acrhives or single posts or both. December 9, 2020 at 6:06 am #1572801 Jens https://lichtenberg.info/ Both. Archive and single-post December 9, 2020 at 7:15 am #1573008 Jens Hello David, I was able to solve part of the problem. The category is displayed correctly. But it is not a link, just text. I used this filter in functions.php: add_filter( 'generate_hooks_execute_php', '__return_true' ); and this hook: <div class="navigation-title-container"> <div class="navigation-category"> <?php $category = get_the_category(); echo $category[0]->cat_name; ?> </div> </div> I need an idea for the category link Many thanks December 9, 2020 at 7:23 am #1573015 DavidStaff Customer Support OK so instead of: <?php $category = get_the_category(); echo $category[0]->cat_name; ?> Try: <?php echo generate_do_post_meta_item( 'categories' ); ?> December 9, 2020 at 7:43 am #1573040 Jens I am happy. Thank you very much. December 9, 2020 at 7:46 am #1573046 DavidStaff Customer Support Glad to hear that! Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In