Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

set posts_per_page

global $wp_query;
$wp_query->set('posts_per_page', 1);
$wp_query->query($wp_query->query_vars);
Source by wordpress.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #set
ADD COMMENT
Topic
Name
1+9 =