For example, you want to set 40% alpha transparence to #000000
(black color), you need to add 66
like this #66000000
.
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
Dont forget to change the form field to your fields. | |
function enqueue_icons_script_and_styles() { | |
// Enqueue the Font Awesome stylesheet for the icons | |
wp_enqueue_style('font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css'); | |
// Add inline styles | |
$custom_css = " | |
.input-icon { |
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('before_delete_post', function ($post_id) { | |
// Check if the post being deleted is a WooCommerce product | |
if (get_post_type($post_id) !== 'product') { | |
return; | |
} | |
// Delete the featured image (post thumbnail) if it exists | |
$thumbnail_id = get_post_thumbnail_id($post_id); | |
if (!empty($thumbnail_id)) { | |
wp_delete_attachment($thumbnail_id, 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
UPDATED | |
----------------- | |
Dont forget to use the shortcode: | |
[verify_user_account] | |
Change this ; https://your-domain-name.com/your-verfi-page-name-slug to yours url | |
Custom code : | |
// Hook into user registration to generate and send the verification code | |
add_action('user_register', 'send_verification_code', 10, 1); |
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 | |
// https://gist.github.com/Crocoblock/3f33588881a09c0dd275f11aa00c973f |
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
/* be sure to copy-paste to the Image Widget Custom CSS panel */ | |
selector, | |
selector .elementor-widget-container, | |
selector .elementor-image, | |
selector .elementor-image > a { | |
height: 100%; | |
} | |
selector .elementor-image img { | |
object-fit: cover; | |
object-position: 50% 50%; |
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
sudo amazon-linux-extras install epel -y | |
sudo yum install stress -y |
Download hMailServer from here: http://www.hmailserver.com/index.php?page=background_download_file&downloadid=207.
- In setup, select internal db engine.
- Now you have a service called hMailServer and an administration program on the Windows start menu (hMailServer Administrator).