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
// Increase password reset link expiration time | |
function wpen_increase_password_reset_link_expiration($expiration_time, $user_id, $action) { | |
// Set the desired expiration time in seconds (e.g., 3 days = 259200 seconds) | |
$expiration_time = 259200; // Change this value as per your requirement | |
return $expiration_time; | |
} | |
add_filter('password_reset_expiration', 'wpen_increase_password_reset_link_expiration', 10, 3); |
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
@media (max-width: 980px) { | |
.et_pb_de_mach_acf_slider .slick-list { | |
padding: 0 30% 0 0 !important; | |
} | |
} |
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
@media (max-width: 980px) { | |
.dmach_carousel_container .slick-list { | |
padding: 0 30% 0 0 !important; | |
} | |
} |
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
jQuery(document).on('divi_filter_before', function(){ | |
// ADD YOUR CODE HERE | |
}); |
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
<script> | |
jQuery(document).on('divi_filter_completed', function(){ | |
$et_post_gallery = jQuery( '.et_post_gallery' ); | |
$et_post_gallery.each(function() { | |
jQuery(this).magnificPopup( { | |
delegate: '.et_pb_gallery_image a', | |
type: 'image', | |
removalDelay: 500, | |
gallery: { | |
enabled: true, |
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_action( 'after_setup_theme', function() { | |
add_filter( 'german_market_add_woocommerce_de_templates_force_original', function( $return_original, $template_name ) { | |
if ( 'checkout/form-checkout.php' === $template_name ) { | |
$return_original = true; | |
} | |
return $return_original; | |
}, 10, 2 ); | |
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
.dmach-repeater-table { | |
display: table !important; | |
} | |
.dmach-repeater-table thead, | |
.dmach-repeater-table tbody{ | |
display: table-header-group !important; | |
} | |
.dmach-repeater-table tr { |
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
<?php | |
add_action( 'template_redirect', 'de_redirect_single_template' ); | |
function de_redirect_single_template() { | |
if ( is_singular( 'cpt_slug' ) ) { | |
wp_redirect( home_url(), 301 ); | |
exit; | |
} | |
} | |
?> |
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
.title-image-hover .et_pb_de_mach_title, | |
.title-image-hover .et_pb_db_product_title, | |
.title-image-hover .et_pb_df_title { | |
position: absolute; /* Move ontop of image */ | |
top: 50%; /* Position in center vertically */ | |
transform: translateY(-50%); /* Position in center vertically */ | |
left: 0; | |
opacity: 0; /* Hide */ | |
-webkit-transition: all 0.3s ease-in-out; /* Animation to fade in */ | |
-ms-transition: all 0.3s ease-in-out; /* Animation to fade in */ |
NewerOlder