Completely Disable Comments

add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…

<10

Event Data | Display Eventbrite Events

Please note that this guide is intended for advanced users and developers. Our plugin already offers…

Hide sidebar on mobile device

function custom_hide_sidebar_on_mobile() { echo ' '; } add_action('wp_head', 'custom_hide_sidebar_on_mobile');

Discover LaMelo Shoes: Where Street Style Meets Basketball

Discover LaMelo Shoes – the perfect fusion of style, performance, and comfort. Whether you're dominating the…

How to Allow WordPress WooCommerce Direct Order to WhatsApp Free.

Post Intro In this tutorial you will learn How to Allow WordPress WhatsApp Direct Order to…

MemberPress: Display MemberPress Course Progress Using Shortcode

This shortcode displays a user's progress for a specific course in MemberPress. It outputs a styled…

Use Full Store Address in Ships From

add_filter( 'wcv_product_ships_from', 'ships_from_address' ); function ships_from_address( $field ){ global $post, $product; $shipping_disabled = wc_string_to_bool( get_option( 'wcvendors_shipping_management_cap',…

Disable Blog Posts

// Remove side menu add_action( 'admin_menu', function () { remove_menu_page( 'edit.php' ); } ); // Remove…

Remove Gutenberg Blocks CSS

add_action( 'wp_enqueue_scripts', function () { wp_dequeue_style( 'wp-block-library' ); wp_dequeue_style( 'wp-block-library-theme' ); // Remove WooCommerce block CSS…

Remove "p" tags Contact Form 7

Remove tags from the forms in the frontend

WordPress Post Views Counter Function

function wpb_set_post_views($postID) { $count_key = 'wpb_post_views_count'; $count = get_post_meta($postID, $count_key, true); if($count==''){ $count = 0; delete_post_meta($postID,…

1 49 50 51 52 53 212