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

wpv-if statements not working

$
0
0

I can't figure out why these if statements aren't working but they're not… can someone look at this code and tell me if I've done something wrong? At first, I had hyphens as separators but then I saw this thread: http://wp-types.com/forums/topic/a-conflict-between-fields-names-and-wpv-if-statement/ — and I changed my hyphens to underscores in the appropriate places. But it's still not working. https://www.theaudubonshop.com/site/product/vortex-razor-hd-20-60×85-spotting-scope/

[wpv-if magnification="wpcf-magnification" evaluate="empty($magnification)" condition="false"]<strong>Magnification:</strong> [types field="magnification"][/types]<br />[/wpv-if][wpv-if objective_lens_diameter="wpcf-objective_lens-diameter" evaluate="empty($objective_lens_diameter)" condition="false"]<strong>Objective Lens Diameter:</strong> [types field="objective_lens_diameter"][/types]<br />[/wpv-if][wpv-if field_of_view="wpcf-field_of_view" evaluate="empty($field_of_view)" condition="false"]<strong>Field of View:</strong> [types field="field_of_view"][/types]<br />[/wpv-if][wpv-if angle_of_view="wpcf-angle_of_view" evaluate="empty($field_of_view)" condition="false"]<strong>Angle of View:</strong> [types field="angle_of_view"][/types]<br />[/wpv-if][wpv-if minimum_focus_distance="wpcf-minimum_focus_distance" evaluate="empty($minimum_focus_distance)" condition="false"]<strong>Minimum Focus Distance:</strong> [types field="minimum_focus_distance"][/types]<br />[/wpv-if][wpv-if exit_pupil_diameter="wpcf-exit_pupil_diameter" evaluate="empty($exit_pupil_diameter)" condition="false"]<strong>Exit Pupil Diameter:</strong> [types field="exit_pupil_diameter"][/types]<br />[/wpv-if][wpv-if eye_relief="wpcf-eye_relief" evaluate="empty($eye_relief)" condition="false"]<strong>Eye Relief:</strong> [types field="eye_relief"][/types]<br />[/wpv-if][wpv-if diopter_correction="wpcf-diopter_correction" evaluate="empty($diopter_correction)" condition="false"]<strong>Diopter Correction:</strong> [types field="diopter_correction"][/types]<br />[/wpv-if][wpv-if light_transmission="wpcf-light_transmission" evaluate="empty($light_transmission)" condition="false"]<strong>Light Transmission:</strong> [types field="light_transmission"][/types]<br />[/wpv-if][wpv-if filter_thread="wpcf-filter_thread" evaluate="empty($filter_thread)" condition="false"]<strong>Filter Thread:</strong> [types field="filter_thread"][/types]<br />[/wpv-if][wpv-if weatherproofing="wpcf-weatherproofing" evaluate="empty($weatherproofing)" condition="false"]<strong>Weatherproofing:</strong> [types field="weatherproofing"][/types]<br />[/wpv-if][wpv-if operating_temperature="wpcf-operating_temperature" evaluate="empty($operating_temperature)" condition="false"]<strong>Operating Temperature:</strong> [types field="operating_temperature"][/types]<br />[/wpv-if][wpv-if storage_temperature="wpcf-storage_temperature" evaluate="empty($storage_temperature)" condition="false"]<strong>Storage Temperature:</strong> [types field="storage_temperature"][/types]<br />[/wpv-if][wpv-post-body view_template="None"]

Viewing all articles
Browse latest Browse all 20145

Trending Articles