Support » Plugin: Dynamic Widgets » Bug in pages with multiple queries

  • Resolved Diogo15


    Is this the right way to report a bug??

    Pages with multiple queries, doesn’t show the dinamycs widgets!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Qurl


    Can you please give me a bit more info? What do you mean with ‘multiple queries’? What exactly is going wrong? Which theme are you using?



    Forum Moderator

    probably not a bug, but bad programming.

    do all multiple queries reset the query_string by using wp_reset_query(); after their respective endif;s ?

    I hope the problem will not be bad programing!

    I create a new WP_QUERY, to query diferent post in CUSTOM POST TYPES and TAXONOMIES!….

    I kind of made the theme!

    You can see it here:

    This two pages are “considered” like pages in DINAMIC WIDGET, but doesnt display the dinamyc widget!…

    I temporaly hide some things using CSS,…

    As far as know “wp_reset_query();” RESET THE NORMAL QUERY if i make a new instance of WP_Query, shoul i still use wp_reset_query();?
    Thanks for any help you could bring me!

    Plugin Author Qurl


    Ah yes, that’s because of the use of wp_query multiple times. Dynamic Widgets has no clue anymore where it is as it reads values from wp_query to determine where it is and which page is being requested.

    As suggested by alchymyth, a wp_reset_query() after the loop should fix that.

    I try both functions, and i get the same result(a good one), so thanks for the support.


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bug in pages with multiple queries’ is closed to new replies.