wordpress tip: show whats coming up next on your blog

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fris
    Too lazy to set a custom title
    • Aug 2002
    • 55682

    #1

    wordpress tip: show whats coming up next on your blog

    Often at the end of a TV show, they play some clips of what's coming up in the next episode. It's interesting to watch (Provided they don't spoil things too much on you!), simple for them to do, and near enough guarantees you'll remember to tune in again next time.

    So why not do the same with your blog?

    If you use WordPress's future-posting to schedule your posts for a few days in advance, you can show parts of those posts on your blog beforehand to let people know there's more to come

    Why Use It?

    Let's say a reader visits your blog and sees a headline that they love the sound of but can't access yet, it's going to get their curiosity up

    If you copy and paste the code below into your sidebar, you will get a list of all the upcoming posts on your blog.

    Code:
    <ul>
    <?php $my_query = new WP_Query('post_status=future&amp;order=ASC'); ?>
    <?php if ($my_query->have_posts()) : while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = $post->ID; ?>
    <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Read <?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
    <?php endwhile; else: ?>
    <li>No posts scheduled right now.</li>
    <?php endif; ?>
    </ul>
    source: http://www.problogdesign.com/wordpre...-on-your-blog/
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.
  • d-null
    . . .
    • Apr 2007
    • 13724

    #2
    wordpress is so 2008

    __________________

    Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
    Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs
    Check out the #1 WordPress SEO Plugin: CyberSEO Suite

    Comment

    • mozadek
      Confirmed User
      • Feb 2008
      • 1325

      #3
      Sounds good, thanks.

      Comment

      • hypedough
        Confirmed User
        • Sep 2007
        • 3743

        #4
        Thanks fris, you f'n rock!

        Ricky D :: Hype Dough President | XBIZ.net | ICQ 172-939-826 AIM+Skype HypeDough | [NATS4]
        Kayden420: ['09 '10 '11 XBIZ Nominee | Exclusive & HD] | ThePornScout: [Exclusive + Reality | Amateurs Want to Become Pornstars]

        Comment

        • st0ned
          Confirmed User
          • Mar 2007
          • 8437

          #5
          Your WP tips are always great fris, thanks.
          Conversion Sharks - 1,000+ adult dating offers, traffic management, and consistently high payouts.
          We will guarantee and beat your current EPC to win your dating traffic!
          Skype: ConversionSharks || Email: info /@/ conversionsharks.com

          Comment

          • Houdini
            Confirmed User
            • Dec 2001
            • 1651

            #6
            That's pretty nice. It would be cool if you could add a thumb preview too. Have to work on that.

            Comment

            • TisMe
              Confirmed User
              • Aug 2008
              • 1719

              #7
              How would I set the number of scheduled posts it will show?

              I see on the site linked that it can be done, just not sure how.

              Comment

              • $5 submissions
                I help you SUCCEED
                • Nov 2003
                • 32195

                #8
                Good stuff as always, Fris

                Comment

                • TisMe
                  Confirmed User
                  • Aug 2008
                  • 1719

                  #9
                  Found it, never mind and thanks for the tip.

                  Comment

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

                    #10
                    using a query you can set numposts=x
                    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                    Comment

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

                      #11
                      Originally posted by Houdini
                      That's pretty nice. It would be cool if you could add a thumb preview too. Have to work on that.
                      if you have an image attached to a post its not hard, Justin Tadlock has get_the_image plugin that will get an attached image of a post.

                      http://justintadlock.com/archives/20...rdpress-plugin
                      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                      Comment

                      Working...