User | Post |
1:21 pm March 23, 2012
| Eric – PersonalProfitability.com
| | Portland, OR | |
| Member
| posts 2120 |
|
|
|
Anyone know why this didn't work?
//Affiliate disclaimer
function disclaimer() {
() {
?>
<div style="font-family: arial; font-size: 10px;">
Please note that Narrow Bridge Finance has financial relationships with some of the merchants mentioned here. Narrow Bridge Finance may be compensated if consumers choose to utilize the links located throughout the content on this site and generate sales for the said merchant
</div>
<?php
}
add_action(thesis_hook_footer', 'disclaimer')
//End Disclaimer
|
|
|
4:23 pm March 23, 2012
| The College Investor
| | San Diego, CA | |
| Admin
| posts 1935 |
|
|
|
Extra apostrophe on the "thesis_hook_footer"
|
|
|
1:43 pm March 25, 2012
| Eric – PersonalProfitability.com
| | Portland, OR | |
| Member
| posts 2120 |
|
|
|
You're right, but that didn't do it. Are you allowed to add two functions to one hook?
|
|
|
2:28 pm March 25, 2012
| The College Investor
| | San Diego, CA | |
| Admin
| posts 1935 |
|
|
|
Just find the hook that has your copyright and add that line to it.
|
|
|
11:22 am March 26, 2012
| moneysmarts
| | |
| Member | posts 240 | |
|
|
Eric – NarrowBridge.net said:
Anyone know why this didn't work?
//Affiliate disclaimer
function disclaimer() {
() {
?>
<div style="font-family: arial; font-size: 10px;">
Please note that Narrow Bridge Finance has financial relationships with some of the merchants mentioned here. Narrow Bridge Finance may be compensated if consumers choose to utilize the links located throughout the content on this site and generate sales for the said merchant
</div>
<?php
}
add_action(thesis_hook_footer', 'disclaimer')
//End Disclaimer
Here's what i have for one of my footer functions that works – modified for yours…
function disclaimer() {
?>
<div style="font-family: arial; font-size: 10px;">
Please note that Narrow Bridge Finance has financial relationships with some of the merchants mentioned here. Narrow Bridge Finance may be compensated if consumers choose to utilize the links located throughout the content on this site and generate sales for the said merchant
</div>
<?php }
add_action('thesis_hook_footer','disclaimer');
|
|
|
8:00 am March 27, 2012
| Suba @ Wealth Informatics
| | |
| Moderator
| posts 1876 |
|
|
|
Eric you have an extra () { remove that and try…
|
|
|
1:21 pm March 27, 2012
| Eric – PersonalProfitability.com
| | Portland, OR | |
| Member
| posts 2120 |
|
|
|
You were both right. Also, turned out I needed an extra ; at the end of the last line. Here is what worked:
//Disclaimer
function disclaimer() {
?>
<div style="font-family: arial; font-size: 10px;">
Please note that Narrow Bridge Finance has financial relationships with some of the merchants mentioned here. Narrow Bridge Finance may be compensated if consumers choose to utilize the links located throughout the content on this site and generate sales for the said merchant
</div>
<?php
}
add_action('thesis_hook_after_footer', 'disclaimer');
//End Disclaimer
|
|
|