WordPress.org

Ready to get started?Download WordPress

Forums

Pink Touch 2
Issues modifying child theme (5 posts)

  1. flecceh
    Member
    Posted 2 years ago #

    Hi,
    I've added in a child theme based on Pink Touch 2, I'm making a change to the "pinktouch_post_data()" function to change the layout of some of the extra info. I can change this in the parent theme to accomplish what I'd like but obviously I'd prefer to make this change in the child theme.
    I've searched around the internet and people talk about add_action and remove_action. My issue is that this function has no add_action so I don't know how to remove the parent themes version of the function. Having them both in gives an error.
    I could rename the function in the child theme to something else, but then I have to change all of the post template pages aswell (which I'd also like to avoid).
    Could someone suggest how I can simply override this function in the child theme so it's picked up correctly?
    Thanks

    http://wordpress.org/extend/themes/pink-touch-2/

  2. flecceh
    Member
    Posted 2 years ago #

    bump :)

  3. sstrack
    Member
    Posted 1 year ago #

    I just took over managing the wordpress site that a friend used to run... and I am running into the same issue.

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    You may receive greater help when posting your own thread.

  5. sstrack
    Member
    Posted 1 year ago #

    Extremely helpful...

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic