WordPress.org

Ready to get started?Download WordPress

Forums

Rotating Tweets (Twitter widget and shortcode)
[resolved] yourstyle.css being deleted after upgrade thru WordPress (6 posts)

  1. darwood
    Member
    Posted 1 year ago #

    Martin,

    I have noticed that if i update Rotating Tweets thru WordPress it deletes the yourstyle.css file. Not sure if this is a WordPress plugin update thing or Rotating Tweets. I have not been using WordPress for that long i recently updated to 3.5.1 and the last two Rotating Tweets updates had the same thing happen the last being 1.3.16. Not sure if this was happening prior. Thanks.

    http://wordpress.org/extend/plugins/rotatingtweets/

  2. Martin Tod
    Member
    Plugin Author

    Posted 1 year ago #

    It is. And I'm not sure how to stop this.

    I may need to withdraw the function. Alternatively I may need to find somewhere else to put the file.

    I'll look into it.

    Martin

  3. Martin Tod
    Member
    Plugin Author

    Posted 1 year ago #

    I've been reading around and it won't be possible to make this work by storing the file in the plugins/rotatingtweets/css/ directory since this gets deleted with every upgrade.

    We're going to have to put it somewhere else:

    • wp-content/
    • wp-content/plugin-css/ (although probably with a different filename - not yourstyle.css?)
    • wp-content/rotatingtweets/
    • wp-content/uploads/

    I don't really mind! Any preference?

  4. Martin Tod
    Member
    Plugin Author

    Posted 1 year ago #

    PS: In theory, I can make the plug-in look in all of the above - although it may slow things down a bit!

  5. darwood
    Member
    Posted 1 year ago #

    Probably the best place would be wp-content/plugin-css/ and call it rotating-tweets.css.

    Another option would be to save the css as part of the settings, those stay intact after an upgrade.

    Thank you for looking in to this.

  6. Martin Tod
    Member
    Plugin Author

    Posted 1 year ago #

    I've ended up going with wp-content/uploads/rotatingtweets.css - which is now supported by the latest version of the plug-in.

    I thought about saving the settings, but was concerned that it adds quite a bit of complexity.

    The functionality was originally created to allow personalisation back in the days when the plug-in only supported one format of tweet!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.