Dynamic Year Copyright Shortcode

// Copy the Shortcode in the Insertion box below and paste it wherever you want the copyright symbol + year to be displayed. // This will output © 2023 or the current year automatically. echo “© ” . date( ‘Y’…Continue reading

Enable Pinch to Zoom on Mobile Devices

function remove_my_action() { remove_action(‘wp_head’, ‘et_add_viewport_meta’); } function dt_et_add_viewport_meta(){ echo ‘‘; } add_action( ‘init’, ‘remove_my_action’); add_action( ‘wp_head’, ‘dt_et_add_viewport_meta’ );Continue reading

Website Unavailable

add_action( ‘init’, function() { if ( ! current_user_can( ‘manage_options’ ) && ! is_admin() && ! is_login() ) { wp_die( ‘ Website Unavailable This version of the website is no longer active. The owner has moved the site to a new…Continue reading

Clamp Text size for Elementor

h1 {font-size: clamp(1.8125rem, 1.05328rem + 3.19672vw, 4.25rem);} h2 {font-size: clamp(1.5rem, 0.97439rem + 2.21311vw, 3.1875rem);} h3 {font-size: clamp(1.25rem, 0.89959rem + 1.47541vw, 2.375rem);} h4 {font-size: clamp(1.0625rem, 0.82889rem + 0.98361vw, 1.8125rem);} h5 {font-size: clamp(0.875rem, 0.71926rem + 0.65574vw, 1.375rem);} h6 {font-size: clamp(0.75rem, 0.67213rem +…Continue reading