WordPress Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mutt
    Too lazy to set a custom title
    • Sep 2002
    • 34431

    #1

    WordPress Question

    where can I set how many blog entries per page I want displayed in WP?

    thanks
    I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
  • marko13
    Confirmed User
    • Apr 2004
    • 7512

    #2
    options>reading> first one...
    We are responsible for your hosting ... Enjoy in your life.
    Shared hosting from $3.95 Europe Linux VPS plans from $11.37
    http://www.LVPSHosting.com

    Comment

    • beta-tester
      Rock 'n Roll Baby!
      • Sep 2004
      • 22562

      #3
      Options>Reading>Show at most: xx posts

      Sig for sale. Affordable prices. Contact me and get a great deal ;)

      My contact:
      ICQ: 944-320-46
      e-mail: manca {AT} HotFreeSex4All.com

      Comment

      • Mutt
        Too lazy to set a custom title
        • Sep 2002
        • 34431

        #4
        thanks - i was lazy - found it.
        I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!

        Comment

        • SlamDesigns
          Confirmed User
          • Jul 2005
          • 2339

          #5
          What they said. lol. You can also set how many posts you want to display in your feed from that same page, I believe.

          Comment

          • marko13
            Confirmed User
            • Apr 2004
            • 7512

            #6
            Originally posted by Mutt
            thanks - i was lazy - found it.
            no problemos...
            We are responsible for your hosting ... Enjoy in your life.
            Shared hosting from $3.95 Europe Linux VPS plans from $11.37
            http://www.LVPSHosting.com

            Comment

            • jayeff
              Confirmed User
              • May 2001
              • 2944

              #7
              And if you want to over-ride the global setting, you can also place this on the line immediately before the beginning of "The Loop":
              Code:
              <?php if (is_home()) { query_posts('showposts=10'); } ?>
              ...changing "home" for whatever page(s) you want to have specific settings and the showposts parameter for whatever number you want.

              Comment

              • SlamDesigns
                Confirmed User
                • Jul 2005
                • 2339

                #8
                Originally posted by jayeff
                And if you want to over-ride the global setting, you can also place this on the line immediately before the beginning of "The Loop":
                Code:
                <?php if (is_home()) { query_posts('showposts=10'); } ?>
                ...changing "home" for whatever page(s) you want to have specific settings and the showposts parameter for whatever number you want.
                Why would you want to do that? Not questioning you on it...just wanting to know the advantages to doing that.

                Comment

                • jayeff
                  Confirmed User
                  • May 2001
                  • 2944

                  #9
                  Originally posted by SlamDesigns
                  Why would you want to do that? Not questioning you on it...just wanting to know the advantages to doing that.
                  Okay, here is one possibility...

                  Surfers like to quickly scan a page before choosing what to read in depth. It is therefore a good idea to make that easy for them, so rather than having full posts on main and archive pages, show them summaries.

                  WordPress has an "excerpt" feature, but it only pulls out a certain number of words from the beginning of a post. More useful for the above-mentioned summaries is the optional "extract" box into which you can write a concise but informative summary of a post.

                  Whichever method you choose, you could decide to show, say, 10 such summaries on your main page to make it fast loading and easy to scan, but - because by selecting a category or archive the surfer has indicated a more specific interest - allow 20 summaries to display on category and archive pages.

                  And another...

                  Perhaps you let full posts show on your category and archive pages, in which case you might want to have a global setting of 5 posts or less. But good usability practise suggests that your main page would be better with at most a single post and/or a longer list of summaries. Once again the over-ride is useful.

                  Comment

                  • Brujah
                    Beer Money Baron
                    • Jan 2001
                    • 22157

                    #10
                    Originally posted by SlamDesigns
                    Why would you want to do that? Not questioning you on it...just wanting to know the advantages to doing that.
                    query_posts is also useful if you want to exclude a category, or if you only want the front page to use a specific category, etc.. very useful. Was just learning this myself. I should've known to ask jayeff first.. and not have wasted so much time researching it myself.

                    Comment

                    Working...