Enqueue Child Theme's CSS & Additional CSS in WordPress Editor

/* Enqueue Child Theme style.css to editor */ add_filter('block_editor_settings_all', function($editor_settings) { // Get the URL of…

Change site url

add_action('init', 'update_site_url_once'); function update_site_url_once() { if (get_option('home') !== 'https://amazingmarvin.com/blog/') { update_option('siteurl', 'https://amazingmarvin.com/blog/'); update_option('home', 'https://amazingmarvin.com/blog/'); } }

Custom Availability Date for Products

/** * Availability Date Functionality * * Adds a custom availability date field to WooCommerce products…

<10

Display Page/Post ID

This snippet can be used to display Page/Post ID in the Admin Dashboard. Adds option to…

Payment Method Smart Tag

This code only has handling for klarna, us_bank_account and card (default). The other available types are…

PRO DRIVERS PERSONAL EXERCISE HUB APP

THE SNIPPET IS CODING FOR AN APP ENTITLED PRO DRIVERS PERSONAL EXERCISE HUB. CREATED TO PROVIDE…

Untitled Snippet

@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );

Allow mixed cart support with Stripe Payment Elements

Make it possible to purchase a subscription and non-subscription product in the same transaction with Stripe's…

Search Filter by Genre and Artist

This will only work if genre and artist are registered as taxonomies in your theme or…

Vacatures CPT - zonder taxonomies

Maakt een Vacatures custom post type

Wouter Tweehuijsen
<10
1 155 156 157 158 159 170