Parent and Child WordPress Themes and the Themer’s Guide

Home Forums Calendar Products Events Calendar PRO Parent and Child WordPress Themes and the Themer’s Guide

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #81470
    Kevin Gilbert
    Participant

    In the details laid out in your Themer’s Guide, you instruct users to create a /tribe-events/ directory in /wp-content/themes/your-theme/. What if we’re using a child theme? Should the /tribe-events/ directory be created in the child or parent theme directory?

    #81476
    Barry
    Member

    Generally speaking it would make sense to place your overrides in the child theme.

    #81477
    Kevin Gilbert
    Participant

    Ok. Thanks. I just wanted to know best practice and try to avoid wasted time troubleshooting it if I chose the wrong way. I think, in theory, it will work either way, but from the standpoint of less maintenance when thmes/plugins are updated, the child theme made sense to me, too.

    #81480
    Barry
    Member

    Definitely.

    There are always going to be edge cases – but certainly for the majority of people a child theme makes sense, as it affords a clean and straightforward upgrade path when updates arrive for the parent theme, for example.

    #81488
    Kevin Gilbert
    Participant

    So, I’ve followed the instructions in the Themer’s Guide and I’ve placed the files in the directories as indicated. However, I can’t seem to get it to override the default style. I’ve tried having the /tribe-events/ in both child and parent now, too. I’ve cleared the cache with WPEngine, and I’ve cleared my browser cache and even tried a different browser on a different computer. When using Firebug, or Chrome or Safari’s dev tools, I can make and see the changes I’m wanting, but when I place that CSS in the tribe-events.css or tribe-events-pro.css, save and upload it, refresh the page…no changes.

    #81490
    Kevin Gilbert
    Participant

    Nevermind. It seems to be working now. Maybe it was a caching issue.

    #81547
    Kelly
    Participant

    Glad to hear it, wkeving. 🙂 We’re happy that it resolved itself. Do let us know if it rears its head again, though.

    By the way, if you have a minute or two, we will love it if you would write a few words for us here:
    http://wordpress.org/support/view/plugin-reviews/the-events-calendar?filter=5

    Thanks in advance. 🙂

    #982606
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Parent and Child WordPress Themes and the Themer’s Guide’ is closed to new replies.