Problem with slider on off switch

Latest Reply from michaelh at 2012-10-08 19:16:33

Hello,

I am using the AutoZone Theme, and when I turn off the button so the slider does not show on the internal pages, it also turns off the slider on my home page.

I created my home page by removing the existing text on the sample page from my Wordpress installation, renamed it Home Page, and added my content. Was this perhaps the problem? Any suggestions?

Thanks!
Mike H.

Hi!
Could you write here an URL of your website?

http://www.bandrspeedsupply.com/

Hello? I posted the address of the website in question a few days ago as you requested, but I have not heard back from you yet...?

Hi!

Try to replace code

<?php
if ((is_home()&&$SMTheme->get( 'slider', 'homepage'))||(!is_home()&&$SMTheme->get( 'slider', 'innerpage')))
$SMTheme->block_slider();
?>

with

<?php
if ((is_front_page()&&$SMTheme->get( 'slider', 'homepage'))||(!is_front_page()&&$SMTheme->get( 'slider', 'innerpage')))
$SMTheme->block_slider();
?>

in the header.php file of the theme.

Thanks!

I changed the code in the header.php file as you suggested and it seems to be working fine now. :) Now I just need to get the problem solved with the contact form.

I posted another thread here, asking you about a problem I'm having with not receiving the email messages from the contact form. I tried changing the email address as you suggested, and checked the spam folder, but no luck. I'll keep checking my other post and hopefully you'll be able to help me solve that problem as well.

Thanks again!!

Leave a reply

Add codeAdd image