WordPress.org

Forums

Travelify
[resolved] [closed] Theme Options > Custom Scripts missing since update (8 posts)

  1. lewysbjones
    Member
    Posted 2 years ago #

    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.

    Many thanks.

  2. Silkalns
    Member
    Theme Author

    Posted 2 years ago #

    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.

  3. lewysbjones
    Member
    Posted 2 years ago #

    Dear Silkalns,

    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 :)

  4. Silkalns
    Member
    Theme Author

    Posted 2 years ago #

    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"

  5. lewysbjones
    Member
    Posted 2 years ago #

    Thanks Silkalns,

    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?

  6. Silkalns
    Member
    Theme Author

    Posted 2 years ago #

    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 :)

  7. faxlain
    Member
    Posted 2 years ago #

    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

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else's topic.

    I am now closing this 5 month old resolved topic as it references an older version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic