Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Hey Andy,
    I guess it is a theme related issue because I did what is described in your links but exactly that doesn’t work…
    I just need to know which file is responsible for the categories and where I can find this “related posts” thing (not in the single.php, not in the category.php nor in the archive.php; where??? > this is theme related). I don’t know… please help!

    I’m using such a category-template right now for the category “Allgemein”, which means I created a category-allgemein.php file with the Code from the category.php. Then I changed some code but nothing happened. When I delete everything, nothing happens. So it seems like it doesn’t work, but i don’t know why!?

    Greets,
    Daniel

    Hey Andy,
    i can only find this tag in the single.php:

    //show related posts based on tags if there are any
    get_template_part( ‘includes/related-posts’);

    And I wonder why we’re talking about the single.php and not the category.php. Maybe I have to address the issue more precisely:

    Instead of showing a standard category page with related posts, I like to build the content of the pages more individual. So i have to remove the related posts tag at a first step. Furthermore, I think I have to create different category.php docs like “category-shoes.php” for the “shoes” category. There I remove the “related posts” tag and implement a php tag like “is-shown” or something else to address directly the name of the page/post i like to show.

    Is it clearer now?
    Thanks for your help.
    Daniel

    Hey Andy,
    thanks for your quick help! I didn’t try it yet, but for my understanding: your proposal will make the PHP-code, which manages to show the related posts, to a comment, right? so the related posts won’t appear anymore. That’s a good first step ;) but how can I define that a single page or post is shown instead?

    Greets,
    Daniel

    in reply to: Yoast Breadcrumbs #735265

    Hey Ismael,

    thanks for your help. This was exactly what I was searching for! Works!

    Best regards
    Daniel

Viewing 4 posts - 1 through 4 (of 4 total)