update_post_meta not working

You are most likely not assigning the right page template. Make sure your template name is the same case as the file in your theme directory. Also make sure the file name you provide as the template actually exists in the theme directory otherwise it will be marked as the Default page template.

wp_pagination not displaying at top of page

query_posts() overwrites the original query, and the pagination gets the original before the query_posts() call and the changed after it. Solution: Don’t use query_posts(), filter pre_get_posts instead. We have tons of examples for that on our site. 🙂 Here is some pseudo code (meaning: not tested). add_filter( ‘pre_get_posts’, ‘wpse_58843_list_cat_16’ ); function wpse_58843_list_cat_16( $query ) { … Read more

Problem deleting posts from trash

Technically, defining define(‘EMPTY_TRASH_DAYS’, 0 ); in wp-config.php file should delete whatever is in Trash after zero days. I just tried it, but didn’t work immediately. I may have to wait for a day to see the result.