Halp! Wordpress: Navigating between single posts as default

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • B.Barnato
    So Fucking Banned
    • Nov 2010
    • 3618

    #1

    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
    Beer Money Baron
    • Jan 2001
    • 22157

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

    Add a pagination plugin if needed.

    Comment

    • B.Barnato
      So Fucking Banned
      • Nov 2010
      • 3618

      #3
      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.

      Comment

      • Brujah
        Beer Money Baron
        • Jan 2001
        • 22157

        #4
        Originally posted by B.Barnato
        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

        Comment

        • fris
          Too lazy to set a custom title
          • Aug 2002
          • 55679

          #5
          you just want those 2 functions brujah listed
          Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

          Comment

          • B.Barnato
            So Fucking Banned
            • Nov 2010
            • 3618

            #6
            Originally posted by Brujah
            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...?

            Comment

            • B.Barnato
              So Fucking Banned
              • Nov 2010
              • 3618

              #7
              Originally posted by fris
              you just want those 2 functions brujah listed
              Thanks for confirming!

              Comment

              • Brujah
                Beer Money Baron
                • Jan 2001
                • 22157

                #8
                Originally posted by B.Barnato
                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?

                Comment

                • B.Barnato
                  So Fucking Banned
                  • Nov 2010
                  • 3618

                  #9
                  Originally posted by Brujah
                  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

                  Comment

                  • fris
                    Too lazy to set a custom title
                    • Aug 2002
                    • 55679

                    #10
                    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.

                    Comment

                    • B.Barnato
                      So Fucking Banned
                      • Nov 2010
                      • 3618

                      #11
                      Originally posted by fris
                      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.

                      Comment

                      Working...