Dynamic Widgets
[resolved] Dynamic widget only on certain post category: what if two cats assigend? (4 posts)

  1. daniel.fuerst
    Posted 2 years ago #

    Hi there

    First of all many thanks to this great plugin. It's exactly what I have been looking for.

    Only one problem I am facing right now. I do want to assign widgets to post categories. Now if I have 2 categories assigned to one post, i do get an output of both widgets, which is not ideal for me, but of course the plugins logic.

    Is there a way to only display a widget if no other widget meets the requirements/logic?




  2. Qurl
    Plugin Author

    Posted 2 years ago #

    No, I'm sorry.. DW is not capable of having logic between widgets. The logic limits to the requested page. But you can reverse the logic by switching the default Yes to No vv.

  3. daniel.fuerst
    Posted 2 years ago #

    Thanks for your answer. But that does not do the trick.
    Lets say, we have category x and y and I have assigned one post to both categories. Because i want to display this post in an overview on the frontpage (category x) and also on a more specific page (category y). Now in the overview parts it works fine, but as soon as i go to the single post view, both widget are assigned, because both widget meet the logic also when default No is set.
    Do you understand my problem?

  4. Qurl
    Plugin Author

    Posted 2 years ago #

    Yes, I understand your problem. And I basically have to repeat what I said before. DW looks at the logic of the requested page, not to logic between widgets. And that's where you're looking for basically. To be honest, I don't see a solution for this being implemented in DW. It's very specific.

    Maybe you have to look in using tags to split it out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Dynamic Widgets
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.