PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

MDTF widget disappear in result page (conditional widget)

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see blue-green button on the right side) and press Save button.
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello. I need the widget to only appear in a certain category so I use it in conjunction with the "Widget Options" plugin. (same result with widget logic) Everything works fine as long as one does the research. The widget disappears from the results page.

I set "Widget Options" to show the widget only in a specific category. In the MDTF widget the results (and reset) page is the same chosen category. I created custom taxionomies with "custom post type ui".

 

------- Ie:

... /test / category / futured /

the widget appears

-------

.../ test / category / futured /? slg = post & mdf_cat = -1 & page_mdf = f9994a2eed31e877cc348450aac2afe2

the widget disappears (does not seem to recognize the category indicated in the link)

--------

... /test / category / futured / destination-post.php

the widget appears

-----

 

How can I solve. The site that I have to develop has many categories with thousands of products ....

I don't use woocommerce (it's not an eshop)

 

Thanks

Hello

Drop me an exact  link to the  issue and screenshots  of  the  widget  settings

Thanks for the quick reply. These are the links of the test site.

http://www.paolomazzagardi.com/test/test/futured/fascinating-san-diego-2/

ie result page (no widget)
http://www.paolomazzagardi.com/test/test/category/futured/?slg=post&mdf_cat=-1&page_mdf=8d55a5e86d7401f4f7516d7f0f167a91

ie result post:
http://www.paolomazzagardi.com/test/test/senza-categoria/vacation-travel-club-2/

 

widget settings

 

plugins:

Hello

Please  use  widget  logic. An Example:

isset($_GET['page_mdf']) || is_category()

I used:  isset($_GET['page_mdf']) || is_category(array('futured'))  on widget logic

now it works in the category, on the results page (you also see the reset button). 

Unfortunately it disappears in the final destination post (it's always in the same category).

ie: http://www.paolomazzagardi.com/test/test/futured/vacation-travel-club-2/  (no widget)
How can I proceed?

thanks for all the help provided now



Hello

http://www.paolomazzagardi.com/test/test/futured/vacation-travel-club-2/ - This is not a category. This  is  single post  page.  Please  use  is_single()

So there is no way to activate the widget even for posts from a certain category?
I think your solution (is_single()) then intervenes on all posts ... or am I wrong? 

thanks for all the help so far

Hello

Please  read  this - https://codex.wordpress.org/Conditional_Tags

ok, thanks. I ll try to assign a tag to every category post...

Hello

Welcome;)

Now I use three widgets with widget logic. Now all three appear on the results page. is it possible to show only the one of the research carried out?

The problem that often pressing a button of the wrong filter reset leads to a page different from that of the search ...

Thanks for any help

Hello

is it possible to show only the one of the research carried out? - In this case, you should contact widget logic support