Filter dashboard custom post listing by user

pre_get_posts is correct. the code from will prevent any non-admin from seeing anyone else’s posts. http://blog.rutwick.com/display-only-the-posts-authored-by-the-current-wp-user-on-the-posts-page-in-the-back-end to limit that to only 1 post type you’d add in one more condition and check $typenow == ‘your_custom_post_type’: add_action(‘pre_get_posts’, ‘filter_posts_list’); function filter_posts_list($query) { //$pagenow holds the name of the current page being viewed global $pagenow, $typenow; //$current_user uses … Read more

Advanced Permalinks plugin breaks RSS

Fixed this now, answering for anyone googling. In a recent version of WordPress the Permalink functionality has had quite an overhaul, making Advanced Permalinks unnecessary, at least in my use case. More info here.

get post custom value

I think you can better use get_post_meta(); Your code will look like this: <?php $site = get_post_meta(get_the_ID(), ‘projLink’, true); ?> <?php if(isset($site) && $site != “”) : ?> <span><p><a href=”https://wordpress.stackexchange.com/questions/38943/<?php echo $site; ?>”>Visit the Site</a></p></span> <?php else : ?> <p><em>Live Link Unavailable</em></p> <?php endif; ?> You use var_dump only for testing purposes (http://php.net/manual/en/function.var-dump.php).