Hey there,
this is my website: www.herzgezeichnet.de/blog and I’d like to edit the post index page… I saw in another forum that I can add this to my functions.php:
function add_categories() {
if(is_home()) { ?>
<div class=“x-container max width”
<?php echo get_the_category_list(); ?>
<?php
}
}
add_action( ‘x_after_view_global__slider-below’, ‘add_categories’, 10 );
It worked excatly good!! Thanks for that! But now, the categories are shown as bullet points. I would like to have it like she has it: https://julia-hofmann.de/blog.html when you click on a category you only see the posts of it. Do you know what I mean? The categories in a row and with some colour behind.
Thanks Guys!!!