Untitled Snippet
google.com, pub-9567597566014925, DIRECT, f08c47fec0942fa0Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
google.com, pub-9567597566014925, DIRECT, f08c47fec0942fa0Continue reading
{ “smart_tags”: { “region”: “Gujarat”, “state”: “Gujarat”, “province”: “Gujarat”, “territory”: “Gujarat”, “region_code”: “GJ”, “country”: “India”, “country_code”: “IN”, “city”: “Vadodara”, “latitude”: 22.3008, “longitude”: 73.2043, “zip”: “390004”, “postal_code”: “390004”, “day”: “Friday”, “month”: “May”, “year”: “2024”, “date”: “May 31, 2024”, “page_url”: “https://giztale.com/”, “referer_url”:…Continue reading
function sby_videos_taxonomy() { register_taxonomy( ‘video_categories’, ‘sby_videos’, array( ‘hierarchical’ => true, ‘label’ => ‘Video Categories’, ‘query_var’ => true, ‘rewrite’ => array( ‘slug’ => ‘video-category’, ‘with_front’ => false ) ) ); } add_action( ‘init’, ‘sby_videos_taxonomy’);Continue reading
/** * Add a collection of radio selections to the donation form. * * This snippet only works in Charitable 1.5 or above. * */ function wpchar_charitable_register_new_radios_field() { if ( ! class_exists(“Charitable_Donation_Field” ) ) { return; }; /** * Define…Continue reading
// Enable automatic updates for WordPress core, plugins, and themes add_filter(‘automatic_updater_disabled’, ‘__return_false’); add_filter(‘auto_update_core’, ‘__return_true’); add_filter(‘auto_update_plugin’, ‘__return_true’); add_filter(‘auto_update_theme’, ‘__return_true’);Continue reading
// 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’); // Disable WooCommerce image sizes and prevent WooCommerce from regenerating sizes add_action(‘after_setup_theme’, function () { // WooCommerce image sizes remove_image_size(‘woocommerce_thumbnail’); remove_image_size(‘woocommerce_single’); remove_image_size(‘woocommerce_gallery_thumbnail’); // Clear…Continue reading
function mepr_custom_checkout_image() { ?> (function($) { $(document).ready(function() { // Select the product image on the checkout page and change its source to a new image URL $(“.mp-table > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > img:nth-child(1)”).attr(“src”,”https://airfryerkogebogen.dk/wp-content/uploads/2024/11/airfryerkogebogen.png”); }); })(jQuery); <?php } add_action(…Continue reading
add_filter(‘aioseo_schema_output’, ‘aioseo_remove_health_and_beauty_business_schema’); function aioseo_remove_health_and_beauty_business_schema($graphs) { foreach ($graphs as $index => $value) { if (isset($value[‘@type’]) && $value[‘@type’] === ‘HealthAndBeautyBusiness’) { unset($graphs[$index]); } } return $graphs; }Continue reading