GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Halp! Wordpress: Navigating between single posts as default (https://gfy.com/showthread.php?t=1061937)

B.Barnato 03-21-2012 01:31 PM

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.

Brujah 03-21-2012 01:38 PM

You could change Settings / Reading / Blog Pages Show at Most = 1 Post

Add a pagination plugin if needed.

B.Barnato 03-22-2012 10:20 AM

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.

Brujah 03-22-2012 10:58 AM

Quote:

Originally Posted by B.Barnato (Post 18838756)
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

fris 03-22-2012 11:03 AM

you just want those 2 functions brujah listed

B.Barnato 03-22-2012 01:00 PM

Quote:

Originally Posted by Brujah (Post 18838828)
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 03-22-2012 01:01 PM

Quote:

Originally Posted by fris (Post 18838845)
you just want those 2 functions brujah listed

Thanks for confirming!

Brujah 03-22-2012 01:05 PM

Quote:

Originally Posted by B.Barnato (Post 18839125)
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?

B.Barnato 03-22-2012 01:16 PM

Quote:

Originally Posted by Brujah (Post 18839138)
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:thumbsup

fris 03-22-2012 04:23 PM

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.

B.Barnato 03-22-2012 04:41 PM

Quote:

Originally Posted by fris (Post 18839505)
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.


All times are GMT -7. The time now is 07:11 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123