• Hello all

    I have many javascript who load in my front page there is some that is
    used only in single so i want exclude some javascrit to load in
    front page her is what i did but dosent work !

    <?PHP is_front_page(); { ?>
        </script>
    	<script type='text/javascript' src='https://apis.google.com/js/plusone.js'></script>
    	<script type='text/javascript' src='https://platform.twitter.com/widgets.js'></script>
            <script type="text/javascript" src="https://assets.pinterest.com/js/pinit.js"></script>
    	<script type="text/javascript"> <?PHP } ?>

    Thanks For help

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Exclude Javascript from Front Page’ is closed to new replies.