Support » Plugin: Testimonial Rotator » Upgrading to 2.0 broke all my custom styles!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Hal Gatewood

    (@halgatewood)

    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!

    Brent

    (@colourstone)

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

    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

    Brent

    (@colourstone)

    Thanks Stephen! 🙂

    Brent

    (@colourstone)

    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

    Plugin Author Hal Gatewood

    (@halgatewood)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Upgrading to 2.0 broke all my custom styles!’ is closed to new replies.