Help with Recent Post Displaying

  • Unknown's avatar

    I need help displaying recent posts on homepage: http://www.aplustoz.com

    ("showposts=1&offset=0");
    $my_query = new WP_Query( );
    echo "rnrrn";
    while ($my_query->have_posts())
    {
        $my_query->the_post( );
        echo "rnrrn<p>";
        the_content_rss( "", TRUE, "", 20 );
        echo "</p>rrnrrn<p><a href="";
        the_permalink( );
        echo "">";
        $news1 = get_option( "stylewp_news1" );
        echo $news1;
        echo " &raquo;</a></p>rrnrrn";
    }
    echo "rnrrn<div style="border-bottom:1px dotted #cccccc; margin-bottom:5px; padding:0px 0px 0px 0px; clear:both;"></div>rrnrrn";
  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for WordPress.com hosted blogs only. If you have a self-hosted WordPress blog you need to seek help at the WordPress.org forums, not here.

    If you don’t understand the difference, you may find this information helpful.

  • The topic ‘Help with Recent Post Displaying’ is closed to new replies.