WordPress.org

Ready to get started?Download WordPress

Forums

Exclude Javascript from Front Page (2 posts)

  1. Dolomats0
    Member
    Posted 1 year ago #

    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='http://platform.twitter.com/widgets.js'></script>
            <script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script>
    	<script type="text/javascript"> <?PHP } ?>

    Thanks For help

  2. Dolomats0
    Member
    Posted 1 year ago #

    Week end is done "Thumb UP" :p

Topic Closed

This topic has been closed to new replies.

About this Topic