This file contains hidden or 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
| pointer-events: none; |
This file contains hidden or 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
| if (window.location.href.indexOf("newsletter") > -1) { | |
| console.log(getUrlParameter('vorname')); | |
| } |
This file contains hidden or 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 getUrlParameter(sParam) { | |
| var sPageURL = window.location.search.substring(1), | |
| sURLVariables = sPageURL.split('&'), | |
| sParameterName, | |
| i; | |
| for (i = 0; i < sURLVariables.length; i++) { | |
| sParameterName = sURLVariables[i].split('='); | |
| if (sParameterName[0] === sParam) { |
This file contains hidden or 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
| $str = preg_replace('/\s+/', '', $str); |
This file contains hidden or 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
| js: | |
| JSON.stringify(selectedArray) | |
| php: | |
| $selectedArray = json_decode(stripslashes($_GET['selected'])); | |
This file contains hidden or 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
| -webkit-overflow-scrolling: touch; |
This file contains hidden or 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
| $('.product .ajax_add_to_cart').on('click',function(e){ | |
| var tokenCart = true; | |
| $( document ).ajaxComplete(function( event, xhr, settings ) { | |
| if(tokenCart) { | |
| getSide('Cart'); | |
| } |
This file contains hidden or 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
| /**** | |
| * Put this in the pdf template | |
| * | |
| ***/ | |
| add_filter( 'gfpdf_field_html_value', function($html, $value, $show_label, $label, $field, $form, $entry, $class) { | |
| /* Wenn Class "wps-notinpdf" gesetzt ist, wird das Feld vom PDF ausgeschlossen */ | |
| if (strpos ($field['cssClass'], 'notinpdf') !== false) { |
This file contains hidden or 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
| add_filter( 'vc_gitem_template_attribute_event_button', 'vc_gitem_template_attribute_event_button', 10, 2 ); | |
| function vc_gitem_template_attribute_event_button( $value, $data ) { | |
| extract( array_merge( array( | |
| 'post' => null, | |
| 'data' => '', | |
| ), $data ) ); | |
| $event_link = get_field( "event_link", $post->ID ); | |
| $event_button_text = get_field( "event_button_text", $post->ID ); |
NewerOlder