If you change the name of custom post types, all the posts published with the previous name will lead to 404 error. Run this small SQL query to rename your post types and taxonomies without any problems. [php]UPDATE `wp_posts` SET `post_type` = ‘<new post type name>’ WHERE `post_type` = ‘<old post type name>’;[/php] [php]UPDATE `wp_term_taxonomy`
Archives for
WordPress Tips
Ultimate method to add post thumbanils to your wordpress theme
In this tutorial, I will show you the best method to add post thumbnail feature to your wordpress theme. This is what we are going to do. We will check if there is any image set in custom fields, if yes we display that image. Else we check if there is any image stored in