Celebrate

All Special Occasions are Better with Elephants

function getParameterByName(name) { name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]"); var regexS = "[\\?&]" + name + "=([^&#]*)"; var regex = new RegExp(regexS); var results = regex.exec(window.location.search); if(results == null) return ""; else return decodeURIComponent(results[1].replace(/\+/g, " ")); } if (getParameterByName('event').length > 0) { jQuery('.wpcf7-form p:nth-child(2)').hide(); }else{ jQuery('.wpcf7-form p:nth-child(3)').hide(); }