Need help figuring out what conditional logic to use w/ tabber, query post & widget logic...
Posted 04 March 2011 - 12:26 PM
I could use some help figuring out what conditional logic to use with the tabber widget, query post and widget logic to pull specific category content based off of a tag that's applied to the content and page.
Basically, I work for a bicycle company that has a team of riders. On the site I'm building out each rider needs to have a page that aggregates all the content that relates to them. Right now each rider's name is set up as a tag and the different types of content are set up as categories.
So with that in mind, on the rider's pages I have a tabber instance set up with 4 tabs that each will display content from different categories; Bike Check, Video, Photo, News. The page is tagged with the rider's name so what I'd like to do is to have query post grab the content (posts) from each category and then have it filtered to only show the content in that category that's tagged with the same tag as the page (the rider's name).
I'm willing to code the loop out manually if need be by dropping in the php code widget into the tab but I figured I'd try the query post > widget logic method first if possible.
Here's an example of the page that I'm setting up (it's not styled yet):
Thanks in advance for any help or direction.
Posted 05 March 2011 - 05:11 AM
here are all the wp_query parameters, with all sorts of examples, that should help,
let us know,
Join the iThemes Builder Community on Google+.
To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. Please also read the forum guidelines.
When asking your question/posting your request on the forum, please be as concise and specific as possible. The shorter your request, the more to the point, the more specific, the easier it will be for us to try and help out.