Replace [year] with the current year
// This will replace “[year]” with the current year automatically. $this_year = “[year]”; echo str_replace(“[year]”, date( ‘Y’ ), $this_year);Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
// This will replace “[year]” with the current year automatically. $this_year = “[year]”; echo str_replace(“[year]”, date( ‘Y’ ), $this_year);Continue reading
if ( ! function_exists( ‘theme_setup_unocss_assets’ ) ) : function theme_setup_unocss_assets() { wp_enqueue_style( ‘unocss-reset’, ‘https://unpkg.com/@unocss/reset/tailwind.css’, array(), null ); wp_enqueue_script( ‘unocss-preset-uno’, ‘https://unpkg.com/@unocss/runtime/uno.global.js’, array(), null, true ); wp_enqueue_script( ‘unocss-preset-icons’, ‘https://unpkg.com/@unocss/runtime/preset-icons.global.js’, array(), null, true ); wp_add_inline_script( ‘unocss-preset-icons’, ‘window.__unocss = { presets: [ () =>…Continue reading
.sb-feed-header-profile { display: none !important; } .sb-feed-header-btn-ctn { display: block !important; width: 100% !important; } .sb-feed-header-btn-ctn button { width: 100% !important; font-size: 20px !important; }Continue reading
.sb-post-item .sb-post-item-play { bottom: 3rem; color: #fff; left: 50%; top: 50%; margin-left: -20px; margin-top: -20px; position: absolute } .sb-post-item .sb-post-item-play svg { height: 40px; width: 40px; }Continue reading
.wpforms-confirmation-container-full { color: #D2A336; margin: 0 0 24px 0; background: #000000; border: 1px solid #D2A336; padding: 15px 15px; }Continue reading