Forum Replies Created
-
AuthorPosts
-
[email protected]Member
no that can't be it - because i realized 1 was causing the problem for a long time now. i just installed additional one to see if it was also occuring there and it is.
December 25, 2012 at 4:57 pm in reply to: Inserting Specific Code on Homepage and Specific Pages #7410[email protected]MemberHi Everyone,
I figured out how to do this with Nick's help and I just wanted to post my response here. If you want to do this, you can do it easily through the genesis simple hooks as opposed to modifying any code in functions.php - benefit of this is that if you make a mistake your entire site won't crash.
Anyways if you want to include info for a particular page or a homepage you can use the following
<?php
if(is_page()) { ?>
Hello World
<?php }
?>Instead of Hello World you can place any code you want here. Place this code in in one of the boxes in genesis simple hooks (where you want it to go)
If you are looking to add something to all pages except for homepage than you would an an ! so the code would look like:
if(!is_home()) { ?>
Hello World
<?php }If you want to add code to a specific page then you must use is_page() instead of the is_home()
within the brackets you can place several things including page ID, post title or nothing to make it happen for all pages.I hope this helps! I'm sorry I can't put the link here in this to Nick's page for the credit or else this message will not post - there is some problem with the forum right now.
December 25, 2012 at 12:34 pm in reply to: Inserting Specific Code on Homepage and Specific Pages #7393[email protected]Memberhmm no that won't work here because its not for the footer of all pages its just for specific pages.
does anyone know how to use simple hooks for this problem?
December 25, 2012 at 12:24 pm in reply to: Inserting Specific Code on Homepage and Specific Pages #7390[email protected]Memberokay that worked - it looks liek you cant post links here in this forum...
it also means i can't insert my code either - but its in javascript
December 25, 2012 at 12:21 pm in reply to: Inserting Specific Code on Homepage and Specific Pages #7389[email protected]Memberyeah...it wont let me post the links....
ill try like this
the theme is agentpress
i would like to add specific code to the homepage
the website is wwwxforextradecomi would like to add specific code to this particular page wwwxforextradecom/binary-options-brokers
(add the dots after www and before com)
December 25, 2012 at 12:20 pm in reply to: Inserting Specific Code on Homepage and Specific Pages #7388[email protected]Memberyeah...it wont let me post the links....
ill try like this
the theme is agentpress
i would like to add specific code to
the website is www . xforextrade . comi would like to add specific code to this particular page: www . xforextrade .com /binary-options-brokers
(remove the spaces)
December 25, 2012 at 12:18 pm in reply to: Inserting Specific Code on Homepage and Specific Pages #7387[email protected]Memberok that's strange that it allowed me to post...
anyways : I am using agentpress theme
i would like to put specific tracking code before the closing tag on the homepage: http://www.xforextrade.com
I would like to put specific trackign code before the closing body tag on this specific page for example: http://www.xforextrade.com/binary-options-brokersDecember 25, 2012 at 12:16 pm in reply to: Inserting Specific Code on Homepage and Specific Pages #7385[email protected]Memberthis forum is acting strange, it won't let me post a response...this is a test
December 25, 2012 at 12:12 pm in reply to: Inserting Specific Code on Homepage and Specific Pages #7384[email protected]MemberHi
I am using agentpress
I would like to add code to my homepage: http://www.xforextrade.com
and also this page: http://www.xforextrade.com/binary-options-brokers
December 25, 2012 at 12:08 pm in reply to: Inserting Specific Code on Homepage and Specific Pages #7383[email protected]MemberHi,
I am using agentpress
I would like to add the following code to my homepage: http://www.xforextrade.com
<script type="text/javascript" src="http://www.xforextrade.com/piwik/plugins/ClickHeat/libs/js/clickheat.js"></script><noscript><p><a href="http://www.labsmedia.com/index.html">Traffic monetization</a></p></noscript><script type="text/javascript"><!--
clickHeatSite = 1;clickHeatGroup = 'homepage';clickHeatServer = 'http://www.xforextrade.com/piwik/plugins/ClickHeat/libs/click.php';initClickHeat(); //-->
</script>And I would like to add the following code to this page: http://www.xforextrade.com/binary-options-brokers
<script type="text/javascript" src="http://www.xforextrade.com/piwik/plugins/ClickHeat/libs/js/clickheat.js"></script><noscript><p><a href="http://www.labsmedia.com/clickheat/index.html">Landing page optimization</a></p></noscript><script type="text/javascript"><!--
clickHeatSite = 1;clickHeatGroup = 'binaryoptionsbrokers';clickHeatServer = 'http://www.xforextrade.com/piwik/plugins/ClickHeat/libs/click.php';initClickHeat(); //-->
</script>December 25, 2012 at 12:06 pm in reply to: Inserting Specific Code on Homepage and Specific Pages #7381[email protected]MemberHi,
I'm using agentpress
I would like to add the following code to the homepage:
<script type="text/javascript" src="http://www.xforextrade.com/piwik/plugins/ClickHeat/libs/js/clickheat.js"></script><noscript><p><a href="http://www.labsmedia.com/clickheat/index.html">Navigational analysis</a></p></noscript><script type="text/javascript"><!--
clickHeatSite = 1;clickHeatGroup = 'homepage';clickHeatServer = 'http://www.xforextrade.com/piwik/plugins/ClickHeat/libs/click.php';initClickHeat(); //-->
</script>And I would like to add the following code to this page: http://www.xforextrade.com/binary-options-brokers/
<script type="text/javascript" src="http://www.xforextrade.com/piwik/plugins/ClickHeat/libs/js/clickheat.js"></script><noscript><p><a href="http://www.labsmedia.com/clickheat/index.html">Landing page optimization</a></p></noscript><script type="text/javascript"><!--
clickHeatSite = 1;clickHeatGroup = 'binaryoptionsbrokers';clickHeatServer = 'http://www.xforextrade.com/piwik/plugins/ClickHeat/libs/click.php';initClickHeat(); //-->
</script> -
AuthorPosts