View Single Post
Old 11-12-2016, 06:47 AM  
HomerSimpson
Too lazy to set a custom title
 
HomerSimpson's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
how about using wp shortcodes...

here's how to do it...

In posts you put these tags where you want those ads
[videoad1]
[videoad2]
[videoad3]

and in functions.php you simply add:

Code:
function videoad1_shortcode(){
	return 'ad1 html goes here';
}
function videoad2_shortcode(){
	return 'ad2 html goes here';
}
function videoad3_shortcode(){
	return 'ad3 html goes here';
}
add_shortcode('videoad1', 'videoad1_shortcode');
add_shortcode('videoad2', 'videoad2_shortcode');
add_shortcode('videoad3', 'videoad3_shortcode');
need more help... feel free to contact me... email in sig...
__________________
Make a bank with Chaturbate - the best selling webcam program
Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:
HomerSimpson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote