[resolved] [Theme: Mon Cahier] Categories don't show in post footer (7 posts)

  1. lymeology
    Posted 3 years ago #

    "Posted in:" does not show up in the post footer. "Tagged:" does. How can I get the categories to show?

  2. Hi there. The posted in should show up...
    I have the demo site running here - http://mon-cahier.bluelimemedia.com/?p=358
    and both posted and tagged are there.

    Did you make any changes to the them?

    Can you provide a link to your site?

  3. lymeology
    Posted 3 years ago #

    I fiddled with the code when I saw it wasn't showing up, but before then I hadn't touched it and it didn't show up then either.

    Here's a link to my site: http://lymeology.com

  4. Have you tried deactivating all your plugins and see if the categories appear? It's hard to say if the fiddling with the code you did is the reason why these are not appearing.

    I just doubled checked again thinking that perhaps if a post is only in one category, the posted in won't show up(that would be weird) but that's not it. So I'm guessing that either a plugin is messing with the code or you need to re-install a fresh copy of the theme to fix the code changes you did.

  5. Actually.. hang on.. I think I know why.
    Your blog only has one category, so that's why.
    Try adding one more category.

  6. If you look at the theme file in the inc folder called template-tag.php
    on line 126, you have the following comment:

    -- Returns true if a blog has more than 1 category

    So if the blog only has one category, then the posted on doesn't show. It makes it a bit redundant, since there's only one of them.

  7. lymeology
    Posted 3 years ago #

    That was it! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic