borisdollar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Category Filter in PortfolioHi Kittersa.
Its a while back so i’m not 100% sure I can remember, but I do recall it being very “manual” labour.
So first I duplicated the portfolio so that I had portfolio1 and portfolio2.
In portfolio1 I set up the filters:
<a class="catlink" href="#filter=*" rel="nofollow">Show All</a> <a class="catlink" href="#filter=.Cat1" rel="nofollow">Cat1</a> <a class="catlink" href="#filter=.Cat2" rel="nofollow">Cat2</a> <a class="catlink" href="#filter=.Cat3" rel="nofollow">Cat3</a> <a class="catlink" href="#filter=.Cat4" rel="nofollow">Cat4</a> <a class="catlink" href="#filter=.Cat5" rel="nofollow">Cat5</a>
Next up we have to select which categories are actually queried:
query_posts("showposts=$showposts&post_type=portfolioentry&paged=$paged&portfoliocategory=cat1,cat2,cat3,cat4,cat5");
The categories queried can be listed in any order. Be very careful with slugs etc as a capital letter can really mess things up!
So now all we have to do is the repeat all of the above in the 2nd portfolio, making sure you change the filter categories and queried categories to suit your needs.
Hope that helps!
Forum: Plugins
In reply to: [WooCommerce] Complicated VariablesHi James.
Sorry, perhaps I didnt explain clearly enough. The product itself is a Vent. The first variable is size. The second variable is mesh. The 3rd variable is drilling.
The mesh variable is obviously YES/NO, but this has to be assigned to all sizes within this product, as SIZE is the first variable.
If we took your suggestion and didn’t offer mesh on a 3×3 vent, then how would one offer mesh on a 9×9 vent, bearing in mind that size is the first variable?
Forum: Fixing WordPress
In reply to: Category Filter in PortfolioI’m still trying to work this out, several days later. I wonder if there is anyone on here that can point me in the right direction?
Cheers.
Forum: Fixing WordPress
In reply to: Category Filter in PortfolioOh damn, sorry. I thought I could get support here if the question was generic.
Assuming portfolio filters are achievable on some free themes, then perhaps there might be someone on here that can help.
I’d imagine for someone who understands PHP, this would be easy (maybe i’m wrong!)
Premium support costs a fortune and I’m not in any position to do that.
I appreciate your response though.
Forum: Fixing WordPress
In reply to: Category Filter in PortfolioIts a purchased Radial theme. Basically the portfolio & filters work fine. But I have too many categories, so decided to split the portfolios into two separate ones.
Because of this, the two portfolios originally included exactly the same content, but I was able to include / exclude certain categories so that categories 1-5 are shown in portfolio 1 and categories 6&7 in portfolio 2.
So far, so good.
The filter allows the user to select “category1” and only portfolio items registered to that category will show. However, the filter on both portfolios shows all categories, when I don’t want it too. The code above (in my original post) is definitely the right area.
The theme has lots of normal pages but one section is simply for adding portfolio items.
Hope you can help!
Forum: Themes and Templates
In reply to: Losing Post Formatting When Including Posts in HTML WebpageAny suggestions guys? Have I explained the problem well enough?
Thanks,