Auto convert photos to WEBP (jpg, png)
/** * Konwertuj przesłane obrazy na format WebP * * Ten fragment kodu automatycznie konwertuje przesłane…
Multipost Query Loop
This code snippet adds the ability to add multiple posts to the Generate Blocks Query Loop
E-List
sign up for our e-news
Adds URL to pages window
add_filter('manage_page_posts_columns', 'my_custom_column', 10); add_action('manage_page_posts_custom_column', 'add_my_custom_column', 10, 2); function my_custom_column($defaults) { $defaults['url'] = 'URL'; return $defaults; }…
cookie consent script
Cookie Consent by Free Privacy Policy Generator Update cookies preferences
Google adsense
To connect to Google AdSense
Elementor - Fix the Accordion SEO issue
add_filter( 'elementor/widget/render_content', function ( $widget_content, $widget ) { if ( 'accordion' === $widget->get_name() ) { $widget_content…
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;…
Limit user posts
A settings page to set the number of posts all users can create
Disable default WordPress image sizes
// Disable default WordPress image sizes add_filter('intermediate_image_sizes', '__return_empty_array'); // Disable large scaled image size add_filter('big_image_size_threshold', '__return_false');…
Facebook storage tracking
Pixel for tracking self storage traffic
Conversion Event Snippet
When people click on book now or sign up and redirected to Mindbody for bookings.
Remove address from the header
Remove address block from the header