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
/* ---------- CSS | |
- should be "attached" to the master Section */ | |
/* make 100% wide columns possible for Desktop devices in Elementor */ | |
.custom-swiper .elementor-container .elementor-row { | |
/*flex-wrap: wrap;*/ | |
} | |
/* make all the colums-slides 100% wide and full screen tall */ | |
.custom-swiper > .elementor-container > .elementor-row > .elementor-element.elementor-column { | |
width: 100%; |
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
{ | |
"themes": [ | |
"astra", | |
], | |
"plugins": [ | |
"elementor", | |
"woocommerce", | |
"classic-editor", | |
"essential-addons-for-elementor-lite", | |
"all-in-one-wp-migration", |
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 | |
if(!(preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$/", $email))){} | |
// User Name | |
if(!(preg_match("/^[A-Za-z][A-Za-z0-9]{5,21}$/", $username))){} | |
// Name | |
if(!(preg_match("/^(Mr|Mrs|Dr|Md)\.\ /", $name))){} | |
?> |
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 | |
// Naming Constant | |
define( "RECIPIENT_NAME", "John Doe" ); | |
define( "RECIPIENT_EMAIL", "[email protected]" ); | |
// Values | |
$success = false; | |
$senderName = isset( $_POST['username'] ) ? preg_replace( "/[^\.\-\' a-zA-Z0-9]/", "", $_POST['username'] ) : ""; |
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
// Check the initial Poistion of the Sticky Header | |
var stickyHeaderTop = $('#stickyheader').offset().top; | |
$(window).scroll(function(){ | |
if( $(window).scrollTop() > stickyHeaderTop ) { | |
$('#stickyheader').css({position: 'fixed', top: '0px'}); | |
$('#stickyalias').css('display', 'block'); | |
$('#stickyheader').addClass('fix-top'); | |
} else { | |
$('#stickyheader').css({position: 'static', top: '0px'}); | |
$('#stickyalias').css('display', 'none'); |