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 03-10-2009, 05:27 PM   #1
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,304
wordpress tip: show whats coming up next on your blog

Often at the end of a TV show, they play some clips of what's coming up in the next episode. It's interesting to watch (Provided they don't spoil things too much on you!), simple for them to do, and near enough guarantees you'll remember to tune in again next time.

So why not do the same with your blog?

If you use WordPress's future-posting to schedule your posts for a few days in advance, you can show parts of those posts on your blog beforehand to let people know there's more to come

Why Use It?

Let's say a reader visits your blog and sees a headline that they love the sound of but can't access yet, it's going to get their curiosity up

If you copy and paste the code below into your sidebar, you will get a list of all the upcoming posts on your blog.

Code:
<ul>
<?php $my_query = new WP_Query('post_status=future&amp;order=ASC'); ?>
<?php if ($my_query->have_posts()) : while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = $post->ID; ?>
<li><a href="<?php the_permalink() ?>" rel="bookmark" title="Read <?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; else: ?>
<li>No posts scheduled right now.</li>
<?php endif; ?>
</ul>
source: http://www.problogdesign.com/wordpre...-on-your-blog/
__________________
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 03-10-2009, 05:29 PM   #2
d-null
. . .
 
d-null's Avatar
 
Industry Role:
Join Date: Apr 2007
Location: NY
Posts: 13,724
wordpress is so 2008
__________________

__________________

Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs
Check out the #1 WordPress SEO Plugin: CyberSEO Suite
d-null is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-10-2009, 05:30 PM   #3
mozadek
Confirmed User
 
mozadek's Avatar
 
Join Date: Feb 2008
Posts: 1,325
Sounds good, thanks.
mozadek is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-10-2009, 06:33 PM   #4
hypedough
Confirmed User
 
hypedough's Avatar
 
Join Date: Sep 2007
Location: ** Now running NATS4: HypeDough.com! **
Posts: 3,743
Thanks fris, you f'n rock!
__________________

Ricky D :: Hype Dough President | XBIZ.net | ICQ 172-939-826 AIM+Skype HypeDough | [NATS4]
Kayden420: ['09 '10 '11 XBIZ Nominee | Exclusive & HD] | ThePornScout: [Exclusive + Reality | Amateurs Want to Become Pornstars]
hypedough is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-10-2009, 06:35 PM   #5
st0ned
Confirmed User
 
st0ned's Avatar
 
Industry Role:
Join Date: Mar 2007
Location: Arizona
Posts: 8,437
Your WP tips are always great fris, thanks.
__________________
Conversion Sharks - 1,000+ adult dating offers, traffic management, and consistently high payouts.
We will guarantee and beat your current EPC to win your dating traffic!
Skype: ConversionSharks || Email: info /@/ conversionsharks.com
st0ned is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-10-2009, 06:42 PM   #6
Houdini
Confirmed User
 
Join Date: Dec 2001
Location: SoCal
Posts: 1,651
That's pretty nice. It would be cool if you could add a thumb preview too. Have to work on that.
Houdini is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-10-2009, 06:59 PM   #7
TisMe
Confirmed User
 
Join Date: Aug 2008
Posts: 1,719
How would I set the number of scheduled posts it will show?

I see on the site linked that it can be done, just not sure how.
TisMe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-10-2009, 07:13 PM   #8
$5 submissions
I help you SUCCEED
 
$5 submissions's Avatar
 
Industry Role:
Join Date: Nov 2003
Location: The Pearl of the Orient Seas
Posts: 32,195
Good stuff as always, Fris
$5 submissions is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-10-2009, 07:16 PM   #9
TisMe
Confirmed User
 
Join Date: Aug 2008
Posts: 1,719
Found it, never mind and thanks for the tip.
TisMe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-10-2009, 08:31 PM   #10
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,304
using a query you can set numposts=x
__________________
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 03-10-2009, 08:33 PM   #11
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,304
Quote:
Originally Posted by Houdini View Post
That's pretty nice. It would be cool if you could add a thumb preview too. Have to work on that.
if you have an image attached to a post its not hard, Justin Tadlock has get_the_image plugin that will get an attached image of a post.

http://justintadlock.com/archives/20...rdpress-plugin
__________________
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



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.