Menu Order + Thumbnail

// === Solverius Admin Columns (Menu Order + Thumbnail) === // 1. Kolonları ekle function solverius_add_columns($columns) { $new = []; foreach ($columns as $key => $value) { if ($key === ‘cb’) { $new[$key] = $value; $new[‘thumbnail’] = ‘Görsel’; } else…Continue reading

Product Details ACF V3.1

/** * Productdetails uit ACF tonen via [dv_productdetails]. * Geschikt voor WooCommerce-productpagina’s en Elementor. */ if ( ! function_exists( ‘dv_productdetails_row’ ) ) { function dv_productdetails_row( $icon, $label, $field, $product_id ) { if ( ! function_exists( ‘get_field’ ) ) { return…Continue reading

Product Details -V3.0

/** * Productdetails uit ACF tonen via [dv_productdetails]. */ if ( ! function_exists( ‘dv_productdetails_row’ ) ) { function dv_productdetails_row( $icon, $label, $field ) { if ( ! function_exists( ‘get_field’ ) ) { return ”; } $value = get_field( $field );…Continue reading

Days of the Week Filter Fix (Events List Block)

// 1) Send the checked “Days of the Week” values to the server – the block’s // own JS never does this, it only masks already-loaded events with them. add_action( ‘wp_enqueue_scripts’, function () { if ( ! wp_script_is( ‘sc-frontend-blocks-event-list-js’, ‘registered’…Continue reading

Exclude Common Scripts from SiteGround Speed Optimizer JS Minification

add_filter( ‘sgo_js_minify_exclude’, ‘js_minify_exclude’ ); function js_minify_exclude( $exclude_list ) { // Required as of WC Stripe Gateway v10.8.4 due to JS conflict on certain machines (Windows 11 conflict confirmed) $exclude_list[] = ‘wc-stripe-upe-classic’; // For classic/shortcode checkout $exclude_list[] = ‘wc-stripe-blocks-integration’; // For…Continue reading

zVideo Background (testing)

// Shortcode to display video in background of element // Example: [idxjarallax height=”50vh” video_source=”https://player.vimeo.com/video/791389345?h=f99fa401c1&autoplay=1&loop=1&title=0&byline=0&portrait=0&background=1&dnt=1″ image_source=”https://napa.idxcentral.net/wp-content/uploads/2024/03/banner-e.jpg”] function jarallax_shortcode($atts) { $atts = shortcode_atts(array( ‘height’ => ‘100vh’, ‘video_source’ => ‘https://player.vimeo.com/video/791389345?h=f99fa401c1&autoplay=1&loop=1&title=0&byline=0&portrait=0&background=1&dnt=1’, ‘image_source’ => ‘https://napa.idxcentral.net/wp-content/uploads/2024/03/banner-e.jpg’ ), $atts, ‘idxjarallax’); $height = esc_attr($atts[‘height’]); $video_source = esc_url($atts[‘video_source’]); $image_source…Continue reading

Specify Query Parameters to Ignore during SiteGround Speed Optimizer Cache-Creation and Cache-Spawn

add_filter( ‘sgo_ignored_query_params’, ‘add_sgo_ignored_query_params’); function add_sgo_ignored_query_params( $ignored_query_params ) { // List query parameters to ignore in addition to SiteGround Speed Optimizer default ignore-list. // WooCommerce Order-Received Redirection Order Attribution $ignored_query_params[] = ‘utm_nooverride’; // Third-Party or Plugin-Specific Parameters // MailChimp $ignored_query_params[] =…Continue reading