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

EIN – Süße Tiere – Querformat Tablet korrigieren

@media only screen and (max-width: 1024px) and (min-width: 768px) { /* Sidebar sichtbar machen und passend breit */ .mcb-sidebar { display: block !important; visibility: visible !important; opacity: 1 !important; width: 20% !important; /* Sidebar-Breite */ float: left !important; } /*…Continue reading

EIN – Süße Tiere – Menükorrektur Header

/* Suchseite – Falsches Menü ausblenden */ body.search nav#menu ul.menu.page-menu { display: none !important; } /* Suchseite – Richtiges Menü sicherstellen */ body.search #Top_bar .menu { display: flex !important; justify-content: center; align-items: center; opacity: 1 !important; visibility: visible !important; height:…Continue reading