WordPress Pagination Not Working – Always Showing First Pages Content
Why your current code fails Your always getting the content of the first page, because the string of parameters passed to query_posts being encapsulated in single quotes prevents variables (as well as escape sequences for special characters other than $) to be expanded. query_posts(“post_type=videos&posts_per_page=9&paged=$paged”); would take care of that problem. query_posts(‘post_type=videos&posts_per_page=9&paged=’.$paged); would also. And finally, … Read more