Title: [Plugin: Sideblogging] Cache previous queries
Last modified: August 20, 2016

---

# [Plugin: Sideblogging] Cache previous queries

 *  [drwelby](https://wordpress.org/support/users/drwelby/)
 * (@drwelby)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-sideblogging-cache-previous-queries/)
 * I’m using this plugin with the Hybrid theme, and Hybrid has a custom breadcrumb
   feature that creates an appropriate breadcrumb for each page/post. It does this
   by examining the last query, which usually was for the post/page.
 * However, if Sideblogging runs before the breadcrumbs, the last query was for 
   the Asides, so the breadcrumbs show the crumbs to the aside instead of the post/
   page.
 * I’m not an expert of the WordPress back end, but would it be possible to cache
   the last query object, do the Aside query, and then revert to the previous query?
 * [http://wordpress.org/extend/plugins/sideblogging/](http://wordpress.org/extend/plugins/sideblogging/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [cedbv](https://wordpress.org/support/users/cedbv/)
 * (@cedbv)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-sideblogging-cache-previous-queries/#post-2414930)
 * I just tried the Hybrid theme with Sideblogging and everything works fine even
   if I put the breadcrumb in the footer and sideblogging before.
    Do you have the
   latest version of Hybrid ?
 * Anyway Sideblogging doesn’t use the main query_post but a custom one, probably
   because I had similars issues than yours before.
 * However you can put use the function :
    wp_reset_query(); just before the breadcrumb.
   That will reset the Query Post to the default one. That should fix your problem.
 *  Thread Starter [drwelby](https://wordpress.org/support/users/drwelby/)
 * (@drwelby)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-sideblogging-cache-previous-queries/#post-2414931)
 * I have the latest version of Hybrid, and working with the theme developer we 
   came to the same solution of using wp_reset_query().
 * Thanks for looking into it!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Sideblogging] Cache previous queries’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sideblogging.svg)
 * [Sideblogging](https://wordpress.org/plugins/sideblogging/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sideblogging/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sideblogging/)
 * [Active Topics](https://wordpress.org/support/plugin/sideblogging/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sideblogging/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sideblogging/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [drwelby](https://wordpress.org/support/users/drwelby/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-sideblogging-cache-previous-queries/#post-2414931)
 * Status: not resolved