FullStackMike
Regular Member
- Oct 1, 2009
- 404
- 137
Hi guys,
I'm trying to implement my locker into WP posts. I've consulted the manual, it says to put this code into the header of my theme file, header.php. Also contacted support, but being the weekend there they haven't replied yet, and im so fucking anxious to get started you don't understand
(ive been refreshing my emails every 5minutes for the past day 1 1/2)
<script type="text/javascript"
src="http://mydomain.com/clp/locker.js?guid=53333337[/URL]">
</script>
This does nothing when inserted, nothing is locked.
<?php if(is_post( array( 5, 11, 28, 31 ) ) ) { ?>
<script type="text/javascript"
src="http://mydomain.com/myfolder/locker.js?guid=24da6fb2923f1924">
</script>
<?php } ?>
Then this, but apparently is_post isn't a wordpress function?
Fatal error: Call to undefined function is_post() in /home/me/public_html/wp-content/themes/twentyeleven/header.php on line 27
Thanks
I'm trying to implement my locker into WP posts. I've consulted the manual, it says to put this code into the header of my theme file, header.php. Also contacted support, but being the weekend there they haven't replied yet, and im so fucking anxious to get started you don't understand
<script type="text/javascript"
src="http://mydomain.com/clp/locker.js?guid=53333337[/URL]">
</script>
This does nothing when inserted, nothing is locked.
<?php if(is_post( array( 5, 11, 28, 31 ) ) ) { ?>
<script type="text/javascript"
src="http://mydomain.com/myfolder/locker.js?guid=24da6fb2923f1924">
</script>
<?php } ?>
Then this, but apparently is_post isn't a wordpress function?
Fatal error: Call to undefined function is_post() in /home/me/public_html/wp-content/themes/twentyeleven/header.php on line 27
Thanks