Show Different Posts Per Page/category in WordPress Website

Many times you need to show different number of post per category page in WordPress. Use below code snippet do that.

Code For Show Different Posts Per Page.

Add this code in function.php of your theme

function five_posts_on_homepage( $query ) {
    if ( $query->is_home() && $query->is_main_query() ) {
        $query->set( 'posts_per_page', 5 );
add_action( 'pre_get_posts', 'five_posts_on_homepage' );

Surpluss now got a new design

eCommerce Website Development For Reused Product

Surpluss by TAM International is now one the fastest growing online store in India. Axis Web Art worked with them to redesign their website and we are happy to share the news of new website launch for And they are have stated getting overwhelming response in terms of sales and visits on the website.

Checkout details of the project and case study for surpluss magento development.


BootStrapp is Now Overcart

Unboxed eCommerce Website For Overcart has now become is now a leading online store for unboxed and refurbished products in India. Being a technology partner with Exit 10 Marketing from start, we have developed their new eCommerce website with magento. Checkout the new website with lovely user interface, fully responsive layout and enjoy shopping online.

Checkout more details of the project and a complete case study here



Looking to Get Started?

We have an online project planner that is the most simpler way to
get your project started. Start a Project