Untitled Snippet
Content-Type HTTP response header, element within the first 1024 bytes of your HTML document.
MemberPress: Exclude MemberPress Custom Post Types from WordPress Search Results
By default, protected content could show up in the website search results. Though still protected, they…
MemberPress: Change Stripe Checkout fields to match Dark Mode theme
Adjust the appearance of Stripe Elements form by changing the theme to 'night' if a user…
Customize Amount Raised Text
In this example, we change how the "X donated of Y goal" text appears.
ModalCSS
Used to display popup modal in GenerateBlocks
Require a comments with rating
Return the number of the rating that should not require a comment.
Remove Post Title from Yoast Breadcrumbs
This snippet removes the post title from Yoast SEO breadcrumbs
Allow HTML in the product description
function wcv_wpkses_post_html_tags( $tags, $context ) { if ( 'post' === $context ) { $tags['iframe'] = array(…
Add custom page to the vendor dashboard - custom menu link
add_filter( 'wcv_pro_dashboard_urls', 'custom_menu_link' ); function custom_menu_link( $pages ) { $pages[ 'custom_link' ] = array( 'slug' =>…
Buy Now
...
Stop Lazy Load
add_filter( 'wp_lazy_loading_enabled', '__return_false' );
featured-images-rss-feed
function featuredtoRSS($content) { global $post; if ( has_post_thumbnail( $post->ID ) ){ $content = '<div>' . get_the_post_thumbnail(…