Title: stompfrog's Replies | WordPress.org

---

# stompfrog

  [  ](https://wordpress.org/support/users/stompfrog/)

 *   [Profile](https://wordpress.org/support/users/stompfrog/)
 *   [Topics Started](https://wordpress.org/support/users/stompfrog/topics/)
 *   [Replies Created](https://wordpress.org/support/users/stompfrog/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/stompfrog/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/stompfrog/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/stompfrog/engagements/)
 *   [Favorites](https://wordpress.org/support/users/stompfrog/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [SQL query to get all posts tagged with ‘x’](https://wordpress.org/support/topic/sql-query-to-get-all-posts-tagged-with-x/)
 *  Thread Starter [stompfrog](https://wordpress.org/support/users/stompfrog/)
 * (@stompfrog)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/sql-query-to-get-all-posts-tagged-with-x/#post-1270059)
 * Been thinking about this some more. I don’t think the problem is with my SQL 
   skills but rather my understanding of the wordpress databases.
 * If I query the term_relationships table for a term_taxonomy_id that represents
   a category it returns multiple results. A simple example of this is…
 *     ```
       SELECT *
       FROM wp_term_relationships
       WHERE term_taxonomy_id = 99
       ```
   
 * However… if I then do the same query with an ID that represents a tag rather 
   than a category I only ever get one result. There seems to be a difference in
   the way that tag and category data is stored, but I can’t work out what it is.
 * Can anyone help?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Adding widgets to sidebar overwrites custom sidebar](https://wordpress.org/support/topic/adding-widgets-to-sidebar-overwrites-custom-sidebar/)
 *  Thread Starter [stompfrog](https://wordpress.org/support/users/stompfrog/)
 * (@stompfrog)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/adding-widgets-to-sidebar-overwrites-custom-sidebar/#post-1160585)
 * Why do I always answer my own questions just after I give up and post on a forum…
 * Answer for anyone else with this problem is make sure you do not have the following
   line of code or similar in your sidebar.php… oops!
 *     ```
       <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
       //sidebar code here
       <?php endif; ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Changing default error messages with Contact Form 7](https://wordpress.org/support/topic/changing-default-error-messages-with-contact-form-7/)
 *  Thread Starter [stompfrog](https://wordpress.org/support/users/stompfrog/)
 * (@stompfrog)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/changing-default-error-messages-with-contact-form-7/#post-1016786)
 * Haha, thanks figaro, I had just found it. I wonder why they decided to hide that
   section away at the bottom when all the others are open by default?
 * Thanks again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Changing default error messages with Contact Form 7](https://wordpress.org/support/topic/changing-default-error-messages-with-contact-form-7/)
 *  Thread Starter [stompfrog](https://wordpress.org/support/users/stompfrog/)
 * (@stompfrog)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/changing-default-error-messages-with-contact-form-7/#post-1016785)
 * Just found it!
 * For anyone else having the same problem it is as the bottom of the form generation
   page accessed by..
 * /tools/contact form 7
 * Scroll to the bottom of the page and click the small and quite well hidden “show”
   link next to the messages section.
 * Hope this saves someone some time 🙂

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