MemberPress: Disable Unauthorized Redirection on a Specific Page or Post
Adding this code snippet will prevent unauthorized users from being redirected away from the specific page…
MemberPress: Redirect To Specific Page Based on Rule
This code snippet will redirect users to a custom URL if the visited post is protected…
MemberPress: Free-Views-Left Counter
This code will add the counter notification showing users how many free views they have left…
Make the auction start price and auction dates required for vendors
This is from the integration with the WooCommerce Simple Auctions plugin
How to Add Christmas Celebration Animation in WordPress Website
Add Christmas Snow Animation in WordPress Website
Chatbot backend
function generate_chat_response( $last_prompt, $conversation_history ) { // OpenAI API URL and key $api_url = 'https://modelsearch1.openai.azure.com/openai/deployments/gpt-35-turbo-StoreWayfinder/chat/completions'; $api_key…
Add the Buy on Kindle button near Add to Cart in WooCommerce PDP.
Add the Buy on Kindle button near Add to Cart in WooCommerce PDP.
Smooth Scrolling
html { scroll-behavior: smooth; }
Untitled Snippet
document.addEventListener('om.Campaign.load', function(event) { console.log(event.detail); } );
Hide Out Of Stock items on WooCommerce Shop page when sorting (popularity/price) applied.
Hide Out Of Stock items on the WooCommerce Shop page when sorting (popularity/price) applied.
Enable automatic updates for WordPress core, plugins, and themes
// Enable automatic updates for WordPress core, plugins, and themes add_filter('automatic_updater_disabled', '__return_false'); add_filter('auto_update_core', '__return_true'); add_filter('auto_update_plugin', '__return_true');…
Add Radio Boxes To Donation Form
/** * Add a collection of radio selections to the donation form. * * This snippet…
YouTube Feeds Pro add Category Support
This snippet registers a new taxonomy for the custom post type related to the individual video…