Hide Elementor AI Image
/* * Hide Elementor image optimization ads when choosing the post's featured image on the backend…
Maintain+ Footer Credit
jQuery("footer").append(" Site managed by Maintain+ ")
CSS For Craft Picker
/* General Styles */ body { margin: 0; font-family: 'Arial', sans-serif; background-color: #f9f9f9; color: #333; line-height:…
JavaScript for Craft Picker
// Menu Toggle function toggleMenu() { const mobileNav = document.querySelector('.mobile-nav'); mobileNav.classList.toggle('active'); } // Close Menu on…
Replace [year] with the current year
Type [year] anywhere that you want the current year to be inserted.
webfontloader.js
// Add custom scripts function add_custom_script_webfont_loader_js() { wp_register_script( 'webfontloader', 'https://cdnjs.cloudflare.com/ajax/libs/webfont/1.6.28/webfontloader.js', array(), '1.6.28', true ); wp_enqueue_script( 'webfontloader'…
add post formats
Adding different types of post formats: aside – Typically styled without a title. Similar to a…
WPCode Functions
For the WPCode plugin interface
Code for importing theme files from plugin
Generated by Meta.AI /** * Import an entire folder from a plugin into the WordPress theme.…
Remove Gutenberg Blocks CSS
add_action( 'wp_enqueue_scripts', function () { wp_dequeue_style( 'wp-block-library' ); wp_dequeue_style( 'wp-block-library-theme' ); // Remove WooCommerce block CSS…
Disable RSS - Feed
Disable RSS - Feed
Editing the .htaccess File
php_value memory_limit 256M
Allow JS Files Upload
Allowing to upload JS files into media folder for custom special integration such as booking search…
Current Year Shortcode
Adding the option to use the current year [year] shortcode on your website on any website,…