WordPress.org

Support

Support » Themes and Templates » [Resolved] [Theme: Mon Cahier] Categories don't show in post footer

[Resolved] [Theme: Mon Cahier] Categories don't show in post footer

Viewing 6 replies - 1 through 6 (of 6 total)
  • Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

    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?

    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

    Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

    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.

    Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

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

    Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

    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.

    That was it! Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Theme: Mon Cahier] Categories don't show in post footer’ is closed to new replies.
Skip to toolbar