Untitled Snippet

create custom snippet

Ai Ohashi
<10

Untitled Snippet

function youtube_dashboard() { $api_key = "AIzaSyBzzf22Vs5sMf1eoCuhN3-0Qtnj0EKu7Bk"; $channel_id = "102319916649-hmjdaecid7f96ql384nd80ie8mn13fjj.apps.googleusercontent.com"; // ganti channel kamu $url = "https://www.googleapis.com/youtube/v3/channels?part=snippet,statistics&id=$channel_id&key=$api_key";…

Hide payment icons for trials

Hides the payment icons on checkout when the item in the card is a free trial

Untitled Snippet

add_filter( 'woocommerce_product_single_add_to_cart_text', 'saphie_custom_add_to_cart_text' ); add_filter( 'woocommerce_product_add_to_cart_text', 'saphie_custom_add_to_cart_text' ); function saphie_custom_add_to_cart_text() { return 'ADD TO BAG'; }

Joana Hranova
<10

Elementor Store Headers

Gives support for Elementor on WC Vendor Headers

Custom Tab Order For Dashboard

// Add this to your themes functions.php to change the order, rearrage the lines. First line…

3 Dots for popup text in WordPress

With this snippet 3 highlighted dots appear when you create small items of text that you…

Current Year

function current_year_shortcode() { return date('Y'); } add_shortcode('year', 'current_year_shortcode');

Post term count

add_shortcode( 'term_count', function( $atts ) { $atts = shortcode_atts( array( 'taxonomy' => '', 'hide_empty' => 'false',…

<10

Card Layout for Speaker Pages

Replaces the default speaker page with a card design: a hero image, the role, contact links…

1 … 90 91 92 93 94 … 242