Results 1 to 3 of 3

Thread: Code for displaying recent post in woprdpress blogs

  1. #1
    Administrator Jennifer's Avatar
    Join Date
    Jul 2010
    Posts
    99
    ΑΡ Credit
    990

    Lightbulb Code for displaying recent post in woprdpress blogs

    I am using following code to display most recent post in my blog at home page...

    here is the code..
    Code:
    <?php wp_get_archives('type=postbypost&limit=10'); ?>
    above code shows 10 recently posted entries. we can change it according to our own choice..

  2. #2
    Junior Member
    Join Date
    Jul 2010
    Location
    Heaven
    Posts
    3
    ΑΡ Credit
    30
    In word press latest post is always on main page ?
    what this code will basically do ?
    plz explain

  3. #3
    Administrator Jennifer's Avatar
    Join Date
    Jul 2010
    Posts
    99
    ΑΡ Credit
    990

    Thumbs up

    Quote Originally Posted by Ali View Post
    In word press latest post is always on main page ?
    what this code will basically do ?
    plz explain
    Click image for larger version. 

Name:	xtremefast.JPG 
Views:	113 
Size:	45.8 KB 
ID:	64

    Is will show the links of latest post. where you will put this code.
    you can see in above screenshot, it is showing 10 latest entries. in the footer of my website..

Similar Threads

  1. Is it necessary to insert keyword in the post to get traffic?
    By Malcolm in forum Search Engines Talk
    Replies: 6
    Last Post: 09-07-2018, 07:25 AM
  2. Replies: 1
    Last Post: 11-13-2013, 08:33 AM
  3. Replies: 0
    Last Post: 11-08-2013, 03:18 AM
  4. Anyone else facing problem in WP post editor?
    By Faisal in forum Wordpress
    Replies: 5
    Last Post: 10-30-2013, 09:36 AM
  5. Can we use same alt text for similar images in a post?
    By Malcolm in forum Search Engines Talk
    Replies: 4
    Last Post: 09-05-2013, 05:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •