WordPress.org

Ready to get started?Download WordPress

Forums

Lobster
[resolved] Subfolders in a child theme (3 posts)

  1. GioCo86
    Member
    Posted 8 months ago #

    Hi,
    I'm new of WordPress and I have some problems with the creation of a child theme.
    In particular I would like to modify inc/theme-options.php in my child theme to delete star icon, but my changes do not appear when I refresh the page.
    If I modify inc/theme-options.php in parent theme this edit appear, but I don't want to change parent theme to avoid losing the changes if I update.
    What should I do?
    Thanks and congratulations for the beautiful theme ;)

  2. ruphel
    Member
    Theme Author

    Posted 8 months ago #

    Hi GioCo86

    Sorry not to reply sooner, I was looking at this earlier today and have not yet found a proper solution. I look in to it more and get back to you ASAP.

  3. ruphel
    Member
    Theme Author

    Posted 8 months ago #

    GioCo86

    Sorry for the delay, but I had to update and then test the Lobster theme to address this issue.

    To enable child theme developers to overwrite the parent theme's sub-folders properly, I had to add some conditional logic to the Lobster's functions.php.

    You can now simply copy the theme-option.php file from lobster's 'inc' folder and place it in your child theme's 'inc' folder. Now you can edit and customize your own theme-options.php file which will overwrite the parents yet won't be overwrite when updating the parent theme.

    You can also now customize the custom-header.php and media.php also :)

    That means you can now change all the icons and fonts via your child theme :)

    You can download version 1.9.5 via the link below:

    http://wordpress.org/themes/lobster/developers/

    Thanks for your patience and for adding to the Lobster theme!

    Ruairi :)

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.