Totally Zenned
- Join Date:
- May 2008
- Location:
- United States
- Posts:
- 516
- Plugin Contributions:
- 2
Exclude content in header on SSL pages
In the header I need to add something similar to what is below, however I do not what the code to load on pages that are SSL, can that be done?
<!-- Start Custom -->
<script type="text/javascript">var pr_style_sheet="http://custom_link";</script> <script type="text/javascript" src="http://custom_link"></script> <!-- End Custom -->I thought something like this may work however I can not get it to work, any help would be great!
<!-- Start Custom -->
<?php if ($request_type == 'NONSSL') {
<script type="text/javascript">var pr_style_sheet="http://custom_link";</script>
<script type="text/javascript" src="http://custom_link"></script>?>
<!-- End Custom -->