WordPress.org

Ready to get started?Download WordPress

Forums

Not Getting Help from a Theme Developer (11 posts)

  1. COckert
    Member
    Posted 1 year ago #

    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!

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    That depends. Where did you download this theme from?

  3. COckert
    Member
    Posted 1 year ago #

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

  4. esmi
    Forum Moderator
    Posted 1 year ago #

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

  5. alchymyth
    Forum Moderator
    Posted 1 year ago #

    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.

  6. COckert
    Member
    Posted 1 year ago #

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

    Is there a workaround?

  7. esmi
    Forum Moderator
    Posted 1 year ago #

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

  8. alchymyth
    Forum Moderator
    Posted 1 year ago #

    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.

  9. esmi
    Forum Moderator
    Posted 1 year ago #

    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?

  10. COckert
    Member
    Posted 1 year ago #

    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.

  11. InkThemes.com
    Member
    Posted 1 year ago #

    @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

Topic Closed

This topic has been closed to new replies.

About this Topic