Hello guys,
My site: Sites Porno
Maybe someone can help me...
I use a wordpress theme where is possible to add an affiliate link in each post. This link appears in posts page (single.php file)
Screenshot: http://i.imgur.com/yd77eax.png
single.php code: Paste2.org - Viewing Paste 2jdds53V
Now I want to add the affiliate link in homepage too... changing includes/entry.php
But when I change from:
To:
And added this variables:
Doesn't work... the affiliate link appears only as "http://www.mydomain.com".
What am I doing wrong?
Screenshot: http://i.imgur.com/xFyJROc.png
entry.php code: Paste2.org - Viewing Paste YUa2dwvg
Can someone help me please?
Thanks!
__________________
Added after 4 Days 9 Hours:
Please, anyone?
My site: Sites Porno
Maybe someone can help me...
I use a wordpress theme where is possible to add an affiliate link in each post. This link appears in posts page (single.php file)
Screenshot: http://i.imgur.com/yd77eax.png
single.php code: Paste2.org - Viewing Paste 2jdds53V
Now I want to add the affiliate link in homepage too... changing includes/entry.php
But when I change from:
PHP:
<h2 class="title"><?php the_title(); ?></a></h2>
To:
PHP:
<h2 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> <a target="_blank" href="<?php echo $et_affiliate_link; ?>" rel="nofollow"><img border="0" src="http://www.sitesporno.xxx/imagens/visit.png" /></a></h2>
And added this variables:
PHP:
$et_affiliate_text = isset( $et_inreview_settings['et_affiliate_text'] ) && !empty($et_inreview_settings['et_affiliate_text']) ? $et_inreview_settings['et_affiliate_text'] : '';
$et_affiliate_link = isset( $et_inreview_settings['et_affiliate_link'] ) && !empty($et_inreview_settings['et_affiliate_link']) ? $et_inreview_settings['et_affiliate_link'] : '';
Doesn't work... the affiliate link appears only as "http://www.mydomain.com".
What am I doing wrong?
Screenshot: http://i.imgur.com/xFyJROc.png
entry.php code: Paste2.org - Viewing Paste YUa2dwvg
Can someone help me please?
Thanks!
__________________
Added after 4 Days 9 Hours:
Please, anyone?
Last edited: