WordPress.org

Support

Support » Plugins and Hacks » Testimonials Widget » [Resolved] [Plugin: Testimonials Widget] Updates

[Resolved] [Plugin: Testimonials Widget] Updates

  • Hello,
    This is a great plugin – thanks!

    One problem I’ve been having – I updated the css to change the width of the lists, made the author line smaller and italicized. Whenever an update is made, it overrides my changes and so I have to copy and paste them back. Is there a way to retain changes to the css without saving and pasting them back in? I just worry that when I hand over the site to the client they will not be able to figure out how to change it back.

    Thank you,
    Jess

    http://wordpress.org/extend/plugins/testimonials-widget/

Viewing 8 replies - 1 through 8 (of 8 total)
  • I have the same problem and I guess it’s because when I do the plugin update, it removes the previously installed plugin and install a new one. Is there an area where we can just check the particular files being updated and just replace those files manually?

    Royald, that sounds like a good idea, or – not sure if this is possible with plugins – but is there a way to make a “child” for the style? Thanks again! 😉

    Plugin Author Michael Cannon

    @comprock

    I’m curious, why aren’t you guys aren’t using a custom stylesheet so that your plugin and theme stylings aren’t lost on updates.

    It’d be better that you go for the practice of using your own custom stylesheet which is included via your theme functions.php file or a custom functions file like the following.

    wp_register_style( 'testimonials-widget', plugins_url( 'testimonials-widget.css', __FILE__ ) );
    wp_enqueue_style( 'testimonials-widget' );

    Do keep in mind that the above is for a plugin’s CSS, but looking up the wp_register_style function on how it works will give you the right idea on including your custom stylesheets.

    Regarding file by file updates, technically, you could unzip the files locally and then manually push up the changes, but that’s a pain.

    Hi Michael,
    I do have a child style – I tried to include the plugin css in there (just the code I modified), but it did not pick up the style for some reason. I am still fairly new to the WordPress world, so I am sure there is something I am missing. Should it work if I paste the entire modified css into the child style?
    Thank you so much for making such a great plugin and thank you for your time.
    Kindest regards,
    Jess

    Plugin Author Michael Cannon

    @comprock

    Is your child theme’s stylesheet being included before or after the testimonial widget’s? If before, you might need to add another custom sheet which comes afterward.

    I would only put the CSS changes into the child. This way the overall page weight remains lower.

    I guess cos we are WordPress newbies 🙂
    Thanks for the tip though, great tip.

    Plugin Author Michael Cannon

    @comprock

    I fixed the CSS stylesheet in the footer issue with release 2.1.9, you might try your custom CSS changes again.

    AWESOME! Thanks, Michael! I just updated the plugin and it retained my modifications to the CSS. I hope all is well,
    Jess

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] [Plugin: Testimonials Widget] Updates’ is closed to new replies.
Skip to toolbar