Add a color picker field in Formidable Forms
Install this snippet and add 'frm-color-picker' in the 'CSS Layout Classes' setting for a field.
Export Categories and Tags
Export Categories and Tags
On Add to Cart Event in WooCommerce
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers in the…
Blog filter
Add a filter for blogs
Chatbot
Chatbot that helps with client services and questions.
ai content idea generator
function openai_generate_text() { // Get the topic from the AJAX request $prompt = $_POST['prompt']; $prompt ="generate…
Add custom CSS in the Admin
Use this snippet to add custom styles in the WordPress admin head. Add your CSS code…
user menu for logged in and logged out users
function my_wp_nav_menu_args( $args = '' ) { if( is_user_logged_in() ) { $args['menu'] = 'logged-in'; } else…
Let Google place ads for you
Add one piece of code to your site and Google will automatically show ads in all…
Update Cart Automatically
/** * Update Cart Automatically on Quantity Change * * @author Misha Rudrastyh * @url https://rudrastyh.com/woocommerce/remove-update-cart-button.html…
Enable HTTP Strict Transport Security (HSTS) in WordPress
The provided code snippet is a WordPress function that enables a WordPress site's HTTP Strict Transport…
google tag
google code
Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…
quiz
// setup console.log("running"); let q = 1; const submit = document.getElementById("next-button"); const question = document.getElementById("question"); //…
Disable All Admin Notices individually
function disable_all_admin_notices() { remove_all_actions('admin_notices'); } add_action('admin_init', 'disable_all_admin_notices');