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/ on right side.
Thanks a lot for this awesome plugin.
- The topic ‘Exclude Category Bug’ is closed to new replies.