• Hello,

    If I am not getting help from the theme developer on a question about creating a child theme (the theme doesn’t seem to support the typical way to develop a child theme), where else can I turn for help?

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • That depends. Where did you download this theme from?

    Thread Starter COckert

    (@cockert)

    I downloaded the free version of the theme from WordPress.org. The theme is Squirrel.

    Why do you feel that the theme does not support child themes?

    just checked:

    the theme has a lot ‘get_stylesheet_directory_uri()’ code in the theme’s admin section.
    i.e. the theme options do not work in a child theme.

    Thread Starter COckert

    (@cockert)

    Yes, that is the problem (@alchymyth)… the theme options are not working.

    Is there a workaround?

    Erm – that should work in a child theme, shouldn’t it? It’s get_template_directory calls that are the real child theme killers.

    changing (almost) all occurrances of ‘get_stylesheet_directory_uri()’ in the parent theme into ‘get_template_directory_uri()’ gets the theme options working in the child theme.
    but this is obviously against the idea of using a child theme.

    otherwise you might need to duplicate the theme options folders and templates in the child theme, and call them from functions.php of the child theme.

    the question is, how likely is that theme going to be updated to keep up with the latest wp versions, so that creating a child theme would make sense.

    it might be the easiest to work with and edit the theme directly.

    changing (almost) all occurrances of ‘get_stylesheet_directory_uri()’ in the parent theme into ‘get_template_directory_uri()’ gets the theme options working in the child theme.

    Ah! Now I’m following you! I wonder if the theme dev did a blanket find & replace across all scripts at some point. The issues would then only become obvious when a child theme was attempted.

    Looking at the theme’s SVN, it’s been pretty solidly maintained & updated. Seems a shame that it’s being let down by this. I’ll ping the theme review team to see if they have any comments on this kind of situation. As far as I can tell, child theme support isn’t mandatory… yet.

    For now, what about cloning the theme to create a new standalone theme?

    Thread Starter COckert

    (@cockert)

    Thank you! I’ll try replacing the ‘get_stylesheet_directory_uri()’.

    FYI – the theme has been updated twice during the last two months. Otherwise, I would have given up on the child theme and just edited the theme directly.

    @cockert Thanks to let me know.

    I will push an update to the Squirrel theme to make it Child Theme friendly in couple of days.

    Regards,
    Neeraj

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Not Getting Help from a Theme Developer’ is closed to new replies.