Posts Tagged ‘problem’
WordPress Custom post type and pagination problem – Error 404
Sunday, December 11, 2011 0:26 No Comments1.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; [...]
WordPress – Weird characters after wordpress upgrade
Saturday, January 16, 2010 23:02 No CommentsIf you see weird characters after upgrading your wordpress version, the reason for that might be wrong character encodings. 1. Easy solution: – open wp-config.php for edit. – make sure you have empty values for define(’DB_CHARSET’, ”); and define(‘DB_COLLATE’, ”); 2. Convert all tables to UTF-8 – follow these steps. not tested yet!