Fix ACF content not displaying in the filter result – Content Grid
add_filter( ‘pp_cg_beaver_themer_parse_shortcodes’, ‘__return_false’ );Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
add_filter( ‘pp_cg_beaver_themer_parse_shortcodes’, ‘__return_false’ );Continue reading
/** * Main plugin class. * * Security / Maintainability / Accessibility notes: * – No user-supplied input is processed; configuration is fixed server-side. * – We scope changes to Jetpack Instant Search via its documented filter, so normal queries,…Continue reading
/** * Main plugin class. * * Security / Maintainability / Accessibility notes: * – No user-supplied input is processed; configuration is fixed server-side. * – We scope changes to Jetpack Instant Search via its documented filter, so normal queries,…Continue reading
add_action(‘init’, function () { if (is_admin()) { return; } if (empty($_COOKIE[‘rd_session_params’])) { return; } $raw = wp_unslash($_COOKIE[‘rd_session_params’]); $data = json_decode($raw, true); if (!is_array($data)) { return; } foreach ($data as $k => $v) { if (!is_string($k) || $k === ”) {…Continue reading
add_action(‘wp_footer’, ‘add_custom_mobile_dock’); function add_custom_mobile_dock() { if (is_cart() || is_checkout()) { return; // Don’t show dock on cart or checkout pages } ?> Начало Меню Търсене ПомощContinue reading
add_action(‘wp_footer’, function () { ?>Continue reading
/** * First Remove The Existing Pricing Filter So That It Will Be Available To All Users */ add_action(‘init’, ‘remove_existing_pricing_html’, 10); function remove_existing_pricing_html() { global $wc_wholesale_prices; remove_filter(‘woocommerce_get_price_html’, [$wc_wholesale_prices->wwp_for_non_wholesale_customer,’add_click_wholesale_price_for_non_wholesale_customers’], 10 ); } /** * Include Pricing HTML for all users */…Continue reading
/** * WPCode Snippet: Display AIOSEO Meta Data for Post ID 323 * */ add_filter(‘the_content’, function($content) { // Only show on single post/page and for post ID 323 if (!is_singular() || get_the_ID() != 323) { return $content; } if (!function_exists(‘aioseo’))…Continue reading