Hide Question stat & related questions widget in sidebar

7.03K viewsGeneral
1

I am showing widgets in wordpress sidebar; and selecting visibility option in widget settings to show widgets on specific pages. Since wordpress is showing only my “home” page (which is anspress question-list page) and “questions” (base-page); i can only choose ‘questions’ page to selectively show Question stat & related questions widget. Its showing fine on single questions pages; but it is also showing on Ask page as ‘questions’ is the base page. Could anyone please suggest a solution or a workaround?

0

Widget Context is not hiding question stat on selected pages. did you create seperate page with shortcode to apply widget settings ?

commented on answer

Try to use show and the URL. I can assure you it works, since i’m using it on my live system. No shortcode or anything.

Use question stats widget only in question sidebar.

1

This works great:

 

Widget Context

 

Filter (or allow) by URL. That works with Anspress.

commented on answer

This worked like a charm. Filter by URL is what i needed. Thanks đŸ™‚

0

As discussed here you need to give try to conditional widget plugin. but i had no success doing so.

commented on answer

https://wordpress.org/plugins/widget-context/ — Select widgets to show/hide with URL as suggested by @Cagliostro. This is working with Anspress. đŸ™‚