WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] how to remove "posted in (category)" (4 posts)

  1. lala100
    Member
    Posted 11 months ago #

    I'm trying to remove the words "posted in...(category)" below each post in my twenty eleven child theme. I've been following the advice in this discussion:

    http://wordpress.org/support/topic/edit-twenty-eleven-11-theme?replies=18

    Am I missing something? I've removed all of the wording suggested, and nothing happens. I'm not familiar with how function.php files work. So far, I've just deleted info in my child theme's function.php. Should I also make changes to the parent's function.php?

    Here's a link to my site:
    GrimmAles.com

    Thanks!!!!!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 11 months ago #

    So far, I've just deleted info in my child theme's function.php.

    Why are there any functions at all in the child#'s functions.php file? a child theme should always start with an empty function.php file - or it can lack the file completely if you do not want to customise any of the parent's functions.

    Should I also make changes to the parent's function.php?

    Absolutely not! That would completely negate the point of having a child theme in the first place. Starting with content.php you need to create custom copies of the post format template files (the ones with the file names content-xxx.php) and remove the code/markup that you do not want between <footer class="entry-meta"> and </footer>.

  3. Aditya Pandey
    Member
    Posted 11 months ago #

    Are you sure you setup child theme? Did you activated it in Dashboard> Appearance> Themes?

    functions.php in child theme is usually blank and inherits functions.php from Parent theme.

    You need to just add lines of code you want in functions.php of child theme. Changes should reflect immediately.

    @esmi: Sorry, cross posted.

  4. lala100
    Member
    Posted 11 months ago #

    Thanks for your replies. Esmi, I did exactly what you suggested, and it worked!

Reply

You must log in to post.

About this Topic