I have a filterable portfolio with a category of "All" I have two portfolio items with a tag of "home featured," I would like to hide "home featured" items from being displayed in "All." I'm lost as how to accomplish this
I have a filterable portfolio with a category of "All" I have two portfolio items with a tag of "home featured," I would like to hide "home featured" items from being displayed in "All." I'm lost as how to accomplish this
You'll need to create a custom query See:
http://codex.wordpress.org/Function_Reference/query_posts
http://codex.wordpress.org/Function_Reference/WP_Query
thanks for the reply. Sorry for the dumb question, but would I be changing the code in the javascript or the portfolio_template.php?
I tried this in my portfolio_template.php
[Code moderated as per the Forum Rules. Please use the pastebin]
I get parse error
Not sure if I'm on the right track or not
tried this in my template.php, getting warmer? I'm lost lol
$query = new WP_Query( 'all=-547,-527' );Ok maybe a easier solution. How would I delete the "all" category from the filter portfolio menu?
Get parse error from the following.
anyone?
[Code moderated as per the Forum Rules. Please use the pastebin]
Here is my java & php:
You must log in to post.