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
// Lade erst wenn Dokument und Elemente ready | |
jQuery(function() { | |
// Für alle Bilder mit der Klasse .person-img... | |
jQuery('.person-img').each( function( image ) { | |
// Bilder preload im Hintergrund | |
imageObj = new Image(); | |
imageObj.src = jQuery(this).attr('src').replace(/_flat/g, '_pic'); | |
// Mouseover Funktionsbinding | |
jQuery(this).live('mouseover', function() { |
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 field function for ACF without using ACF and generating additional queries (normally) | |
function get( $selector, $post_id = false, $format_value = true ) { | |
if( function_exists( 'get_post_meta' ) && function_exists( 'acf_get_valid_post_id' ) ) { | |
$post_id = acf_get_valid_post_id( $post_id ); | |
// Search the data in post meta |
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 | |
/* | |
* WooCommerce dirty rounding fix for special tax values (7.7 in Switzerland) | |
* Rounding to 0.05 instead of 0.01 | |
* created by Christoph S. Ackermann | |
* https://www.cubetech.ch | |
* 05.01.2018 | |
*/ |
OlderNewer