stompfrog
Forum Replies Created
-
Forum: Plugins
In reply to: SQL query to get all posts tagged with ‘x’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 = 99However… 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
In reply to: Adding widgets to sidebar overwrites custom sidebarWhy 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
In reply to: Changing default error messages with Contact Form 7Haha, 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
In reply to: Changing default error messages with Contact Form 7Just 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 🙂