Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Possible to display content based on conditionals using same view template?

$
0
0

Hi,

I have a CPT which has around 70 items published to it and I have 10 custom categories for them.

My items have different prices depending on the category (log cabin in location) and ideally I want to be able to conditionally display the price depending on the location with the least amount of views and templates possible. Is this doable?

I thought it would be a case of simply appending my item's page url with the location, like so ?wpvlocation=zante which I have done and it's working, but I can't figure out how to conditionally display my prices based on this.

Any ideas? Is it even possible?

TIA


Viewing all articles
Browse latest Browse all 20145

Trending Articles