Chatbot
Chatbot that helps with client services and questions.
Allow mobile zoom
function et_add_viewport_meta(){ echo ''; }
Leave Tasty recipe ratings with WP-PostRatings
The Tasty Recipes rating system works with the default WordPress comment form. However, if you use…
Remove address from the header
Remove address block from the header
Elementor - Fix the Accordion SEO issue
add_filter( 'elementor/widget/render_content', function ( $widget_content, $widget ) { if ( 'accordion' === $widget->get_name() ) { $widget_content…
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…
Clear Auto Fill in WooCommerce Checkout
Clears the auto fill on the WooCommerce Checkout page.
Hide sidebar on mobile device
function custom_hide_sidebar_on_mobile() { echo ' '; } add_action('wp_head', 'custom_hide_sidebar_on_mobile');
Change a currency symbol AMD to Դրամ
/** * Change a currency symbol */ add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency )…
Disable default WordPress image sizes
// Disable default WordPress image sizes add_filter('intermediate_image_sizes', '__return_empty_array'); // Disable large scaled image size add_filter('big_image_size_threshold', '__return_false');…
WordPress Post Views Counter Function
function wpb_set_post_views($postID) { $count_key = 'wpb_post_views_count'; $count = get_post_meta($postID, $count_key, true); if($count==''){ $count = 0; delete_post_meta($postID,…
Minify HTML
function minify_html($buffer) { // Remove comments $buffer = preg_replace('//', '', $buffer); // Remove whitespace $buffer =…
Make Product Non Purchasable for Wholesale Customer if Product Stock is Less Than Certain Amount
This snippet will allow you to make a product unavailable for purchase by wholesale customers if…
Hide nutrition facts for Tasty Recipes printing
Prevent nutritional information from being displayed in the Tasty Recipes print view
Szállítási módok elrejtése a Kosár oldalon
Ezzel a kóddal a Kosár oldalon lehet a szállítási módokat elrejteni, így a vásárlók azt csak…