Wordpress pros. Recent PAGES?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • IllTestYourGirls
    Ah My Balls
    • Feb 2007
    • 14311

    #1

    Wordpress pros. Recent PAGES?

    Is there a way to show your "recent PAGES" in the sidebar? While limiting the pages shown to the last X amount of pages? Like you can with recent posts.
  • Angry Jew Cat - Banned for Life
    (felis madjewicus)
    • Jul 2006
    • 20368

    #2
    look for a plugin called fuzzy widgets, i believe this has the function you're looking for if i remember correctly...

    Comment

    • Miguel T
      ♦ Web Developer ♦
      • May 2005
      • 12470

      #3
      From a bit of research I have done, I havent been able to find a plugin / code to show, lets say, latest 10 new pages.

      Full Stack Webdeveloper: HTML5/CSS3, jQuery, AJAX, ElevatedX, NATS, MechBunny, Wordpress

      Comment

      • just a punk
        So fuckin' bored
        • Jun 2003
        • 32385

        #4
        A special plugin? Huh

        Why don't you just add this:

        <h2><?php _e('Recent Posts') ?></h2>
        <ul>
        <?php wp_get_archives('type=postbypost&limit=PUT_YOUR_MAX_NUMBER_OF_POSTS'); ?>
        </ul>
        Obey the Cowgod

        Comment

        • IllTestYourGirls
          Ah My Balls
          • Feb 2007
          • 14311

          #5
          Because I am looking for recent PAGES

          Originally posted by cyberxxx
          A special plugin? Huh

          Why don't you just add this:

          <h2><?php _e('Recent Posts') ?></h2>
          <ul>
          <?php wp_get_archives('type=postbypost&limit=PUT_YOUR_MAX_NUMBER_OF_POSTS'); ?>
          </ul>

          Comment

          • just a punk
            So fuckin' bored
            • Jun 2003
            • 32385

            #6
            Originally posted by IllTestYourGirls
            Because I am looking for recent PAGES
            Hmm, I haven't thought about that. Why do you have so many pages at your blog? Just curious.
            Obey the Cowgod

            Comment

            • Angry Jew Cat - Banned for Life
              (felis madjewicus)
              • Jul 2006
              • 20368

              #7
              while we're in a wordpress pros thread i'll throw my question of the day out too, not trying to thread jack you or anything I'llTestYourGirls. I'll keep bumping this and hopefully we both get our answers.

              How can i include different elements within a theme to different category pages? is there a tag that will include specific areas of code, only on specific category pages? and exclude them on any other pages? same for including code on the main page and so on?

              Comment

              • IllTestYourGirls
                Ah My Balls
                • Feb 2007
                • 14311

                #8
                no prob jew cat

                Comment

                • IllTestYourGirls
                  Ah My Balls
                  • Feb 2007
                  • 14311

                  #9
                  sunday bump

                  Comment

                  • TheDoc
                    Too lazy to set a custom title
                    • Jul 2001
                    • 13827

                    #10
                    Code:
                    <?php wp_list_pages('title_li=<h2>Pages</h2>'); ?>
                    ~TheDoc - ICQ7765825
                    It's all disambiguation

                    Comment

                    • TheDoc
                      Too lazy to set a custom title
                      • Jul 2001
                      • 13827

                      #11
                      Originally posted by Angry Jew Cat
                      while we're in a wordpress pros thread i'll throw my question of the day out too, not trying to thread jack you or anything I'llTestYourGirls. I'll keep bumping this and hopefully we both get our answers.

                      How can i include different elements within a theme to different category pages? is there a tag that will include specific areas of code, only on specific category pages? and exclude them on any other pages? same for including code on the main page and so on?
                      Code:
                      <?php if ( is_category() ) : ?>
                      <h2 id="category-name-header">
                      <?php echo $cache_categories[$cat]->cat_name ?> Category</h2>
                      <?php add_filter('category_description', 'wpautop'); ?>
                      <?php add_filter('category_description', 'wptexturize'); ?>
                      <div id="category-description">
                      <?php echo category_description(); ?>
                      </div>
                      <?php endif; ?>
                      ~TheDoc - ICQ7765825
                      It's all disambiguation

                      Comment

                      • fris
                        I have to go potty
                        • Aug 2002
                        • 55805

                        #12
                        http://codex.wordpress.org/Template_...s_by_Post_Date
                        Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


                        My Newest Theme

                        Comment

                        • Angry Jew Cat - Banned for Life
                          (felis madjewicus)
                          • Jul 2006
                          • 20368

                          #13
                          Originally posted by TheDoc
                          Code:
                          <?php if ( is_category() ) : ?>
                          <h2 id="category-name-header">
                          <?php echo $cache_categories[$cat]->cat_name ?> Category</h2>
                          <?php add_filter('category_description', 'wpautop'); ?>
                          <?php add_filter('category_description', 'wptexturize'); ?>
                          <div id="category-description">
                          <?php echo category_description(); ?>
                          </div>
                          <?php endif; ?>
                          yup, the kind folks over at the wordpress forum ran me down the whole story on conditional inclusions. good stuff. learnt something new this morning

                          Comment

                          • CunningStunt
                            Confirmed User
                            • Aug 2006
                            • 5594

                            #14
                            If you don't mind doing it manually, use flexipages. great plugin.

                            Comment

                            • IllTestYourGirls
                              Ah My Balls
                              • Feb 2007
                              • 14311

                              #15
                              that might work. will only take two seconds to update the page list. Ill give it a try. thanks

                              Originally posted by CunningStunt
                              If you don't mind doing it manually, use flexipages. great plugin.

                              Comment

                              • CunningStunt
                                Confirmed User
                                • Aug 2006
                                • 5594

                                #16
                                No probs. I use that plugin quite a bit. It often crashes depending on the template / other plugins, but once you get the hang of the nuances, it's really a neat little plugin.

                                I should really try and learn all this php shiz too one day, but seems if you ask and look around a little, there's always a solution which is less effort than spending 20 hours per week learning it for 3 months

                                Comment

                                Working...