• Resolved WMEric

    (@wmeric)


    Hello,

    I installed this and on the home page it works great, any other page it does not show.

    I looked at the source code and all the code for it is there, but I have no idea why it isn’t showing.

    Any ideas where to look?

    On the settings page at the bottom I have * to show on all pages and always on mode under schedule.

    Thank you

    https://www.ads-software.com/plugins/lively-chat-support/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anonymous User 9782929

    (@anonymized-9782929)

    Not sure… what is the site?

    Thread Starter WMEric

    (@wmeric)

    Hello Dallas I just sent you an email with the link and other info.

    Thanks

    Thread Starter WMEric

    (@wmeric)

    Just thought I would post back and change this to resolved.

    A big thank you to dallas22ca for his help.

    The problem I had was that the chat box wasn’t showing on any other page but the home page. I had a slider on the home page (bxslider) and it was calling the required JS to work. This in turn was conflicting with the JS from the chat box.

    Being that the slider was only on the home page I wrapped in in a conditional to check if it was the home page -> then out put the JS for the slider.

    Hope this helps someone else.

    <?php if( is_front_page() || is_home() ) : ?>
    	<script type="text/javascript">
    		$(document).ready(function(){
    		// your JS code here
    		});
    	</script>
    <?php endif  ?>

    The first line says if it is front_page.php or home.php or the home page set in admin -> Then run this <script>

    If it’s not the don’t do anything.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Does not display on any other page but home page’ is closed to new replies.