3 months, 4 weeks ago email@example.comParticipant
Ok, so #3 solved the issue for the footer widget links. Thank you!
However, as for your solution for #2 (opening the text link in the Copyright section of the footer in a new window) – I had already done that. That’s the problem. As you can see from this screenshot, it’s already set to open in a new window, but it doesn’t: http://esargalienergy.wpengine.com/wp-content/uploads/Screen-Shot-2017-12-27-at-11.59.07-AM.png3 months, 4 weeks ago MirelaKeymaster
Do you have other third party plugins installed? Can you please enable the last credentials you send us in private reply, again? So i can give this a closer look.
Thanks!3 months, 4 weeks ago firstname.lastname@example.orgParticipant
SupportedThis reply has been marked as private.3 months, 3 weeks ago email@example.comParticipant
Still waiting on a response to the copyright link issue.
Also, I noted this earlier in this thread, but when I modified the file to open the social links in a new window, I first changed the code in the child theme and that didn’t fix the issue. When I changed it in the parent theme, it worked. But I don’t have time to go back in and modify these files in the parent theme every time you guys push out a theme update. I updated the theme with the last update (Dec. 21st), and you can see that the social media links no longer open in a new window. However, if you look under Appearance > Editor and go to the Child Theme, you’ll see that the modified theme files are all there. But the changes are only applied when they are made to the parent theme files. So how do I make these changes apply to the child theme?
Sorry for the late reply. We were on winter holidays.
1-For the copyright link, please go to file footer.php and find this line:
<div class="span12 desc"><div class="copyright_text"><?php echo wp_kses_data($simple_redata['copyright_text'], '', ''); ?></div>
Edit to this:
<div class="span12 desc"><div class="copyright_text"><?php echo $simple_redata['copyright_text']; ?></div>
2-Yes, you can make the change inside the child theme but make sure to have set the file in the same path as it is in parent theme. Example:
Child theme: \wp-content\themes\the-simple-child\includes\widgets\simple-socialwidget.php
Create the same folders even if they will contain only this file.
Best regards and happy new year!This reply has been marked as private.
Nope, that didn’t work.
Tat’s very strange. I tested it on my side and it works fine. Can you send me some valid ftp or cpanel credentials in a private reply? So i can give it a closer look myself. Don’t worry, your data is safe with us.
I will notify you the moment i log in and the moment i logout so you can disable them (credentials) as soon as the request is solved.
You can actually see all of the directories and files now in the WordPress Editor. At least the ones I’ve added to the child theme. Would you mind trying that first? I can re-send website login credentials for you if need be.
Let me know. Thanks!
Sorry for the late reply.
You are right, there was needed another little change in file functions.php. In line:
I changed the function to make the site to get the template of child theme first, and not the one of the parent. So i modified it to this:
If you check your site now, the file in child theme is being loaded and run.
Sorry but there is no other way to do this without changing the parent theme file.
Let me know.
Best regards!3 months, 1 week ago firstname.lastname@example.orgParticipant
That’s perfect! Thanks so much!! So my last question is will it continue to function this way when I update the theme or am I going to have to change this code in the functions.php file after each update?3 months, 1 week ago MirelaKeymaster
Yes, you will need to change it after theme update. Since this is a modification made in the parent theme and updates overwrite all theme parent files.
You must be logged in to reply to this topic.