• Resolved Jenny Beaumont

    (@jennybeaumont)


    am posting this again with new title in the hopes of a response – could really use help on this:

    i have set up my archives page to only act as a summary for each category, and at the top of the page i have the category title & description appear. up to this point all is well.

    my problem is that i have a category2 where 7/8 posts are ALSO in category1, which has a total of 12 posts.

    when i link to category2, the correct category title appears as well as the appropriate posts, BUT i get the description of category1 instead.

    argh!

    i found that if i add another post to cat2 only, that seems to make things more “even”, and my cat2 description shows me the courtesy of appearing. however, this is not really a solution and only creates other problems.

    any ideas about how to make these categories play nice?

    (am only working locally so can’t show you online what’s happening)

    thnx,
    -jennyb

Viewing 1 replies (of 1 total)
  • Thread Starter Jenny Beaumont

    (@jennybeaumont)

    got it, had wrong code:

    good code: <?php echo category_description( $category ); ?>
    bad code: <?php $category = get_the_category(); echo $category[0]->category_description; ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple category conflict’ is closed to new replies.