Title: Exclude Category Bug
Last modified: August 29, 2020

---

# Exclude Category Bug

 *  [Vinay Samant](https://wordpress.org/support/users/vinaysamant/)
 * (@vinaysamant)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/exclude-category-bug/)
 * hii gopi!
 * 1st of all, thanks for great plugin that works out of box! i m using it for one
   of my client. works good..
 * while creating new scroll of posts, i tried “Exclude categories” in display options.
   This does not work. Tried multiple combinations but all fail. So checked code.
   You have not considered this option while building $args array of get_posts()
   in vertical-scroll-recent-post/class-vertical-scroll-recent-post-widget.php on
   line number 117.
 * It says ‘category__in’ => explode( ‘,’, $vsrp_select_categories ),
    while it 
   should check if Exclude option is provided then set category__in or category__not_in..
   just 2 mins jobs for you! Kindly do it to make this plugin better..
 * I also made small changes to CSS :
    .vsrp_div{font-size: 18px !important; clear:
   both; line-height: 1.6;} .vsrp_div img{float: left;} .vsrp_div{height: auto !
   important; margin-bottom: 0.5em;} This makes it look very good. Check [https://sanwadmedia.com/](https://sanwadmedia.com/)
   on right side. Thanks a lot for this awesome plugin.

The topic ‘Exclude Category Bug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/vertical-scroll-recent-post_fdfdfd.
   svg)
 * [Vertical scroll recent post](https://wordpress.org/plugins/vertical-scroll-recent-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/vertical-scroll-recent-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/vertical-scroll-recent-post/)
 * [Active Topics](https://wordpress.org/support/plugin/vertical-scroll-recent-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/vertical-scroll-recent-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/vertical-scroll-recent-post/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Vinay Samant](https://wordpress.org/support/users/vinaysamant/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/exclude-category-bug/)
 * Status: not resolved