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

Reply To: [Waiting for user confirmation] Parent/Child CPT Permalink Structure Problem

$
0
0

Great, that seems to have worked.

I'm almost able to achieve the functionality required, I wonder if you can help me on the conditional mentioned above (http://wp-types.com/forums/topic/parentchild-cpt-permalink-structure-problem/#post-57981).

I'm trying to use a condition called "type" (which is a "country" / "city" checkbox) to only show the "country" or "city" fields based on which type of location is checked. I've tried using the following around the "country" and "city" portions of the view template but it doesn't seem to work:

————————–

[wpv-if country="wpcf-type″ evaluate="$type = 'country'" debug="true"]Show Country Template[/wpv-if]

[wpv-if country="wpcf-type″ evaluate="$type = 'city'" debug="true"]Show City Template[/wpv-if]

—————————-

Am I missing something or is there another way to do this?

Thanks for your continued support and patience.


Viewing all articles
Browse latest Browse all 20145

Trending Articles