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
/* Style PayPal optional messaging */ | |
#external-link-msg-pg { | |
padding: 1em; | |
margin:0 0 2em; | |
background-color: #FFFFE0; | |
border:1px solid #E6DB55; | |
border-radius: 2px; } |
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 | |
//* Do NOT include the opening php tag | |
//* Replace Select One in dropdown menu with No | |
function ee_rename_select_one() { | |
?> | |
<script type="text/javascript"> | |
jQuery(document).ready(function () { | |
jQuery(".event_form_field").html(function(i,t){ | |
return t.replace('Select One','No'); |
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 | |
//* Do NOT include the opening php tag | |
//* Replace empty cart messaging with something else | |
function ee_empty_cart_messaging($content) | |
{ | |
$content = str_replace('It looks like you are attempting to refresh a page after completing your registration or your cart is empty. Please go to the events page and try again.', 'Your cart is empty.',$content); | |
return $content; | |
} | |
add_filter('the_content','ee_empty_cart_messaging', 200); |
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 | |
//* Do NOT include the opening php tag | |
//* Remove the zero option in dropdown and set default to 1 | |
function ee_remove_zero_from_dropdown() { | |
?> | |
<script>jQuery(document).ready(function(){ | |
jQuery(".price_id").val(1); | |
jQuery('#event_espresso_refresh_total').trigger('click'); |
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 | |
//* Do NOT include the opening php tag | |
function ee_replace_register_test_buy_tickets( $translated, $original, $domain ) { | |
$strings = array( | |
'Register' => 'Buy Tickets', | |
); | |
if ( isset( $strings[$original] ) ) { | |
$translations = get_translations_for_domain( $domain ); |
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 | |
//* Do NOT include the opening php tag | |
function ee_remove_category_options_from_dropdown() { | |
if(is_page('12')){ | |
?> | |
<script> | |
jQuery(document).ready(function () { | |
jQuery("#ee_filter_cat option:contains(Optimist Lanzarote)").remove(); | |
}); |
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
<p><iframe width="420" height="315" src="//www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe></p> |
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
UPDATE `yourdatabasename`.`dbprefix_events_question` SET `wp_user` = '1'; |
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
UPDATE `yourdatabasename`.`dbprefix_events_qst_group` SET `wp_user` = '1'; |
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
SET @initialposition = 0; | |
UPDATE `wp_redirection_items` set `position` = (@initialposition:=@initialposition+1) | |
ORDER BY `url` ASC |
OlderNewer