Tagged: php
- This topic has 6 replies, 2 voices, and was last updated 7 years, 1 month ago by tikaram.
-
AuthorPosts
-
August 9, 2017 at 8:21 am #120214bjbarkerParticipant
Ok, my fault I’m guessing..
I have no child theme or backup…
I inserted a ‘functions JS’ for a dropdown menu (other than a WP plugin) in ‘functions php’ of Catch Adaptive pro and lost everthing.
This was the fourth time this happened and I’m just wondering why this is happening’
I tried copying the functions php from another CA pro site I had but to no avail.
If there is a solution – great, if not, well ‘living is learning’.
http://www.cs002.co/classicsites.coRegards,
BrianAugust 10, 2017 at 1:22 am #120228tikaramParticipant@bjbarker: You should never edit the Parent theme files directly. You should always create a child theme and add your additional codes to the child theme files. If you have access to the web server download the fresh copy of theme and upload it into your server. The theme files are uploaded to
wp-content/themes
folder. Replace the old theme with new theme files, your site should start working. Let me know if you need further assistance.Regards,
TikaramAugust 10, 2017 at 6:52 am #120239bjbarkerParticipantMany thanks, Tikaram,
A bit over my head but I’ll work on it.
I never did find out where to insert javascript.
I did find instructions to insert it in ‘header php’ between the meta tags and the stylesheet links but I don’t know where that space is.
Many thanks again,
Brian.August 10, 2017 at 7:53 am #120241tikaramParticipant@bjbarker:I recommend you to use Catch Web Tools Plugin to insert JavaScript on your Website. Install and active the plugin. To insert JavaScript click on WEBMASTER TOOLS on plugin menu. Then, click on
Header and Footer scripts
and insert your script on either header or footer part as required. This method is proper and secure and your site will not be down as well. Let me know if you need further assistance.Regards,
TikaramAugust 10, 2017 at 8:00 am #120242bjbarkerParticipantI’ve just followed your instructions and uploaded the new downloaded theme but that’s as far as I can go.
I’m still getting a blank page when I enter
cs002.co/classicsites.co/wp-admin
so I can’t reinstall CA pro.
This was all my fault, I don’t really want to be bothering you, it’s just that I learned so much
while doing the site I’m discussted with myself.
Brian.August 10, 2017 at 8:50 am #120244bjbarkerParticipantWow, that’s a great plugin, CSS SEO etc.
Any more Catch plugins I should know about?
Great Stuff Tikaram,
Brian.August 11, 2017 at 5:15 am #120276 -
AuthorPosts
- The topic ‘Altered PHP-Lost Everything’ is closed to new replies.