Archives: Snippets
deneme
Loading the Elevenlabs Text to Speech AudioNative Player…Continue reading
MemberPress: Mailchimp Feed Unblocker
function allow_mc_through( $block, $post, $uri ) { if( isset( $_GET[‘allow_mailchimp’] ) ) { $block = false; } return $block; } add_filter( ‘mepr_pre_run_rule_content’, ‘allow_mc_through’, 11, 3 );Continue reading
MemberPress: WooCommerce – Show Protected Products on the Shop Page
function remove_plugin_filter() { remove_filter( ‘woocommerce_product_is_visible’, ‘MeprRulesCtrl::override_wc_is_visible’, 11, 2); remove_filter( ‘woocommerce_variation_is_visible’, ‘MeprRulesCtrl::override_wc_is_visible’, 11, 4); } add_action( ‘plugins_loaded’, ‘remove_plugin_filter’ );Continue reading
wordpress on-page confirmation message
.wpforms-confirmation-container-full { color: #D2A336; margin: 0 0 24px 0; background: #000000; border: 1px solid #D2A336; padding: 15px 15px; }Continue reading
Disable WordPress Admin Bar for all users
/* Disable WordPress Admin Bar for all users */ add_filter( ‘show_admin_bar’, ‘__return_false’ );Continue reading
MemberPress: Manually Refresh Member Data
/** * Manually refresh all members’ data. * * Once this snippet is added, visit /wp-admin/?update-member-data=true on your site to update all member data. * After running the update, clear any site cache and check the Members page again. */…Continue reading
MemberPress: Changes Product Image on the Checkout Page
function mepr_custom_checkout_image() { ?>Continue reading
Titel aanpassen archive page
function custom_category_title( $title ) { $title = str_replace( ‘Archieven’, ‘Mijn gewenste titel’, $title ); return $title; } add_filter( ‘archive_title’, ‘custom_category_title’ );Continue reading
OpenBiblio
OpenBiblio Install Instructions Contents: Release Notes System requirements Install Instructions Setup of Userlogin Updating from a previous version of OpenBiblio Release Notes: Version 0.8 is recommended for new installs. Updating older versions of OpenBiblio is highly recommended because the most…Continue reading