WordPress.org

Ready to get started?Download WordPress

Forums

Testimonial Rotator
Upgrading to 2.0 broke all my custom styles! (7 posts)

  1. Stephen S
    Member
    Posted 9 months ago #

    I upgraded this morning to 2.0 from 1.4, and all the styles and tags you were using are now different, causing my front end CSS to be a mess! Do you have a reference guide for what exactly you changed and why? It would be helpful in repairing this. Thanks!

    https://wordpress.org/plugins/testimonial-rotator/

  2. Hal Gatewood
    Member
    Plugin Author

    Posted 9 months ago #

    Ahh sorry about that! One of the first changes I made to this plugin was to remove the testimonial from a 'blockquote' and 'cite'. This was causing many problems with themes that were styling those elements with big quotations marks and borders and stuff. So I removed them into simple 'div' elements with specific class names.

    This will not change going forward but I forgot completely to make a note of that. Here is what the new HTML looks like as of version 2.0.1.

    <div class="testimonial_rotator_wrap with-prevnext">
    	<div class="testimonial_rotator hreview-aggregate cycletwo-slideshow format-rotator template-default">
    		<div class="slide slide1 testimonial_rotator_slide hreview itemreviewed item  cf-tr">
    
    			<div class="text testimonial_rotator_description">
    				<h2 class="testimonial_rotator_slide_title">Post Title of Testimonial (Highlight)</h2>
    				<div class="testimonial_rotator_stars cf-tr">
    					<div class="testimonial_rotator_star testimonial_rotator_star_1"><i class="fa fa-star"></i></div>
    					<div class="testimonial_rotator_star testimonial_rotator_star_2"><i class="fa fa-star"></i></div>
    					<div class="testimonial_rotator_star testimonial_rotator_star_3"><i class="fa fa-star"></i></div>
    					<div class="testimonial_rotator_star testimonial_rotator_star_4"><i class="fa fa-star"></i></div>
    					<div class="testimonial_rotator_star testimonial_rotator_star_5"><i class="fa fa-star"></i></div>
    				</div>
    				<div class="testimonial_rotator_quote">
    					Content of Testimonial
    				</div>
    				<div class="testimonial_rotator_author_info cf-tr">
    					<p>Testimonial Author Name</p>
    				</div>
    			</div>
    
    			<div class="testimonial_rotator_microdata">
    				<div class="fn">Author Name</div>
    				<div class="rating">2.0</div>
    				<div class="dtreviewed">2014-02-06T21:27:53+00:00</div>
    				<div class="reviewer"><div class="fn"><p>Author Name</p></div></div>
    				<div class="summary">Excerpt of Testimonial</div>
    				<div class="permalink">Link to Testimonial Single Page</div>
    			</div>
    		</div>
    
    		<!-- There is a <div class="slide"> for each testimonial with the code above -->
    
    	</div>
    </div>

    Now the only different between the widget version and the shortcode version is the wrapper classname .testimonial_rotator_widget_wrap You can use this style to target specifically the widget version.

    Hope this helps!

  3. colourstone
    Member
    Posted 9 months ago #

    Same problem here! Where can I download the old 1.4? I don't have time to fix all of this now.

  4. Stephen S
    Member
    Posted 9 months ago #

    you can go to the plugin page, then go to the Developer tab, then you will see a link to download 1.4, the old version

  5. colourstone
    Member
    Posted 9 months ago #

    Thanks Stephen! :)

  6. colourstone
    Member
    Posted 9 months ago #

    Sorry Hal,

    But this just doesn't work correctly now. I removed all of my custom CSS and it has nothing to do with things not displaying correctly. I guess I'll re-load v1.4 again. crap

  7. Hal Gatewood
    Member
    Plugin Author

    Posted 9 months ago #

    I also recommend going through and just re-saving all your rotators after you upgrade the plugin. Many settings were added at the 2.0 upgrade that may be causing some problems with installations that were created before 2.0. Resaving them will hopefully bring them up to speed.

    Also if anyone was old 'apply_filters' ways of changing the rotator speeds, this can now be done in the admin so it would be wise to remove those filters and save the variables in the admin.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags