Menu Close
How Can We Help?
You are here:
Print

Remove category from Recent Posts Widget Extended – WordPress plugin

Locate the folder / File : wp-content / plugins / recent-posts-widget-extended / INCLUDES / 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.