Menu Close

Remove category from Recent Posts Widget Extended – WordPress plugin

You are here:
  • KB
  • Wordpress
  • Remove category from Recent Posts Widget Extended - Wordpress plugin
< Back

Locate the folder / File : wp-content / plugins / recent-posts-widget-extended / functions.php .

Edit the file and search for rpwe_get_posts function

Add the following code:

function rpwe_get_posts( $args = array() ) {
  $query['category__not_in'] = "ExcludeCategory";

Comments are welcome.

%d bloggers like this: