Overwrite includes/theme-customizer.php

Home Forums WordPress Themes – Premium Celestial (Celestial Reloaded) Overwrite includes/theme-customizer.php

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14892

    Hi,

    I’m using the Celestial Reloaded theme and I wanted to add a social media icon for github. The basic method is clear so far and is already described in this forum.
    However, I am not able to overwrite this file with the child theme (the custom field for github_uid is not added to the customisation form):
    includes/theme-customizer.php

    This file is included in functions.php which is not overwritten as far as I understand, but appended to the functions.php from the parent template.

    My guess is, that the following statement in the functions.php of the parent theme does not include the theme-customizer.php from the child theme:
    require ( get_template_directory() . ‘/includes/theme-customizer.php’ );

    I would be very thankful for a hint, how to customise the social media icons with the child theme,

    thanks and cheers,
    Dennis

    #19475
    Sushil Adhikari
    Moderator

    Everything that is related to the social bar will be these files:

    1. header.php
    2. style.css
    3. theme-customizer.php

    However, adding a new icon via a child theme is going to be a bit more tricky because you have to add more to the existing customizer file which is being called by the functions.php file. You would need to create a new functions file for the child theme plus a new customizer file.

    What I can do is add Github and a couple more icons as a theme update. This way you do not need to do this…only thing though is that I probably won’t be able to get to this until next week.

    #19480

    This would be great.
    It is not urgent though since for the moment I have hard-coded the icon and the link into the header.php of the child theme.

    #14893
    Sushil Adhikari
    Moderator

    Just a quick follow up… I am working on a new update version for Celestial Reloaded, and it will have several new social icons added, including Github.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.