Elementor - Fix the Accordion SEO issue
add_filter( 'elementor/widget/render_content', function ( $widget_content, $widget ) { if ( 'accordion' === $widget->get_name() ) { $widget_content…
Dynamic Year Copyright Shortcode
This snippet adds an easy-to-use shortcode to display the copyright symbol with the current year.
Titel aanpassen archive page
function custom_category_title( $title ) { $title = str_replace( 'Archieven', 'Mijn gewenste titel', $title ); return $title;…
Dequeue CSS files conditionally
Dequeue CSS files conditionally
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;…
Google Tag Manager - Head
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id=GTM-XXXXXXXXXX'+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-XXXXXXXXXX');
Disable RSS - Feed
Disable RSS - Feed
Add Gateway Donation Field
Enable an email tag for the gateway_label donation field.
WPForms Custom Real-time Keyword Blocklist
This code snippet will add a custom validation rule to block specific keywords in real-time mirroring…
Conversion Event Snippet
When people click on book now or sign up and redirected to Mindbody for bookings.
Google Search Console Verification
HTML tag
Custom Terms Page
Use the custom page for "agree to terms" and link to it instead of opening terms…
aa
add_action('admin_notices', function () { if (!current_user_can('manage_options')) { return; } echo 'WPCode test is working.'; echo 'Application…