- This topic has 3 replies, 10 voices, and was last updated 9 years, 8 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › WordPress Themes – Premium › Celestial (Celestial Reloaded) › Overwrite includes/theme-customizer.php
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
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.
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.
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.
With our premium themes, we offer access to site documentation, video tutorials and timely support. Even if you have just started on WordPress, our support staff have the patience to help you create appealing sites gracefully.
Company
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.To find out more, including how to control cookies, see here: Privacy Policy
© Copyright © 2023 Styled Themes. All Right Reserved.