Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7960631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:48:34+00:00 2026-06-04T04:48:34+00:00

I am using the ‘Special Recent Posts’ plug-in in WordPress. It is being used

  • 0

I am using the ‘Special Recent Posts’ plug-in in WordPress. It is being used to show header images and excerpts for articles, which you then click through to the full article.

You can set parameters on that plug-in to tell how many recent articles you would like show. Basically what I want to do is show the first five articles on the main page and then have the overflow go to new pages (like an ‘older posts’ type thing where there would be five posts per page).

Can anyone help me get pointed in the right direction? Every time I Google this question it doesn’t quite understand…Thanks.


EDIT:

I saw the first answer and while it is moving in the right direction, it doesn’t automatically generate the new pages like I would like. I want to have the overflow of special recent posts generate a new ‘previous’ page automatically. I understand that I could manually do this but the blog I am working on will be getting updated every day so it would be very time consuming to constantly create new pages as I go along. Can somebody point me in the right direction?


EDIT:
Here is the full code I have on my index.php:

<?php get_header(); ?>

<?php c2c_the_category_image($image_extensions='png gif jpg', $image_dir='/wp-content/images/', $use_name_if_no_image=true, $start_from='begin', $limit=999); ?>

<?php echo do_shortcode("[srp srp_number_post_option='34' srp_thumbnail_option='yes' srp_widget_title_hide_option='yes' srp_post_date_option='no' srp_wdg_excerpt_length='50' srp_wdg_excerpt_length_mode='fullexcerpt']"); ?>

<?php get_sidebar(); ?>

<?php get_footer(); ?>

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T04:48:39+00:00Added an answer on June 4, 2026 at 4:48 am

    The plugin has a parameter for this, from the documentation:

    //Global Post Offset (to skip an arbitrary number of posts from the beginning)
    srp_post_global_offset_option => numeric
    

    So, on the second page, to skip 5 posts and then show the next 5, you would want something like this:

    [srp srp_number_post_option='5' srp_post_global_offset_option='5']
    

    Documentation: http://wordpress.org/extend/plugins/special-recent-posts/installation/

    EDIT: To answer your question about generating new pages, technically you would not. You would have one page that would show different posts, acting like it was a different page. You would probably need use a query string (URL parameter). But, you can’t put direct PHP into a wordpress post, so you need to either modify a PHP file, or get a WordPress plugin like Shortcode Exec PHP, so you can take the page number parameter from the URL and put it into the shortcode for special recent posts.

    Example based on your index.php code:

    $offset = ($_GET['page'] * 5) - 5;
    echo do_shortcode("[srp srp_number_post_option='34' srp_thumbnail_option='yes'
    srp_widget_title_hide_option='yes' srp_post_date_option='no'
    srp_wdg_excerpt_length='50' srp_wdg_excerpt_length_mode='fullexcerpt'
    srp_post_global_offset_option='".$offset."']"); 
    

    Make your first page use

    index.php?page=1
    

    And your “Next Page” link:

    $next = $_GET['page'] + 1;
    echo '<a href="index.php?page='.$next.'">Next Page</a>';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using C# How can I show a document in richtextbox without scrollbars, But I
Using Server.Transfer to show a page that informs the user that the web site
Using LINQ on collections, what is the difference between the following lines of code?
using (var file_stream = File.Create(users.xml)) { var serializer = new XmlSerializer(typeof(PasswordManager)); serializer.Serialize(file_stream, this); file_stream.Close();
Using Nunit, I want to be able to write a test fixture that will
Using a restful resource in Rails, I would like to be able to insert
Using Flex 3, I would like to take an image snapshot such as this:
Using PHP, I can convert MySQL data or static table data to csv, Excel,
Using C# for ASP.NET and MOSS development, we often have to embed JavaScript into
Using top it's easy to identify processes that are hogging memory and cpu, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.