Posts Tagged ‘pagiantion problem’

WordPress Custom post type and pagination problem – Error 404

Sunday, December 11, 2011 0:26 No Comments

1.5hour of pure frustration. After registering a custom post type, slug “news”, and creating a page “news” to display the latest posts the pagination just wouldn’t work. I was always getting a 404 error. Setting the permalinks to default and back to the old setting solved the problem. $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1; [...]

This was posted under category: Wordpress Tags: , , , , , ,