Displaying WPForms Pro on Quiz and Survey Master Results Pages
This code snippet will ensure WPForms Pro forms displays properly on QSM results pages.
Helper functions to make generating WordPress post type labels and taxonomy labels easier
Generate post type and taxonomy labels easily by specifying the singular and plural version of the…
Allow only specific days of the month in all WPForms date pickers
If you only want users to select certain days of the month in the Date Picker,…
Disable emails on free purchases
If the purchase was for a free product, don't send any emails.
Google Tag Manager Head
Google tag Manager Snippet (head section)
Local Eldoria National Data
Eldoria Nation Details Industry Output Upgrade Level IT 100 1 Auto 50 1 Agriculture 200 1…
Include Pending Donors
By default, the Donors widget & shortcode will only include donors with Paid donations. With this…
Elementor Rest Bridge
if (!defined('ABSPATH')) { exit; } add_action('init', function () { $post_types = array('page', 'post', 'elementor_library'); foreach ($post_types…
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…
parallax
.parallax { background-image: url("http://example.com/wp-content/uploads/2017/08/my-background-image.jpg"); height: 100%; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; margin-left:-410px; margin-right:-410px;…
Required Fields
Modify the required fields for checkout.
Enable Downloads in the WP REST API
Enable the download products to show in the WP REST API
Disable Author Archive
A small Code that disable the WordPress Author Archive and redirect to the Homepage
Add the fields to the user edit screen
// Add the fields to user edit screen. add_action( 'show_user_profile', 'add_extra_user_fields' ); add_action( 'edit_user_profile', 'add_extra_user_fields' );…