Saturday 19 August 2017

Add manually limit number of post in WordPress

Here the code for Add  manually limit number of post in WordPress:

$args = array(
'post_type' => 'post',
'posts_per_page' => 12,
'paged' => $page,
);

query_posts($args);

No comments:

Post a Comment

Google Map Filter Api Example

Here is Google Map Filter Api Example: