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-21-2012, 01:31 PM   #1
B.Barnato
So Fucking Banned
 
Industry Role:
Join Date: Nov 2010
Posts: 3,618
Halp! Wordpress: Navigating between single posts as default

Halp!

Willing to pay for a solution or guidance to a solution.

I'd like to have navigation between posts as default on the index page.

In essence the way it is done on onestopfunny.com

Meaning that the next url navigated to is the next single post. This would also mean that the total number of posts would have to be in a loop eg newest to oldest and then grab the newest again once a cycle has been completed by the user.


I am using the headway 3.0 framework.
B.Barnato is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-21-2012, 01:38 PM   #2
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
You could change Settings / Reading / Blog Pages Show at Most = 1 Post

Add a pagination plugin if needed.
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-22-2012, 10:20 AM   #3
B.Barnato
So Fucking Banned
 
Industry Role:
Join Date: Nov 2010
Posts: 3,618
That would still be navigating by page though, just one post per page in this case or am I missing something?

I want to only navigate from post to post and remove page navigation altogether.
B.Barnato is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-22-2012, 10:58 AM   #4
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Quote:
Originally Posted by B.Barnato View Post
That would still be navigating by page though, just one post per page in this case or am I missing something?

I want to only navigate from post to post and remove page navigation altogether.
Ok, I think I understand it better. You want to edit your theme to use the functions:

next_post_link
http://codex.wordpress.org/Function_...next_post_link

previous_post_link
http://codex.wordpress.org/Function_...ious_post_link
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-22-2012, 11:03 AM   #5
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
you just want those 2 functions brujah listed
__________________
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-22-2012, 01:00 PM   #6
B.Barnato
So Fucking Banned
 
Industry Role:
Join Date: Nov 2010
Posts: 3,618
Quote:
Originally Posted by Brujah View Post
Ok, I think I understand it better. You want to edit your theme to use the functions:

next_post_link
http://codex.wordpress.org/Function_...next_post_link

previous_post_link
http://codex.wordpress.org/Function_...ious_post_link
Great, thanks for your help! I had been reading up on that before but was unsure if it was what I really needed.

Now how do I make the latest single post permalink the default upon site entry...?
B.Barnato is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-22-2012, 01:01 PM   #7
B.Barnato
So Fucking Banned
 
Industry Role:
Join Date: Nov 2010
Posts: 3,618
Quote:
Originally Posted by fris View Post
you just want those 2 functions brujah listed
Thanks for confirming!
B.Barnato is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-22-2012, 01:05 PM   #8
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Quote:
Originally Posted by B.Barnato View Post
Great, thanks for your help! I had been reading up on that before but was unsure if it was what I really needed.

Now how do I make the latest single post permalink the default upon site entry...?
If you set it to display only 1 post per page it should automatically show just the latest post. Add the previous post link near it and it should be good. Or did you want to redirect to the latest post and not have an index page?
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-22-2012, 01:16 PM   #9
B.Barnato
So Fucking Banned
 
Industry Role:
Join Date: Nov 2010
Posts: 3,618
Quote:
Originally Posted by Brujah View Post
If you set it to display only 1 post per page it should automatically show just the latest post. Add the previous post link near it and it should be good. Or did you want to redirect to the latest post and not have an index page?
Sorry, I just re-read what I wrote. That should do it.

Thanks again
B.Barnato is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-22-2012, 04:23 PM   #10
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
or you could make the post they come to the site as random, that way if you have a lot of images if you are doing a pic type site.
__________________
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-22-2012, 04:41 PM   #11
B.Barnato
So Fucking Banned
 
Industry Role:
Join Date: Nov 2010
Posts: 3,618
Quote:
Originally Posted by fris View Post
or you could make the post they come to the site as random, that way if you have a lot of images if you are doing a pic type site.
That would be cool too, yes it will be a pure picture site.

I bought the loopbuddy plugin on the spur of the moment a couple of days ago, still need to get my head around it and am not sure how close that will get me to the wanted result though.
B.Barnato 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.