Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-11-2016, 11:41 AM   #1
lakerslive
Confirmed User
 
Industry Role:
Join Date: Aug 2012
Posts: 929
Looking for Plugin that lets u insert ads

Between Posts. I am using a wordpress tube site

ex

Video 1
Video 2
Video 3
--ad--
video 4
video 5

tnx. I;'ve google around, nothin..
lakerslive is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-11-2016, 02:09 PM   #2
CaptainHowdy
Too lazy to set a custom title
 
CaptainHowdy's Avatar
 
Industry Role:
Join Date: Dec 2004
Location: Happy in the dark.
Posts: 93,403
Lil' bump for you ...
__________________
"Tjeezers.cam wishes you a nice day”
CaptainHowdy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-12-2016, 06:47 AM   #3
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
Old 11-14-2016, 07:13 AM   #4
Brian mike
#Alberta51
 
Industry Role:
Join Date: Oct 2014
Location: USA Territory (Alberta)
Posts: 8,235
I was looking for this for one of my site. Will try it out
__________________
Tube - Cam - Escorts - Top List
Menu Tab - Banner - Header Link - Blog Post
DM me
Brian mike is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2016, 01:37 PM   #5
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Quote:
Originally Posted by lakerslive View Post
Between Posts. I am using a wordpress tube site

ex

Video 1
Video 2
Video 3
--ad--
video 4
video 5

tnx. I;'ve google around, nothin..
you can add to the theme code to load after every 3rd post, you bascially check the post count in the loop.

just add it before the end of the loop, or wherever you want it to show up in the markup of the theme code.

something like this.

Code:
if ( ( $wp_query->current_post + 1 ) % 3 === 0 ) {
    echo 'after every 3rd post'; // add the html ad code here
}
or

Code:
<?php if ( ( $wp_query->current_post + 1 ) % 3 === 0 ) :?>

<a href="https://gfy.com"><img src="ad.jpg"></a>

<?php endif;?>
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2016, 02:53 PM   #6
HomerSimpson
Too lazy to set a custom title
 
HomerSimpson's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
Good point fris!
Somehow I overlooked the fact that it has to be inside a list...
%3===0 is the way to go...
__________________
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
Old 11-20-2016, 08:33 AM   #7
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Quote:
Originally Posted by HomerSimpson View Post
Good point fris!
Somehow I overlooked the fact that it has to be inside a list...
%3===0 is the way to go...
i think wp changed the way the post count is, when doing %3 === 0, it showed after the first post.

i think it counts first as zero, and second as 1
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
video, ad--, site, nothin, google, i;ve, tnx, tube, wordpress, insert, plugin, ads, posts



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.