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
@echo off | |
setlocal enabledelayedexpansion | |
echo Checking if XAMPP is installed... | |
if exist "C:\xampp\xampp-control.exe" ( | |
set XAMPP_DIR=C:\xampp | |
) else ( | |
echo XAMPP not found at the default location. | |
set /p XAMPP_DIR="Please enter your XAMPP installation path (e.g., D:\xampp): " | |
if not exist "!XAMPP_DIR!\xampp-control.exe" ( |
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
$args = array( | |
'post_type' => 'event', | |
'meta_query' => array( | |
'relation' => 'AND', | |
'event_start_date_clause' => array( | |
'key' => '_event_start_date', | |
'compare' => 'EXISTS', | |
), | |
'event_start_time_clause' => array( | |
'key' => '_event_start_time', |
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
var email = document.getElementById('text_email').innerText; | |
(function($) { | |
$(document).ready(function(){ | |
var button_email = document.getElementById('email_button'); | |
button_email.href = "mailto:"+email+" "; | |
}); | |
}(jQuery)); |
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
This has the advantage that only this popup is closed. All other popups remain open. | |
If you want all popups to be closed, the CSS class "elementor-location-popup" must be used | |
Add Script as HTML Widget to Popup | |
<script> | |
jQuery(function($){ | |
$(document).on('click','.<<YOUR CSS POPUP CLASS>> a', function(event){ | |
elementorProFrontend.modules.popup.closePopup( {}, event); | |
}); |
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
---------------------- JS Script ----------------------------- | |
JS Script (Place in content as HTML Widget under Content Widet!) - Footer is the best place for it. | |
<script> | |
var getbutton = document.getElementById("buttonID"); // insert Button ID | |
getbutton.addEventListener('click', displayContent); | |
function displayContent() { |
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
---------------------- JS Script ----------------------------- | |
JS Script (Place in content as HTML Widget) | |
var content = document.getElementById("showpopup01"); // listener to Column or Element | |
content.addEventListener('mouseover', mouseOver); | |
content.addEventListener('mouseout', mouseOut); | |
function mouseOver() { |
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
/* | |
* add to function.php | |
*/ | |
function my_entrance_animations() { | |
return array( | |
'Custom Slide Animations' => [ | |
'customSlideDown' => 'Custom Slide Down', // 'customSlidedown' = CSS class for style.css | |
'customSlideleft' => 'Custom Slide Left', | |
'customSlideleft2' => 'Custom Slide small Left', |
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
@keyframes bounce{20%,53%,80%,from,to{animation-timing-function:cubic-bezier(.215,.61,.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(.755,.050,.855,.060);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(.755,.050,.855,.060);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}.bounce{animation-name:bounce;transform-origin:center bottom} | |
@keyframes flash{50%,from,to{opacity:1}25%,75%{opacity:0}}.flash{animation-name:flash} | |
@keyframes pulse{from,to{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}}.pulse{animation-name:pulse} | |
@keyframes rubberBand{from,to{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,.75,1)}40%{transform:scale3d(.75,1.25,1)}50%{transform:scale3d(1.15,.85,1)}65%{transform:scale3d(.95,1.05,1)}75%{transform:scale3d(1.05,.95,1)}}.rubberBand{animation-name:rubberBand} | |
@keyframes shake{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:t |
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
function custom_um_profile_query_make_posts( $args = array() ) { | |
// Change the post type to our liking. | |
$args['post_type'] = 'jobs'; | |
return $args; | |
} |
NewerOlder