• My slider in my theme stopped working when I upgraded to WordPress 3.4.2. Below is the code. Can someone please help? Thank you!

    <header>
                		<div id="fwslider">
    							<?php
    						if(of_get_option('slide2_1') or of_get_option('slide2_2') or of_get_option('slide2_3'))
    						{
    
    							for($i=1;$i<=3;$i++)
    								{
    									if(of_get_option('slide2_'.$i))
    									{
    										if(of_get_option('slidelink2_'.$i))
    											echo '
    
    												<a href="' . of_get_option('slidelink2_'.$i) . '">
    													<img src="' . of_get_option('slide2_'.$i) . '" />
    												</a>
    
    											';
    										else
    											echo '
    
    												<img src="' . of_get_option('slide2_'.$i) . '" />
    
    											';
    									}
    
    								}
    								for($i=4;$i<=9;$i++)
    								{
    									if(of_get_option('slide2_'.$i))
    										if(of_get_option('slidelink2_'.$i))
    											echo '
    
    												<a href="' . of_get_option('slidelink2_'.$i) . '">
    													<img src="' . of_get_option('slide2_'.$i) . '" />
    												</a>
    
    											';
    										else
    											echo '
    
    												<img src="' . of_get_option('slide2_'.$i) . '" />
    
    											';
    								}
    						} else {
    							echo '
    							<a href="https://themeforest.net/user/KarmaThemes/portfolio"><img src="https://www.karmathem.es/quality/wp-content/themes/quality/images/sliderimg.jpg" /></a>
    						   	<a href=""><img src="https://www.karmathem.es/quality/wp-content/themes/quality/images/sliderimg2.jpg" /></a>
    						   	<a href=""><img src="https://www.karmathem.es/quality/wp-content/themes/quality/images/sliderimg3.jpg" /></a>	';
    						}
    
    							?>
    
                     	</div>
    
    		</header>
Viewing 3 replies - 1 through 3 (of 3 total)
  • What theme?

    Thread Starter Test

    (@scun10)

    It’s called Quality by Karma. They just closed down their theme services unfortunately so I’ll have to switch eventually but was hoping to fix this issue for the time being.

    idsbc

    (@idesignstudio)

    @scun10
    Get rid of this theme as soon as possible. Waste of time to try to make it work. The whole website dashboard is messed up after the WP update on a client website. I lost the client because of this theme and lack of support.

    Never buy anything from KarmaThemes as they are just washing their hands with their poorly coded themes by just dropping them. Very difficult to trust them on anything new they create. They should go back to school to learn how to code properly with WP and then try to do business again.

    The cheap way of dealing the site for our client went all way quite expensive. Do not make our mistake!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Code change to fix slider? WordPress 3.4.2 (not a plugin)’ is closed to new replies.