[theme-reviewers] Child theme settings overwriting parent theme settings

Emil Uzelac emil at uzelac.me
Wed Jun 18 21:33:58 UTC 2014


He will I am sure :)


On Wed, Jun 18, 2014 at 4:23 PM, Thomas Usborne <hello at edge22.com> wrote:

> Hi Emil,
>
>
>
> I did – but I figure he's super busy and wanted to get some ideas from
> other developers out there, in case I'm missing something obvious that I
> can do instead.
>
>
>
> No worries if not, I'll wait for his reply in the ticket.
>
>
>
> Thanks!
>
> Tom
>
>
>
> *From:* theme-reviewers [mailto:
> theme-reviewers-bounces at lists.wordpress.org] *On Behalf Of *Emil Uzelac
> *Sent:* Wednesday, June 18, 2014 2:20 PM
> *To:* Discussion list for WordPress theme reviewers.
> *Subject:* Re: [theme-reviewers] Child theme settings overwriting parent
> theme settings
>
>
>
> Tom,
>
>
>
> I am assuming that this is about the recent review/ticket, if so just ask
> him in the ticket directly.
>
>
>
> Thanks,
>
> Emil
>
>
>
> On Wed, Jun 18, 2014 at 4:12 PM, Thomas Usborne <hello at edge22.com> wrote:
>
> Hey guys,
>
>
>
> So I have a child theme that uses filters to change the parent theme's
> options which change the appearance of the theme.
>
>
>
> However, when using filters to change the default parent theme's settings,
> those defaults don't take place if the user has already saved their own
> custom options using the parent theme.
>
>
>
> This means when the user tries to install the child theme, it won't look
> as it should, because the defaults have already been changed by the user,
> and ignore the child theme's filters.
>
>
>
> Upon activation I had it so the parent theme's settings reset, making way
> for the child theme's settings.
>
>
>
> I thought this was the best way to remedy the situation, but I've been
> informed by Chip that child themes can't delete or overwrite the parent
> theme's settings.
>
>
>
> Do I have any other options here?
>
>
>
> Thanks!
>
> Tom
>
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140618/d402952e/attachment-0001.html>


More information about the theme-reviewers mailing list