This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ee_custom_show_question_conditionally() { | |
wp_add_inline_script('ee_form_section_validation','jQuery( document ).ready(function($) { | |
var text = $("div[id^=\'ee-reg-form-qstn-grp-Silver-\']"); | |
$(text).hide(); | |
$(".ee-reg-qstn-88").change(function() { | |
//Uncomment Below to Test value of Question so you can put in the IF statement "Yes" in this example | |
//var test=$(this).val(); | |
//Uncomment Below to Show the Value to the browser | |
//alert(test); | |
$(this).val() == "Yes" ? $(text).show() : $(text).hide(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
get_header(); | |
$post_type = 'espresso_people'; | |
$taxonomy = 'espresso_people_type'; | |
$terms = get_terms( array( | |
'taxonomy'=>$taxonomy, | |
'orderby'=>'name', | |
'order'=>'DESC', | |
)); | |
// d($terms); |