Since updating to v1.4.3 of the Travelify theme I can no longer find the dialogue to change custom scripts in the theme options. I used this previously for Google Analytics tracking code and now need to edit this but can’t find where.
Unfortunately I had to remove these scripts from theme to follow WordPress.org guidlines. Analytics are in Plugin Territory, for more information you can check these guidlines: http://make.wordpress.org/themes/guidelines/guidelines-plugin-territory/
Now you have to either use plugin such as this one http://wordpress.org/plugins/google-analytics-for-wordpress/ or place your code directly into header or footer.
Thank you for your quick reply. I can easily change to a plug-in based deployment of my analytics code but I first need to remove the former version somehow. I am currently receiving the tracking data just fine so my tracking code is still active somewhere but I cannot see how to easily remove the old code. Please advise, many thanks 🙂
Sorry for late response.
Now the only option to remove analytics code is via database. Just search for code via phpmyadmin or other MySQL editor you use.
Settings were saved in table called “wp_options”
I have found the variable “_transient_travelify_headercode” in my database. Before I go editing the database can you confirm this is the value I should delete? Can I simply delete it in the phpadmin editor?
Yes, you can feel free to remove it. However, it is always recommended to backup your database. Just export entire database using phpmyadmin. You can never be too sure 🙂
Theme author or Lewysbjones can you help me, please? I’m so frustrated because I’ve the same issue but I’m not be able to manage my database like a programmer… I can’t change mysql data without more information: after than I open (by phpmyadmin) wp_option table what do I have to do? I can see three fields: 1.option_id 2.option_name 3.option_value and 4.autoload. How/where can I found the variable _transient_travelify_headercode? I’m so worried to do wrong things…
Thank you so much if you will help me
- The topic ‘Theme Options > Custom Scripts missing since update’ is closed to new replies.