Card box Style – Tools und Plugins calculation form

/* Specific styles for the custom HTML widget container */ /* Author: Sumaiya, Clickup Doc:https://app.clickup.com/36636088/v/dc/12y1dr-22535/12y1dr-24335 */ .custom_grid_fluentform .ff-t-cell { display: flex !important; /* Use flexbox to arrange child elements */ flex-direction: row !important; /* Set flex direction to row */…Continue reading

Search Engine Bots – Block GEOIP Usage (Cloud)

/** * v1.0.1 * Block Search Engine Bots from Accessing GeoIP Detection AJAX * * Add this code to your theme’s functions.php or a custom plugin */ add_action(‘init’, ‘block_bots_from_geoip_detection’); function block_bots_from_geoip_detection() { // Only check on admin-ajax.php requests if (strpos($_SERVER[‘REQUEST_URI’],…Continue reading

Show ‘NEW’ Badges for Recently Added Items in WooCommerce (copy)

/** * Snippet Name: Show ‘NEW’ Badges for Recently Added Items in WooCommerce * Snippet Author: wdxtechnologies.com */ // Show the NEW badge on the archive loop item add_action( ‘woocommerce_after_shop_loop_item_title’, ‘ecommercehints_product_archive_new_badge’, 1 ); function ecommercehints_product_archive_new_badge() { global $product; $days_to_show =…Continue reading

Lang

document.addEventListener(“DOMContentLoaded”, function() { const flowchart = document.getElementById(“flowchart”); flowchart.innerHTML = ` How do you plan to use your Lang BBQ Smoker? Residential Competition Commercial What cooking capacity do you need? Small (36” Patio) Large (48” or larger) Back Do you need…Continue reading

woo orders page Whatsapp DM from mac app

// Modify the columns and ensure WhatsApp column appears last function add_whatsapp_column($columns) { // Remove WhatsApp column if it already exists if (isset($columns[‘whatsapp’])) { unset($columns[‘whatsapp’]); } // Add WhatsApp column after Courier Address column if (isset($columns[‘courier_address’])) { $new_columns = [];…Continue reading

woo orders page courier address

// Add the new column to the orders page add_filter(‘manage_edit-shop_order_columns’, ‘display_courier_address_column’); // Display data in the new column add_action(‘manage_shop_order_posts_custom_column’, ‘display_courier_address_data’, 10, 2); function display_courier_address_column($columns) { // Add the new column with a proper name $columns[‘courier_address’] = ‘Courier Address’; return $columns;…Continue reading

Bot Tracker (cloud)

/** * Function to track search engine bots and create admin page * v0.04 */ // Create database table when the snippet is activated function create_bot_tracker_table() { global $wpdb; $table_name = $wpdb->prefix . ‘bot_tracker’; $charset_collate = $wpdb->get_charset_collate(); $sql = “CREATE…Continue reading

FC – [*] – Optimizaciones varias

//* Deshabilita la etiqueta de generator add_filter(‘the_generator’, ‘__return_empty_string’); //* Evitar que se sobreescriban temas al actualizar define( ‘CORE_UPGRADE_SKIP_NEW_BUNDLED’, true ); //* Deshabilitar links update_option( ‘link_manager_enabled’, 0 );Continue reading