Home Tips & Tricks

Category: Tips & Tricks

I am sharing here my presentations, articles, code samples, downloadable snippets, and things I find useful, online tools and small demos, ways to fix various issues.


  • How to fix the missing captions from the gallery without re-selecting each image

    Have you noticed that after the most recent WordPress upgrades you might have lost the captions on the images rendered in the galleries? See below the PHP snippet that fixes this programmatically, in just a few lines of…

  • Free CSS and HTML Grid Generator – Demo and Code Snippet

    This is a useful online tool for both designers and programmers that are looking for creating a layout or UX based only on CSS + HTML. This is a pure CSS grid that will align elements without using any JavaScript code.
  • How to Automatically Set a Specific Template to New WordPress Posts – Snippet Included

    Applying by default a specific template to new posts, pages or custom post types seems like the fastest…

  • WordPress Tips: Simplify Gutenberg Embed Block Variants

    WordPress Gutenberg editor is very easy to use and it provides out-of-the-box useful features, and having…

  • How to Trim Strings and Keep HTML Tags – Snippet Included

    There are a lot of methods for trimming strings that take into account the number of chars versus the…

  • Images Optimization for WordPress and Why Just Compressing Images Is Not Enough

    Images optimization is a fascinating topic. I initially thought that to optimize the images you need…

  • How to create a slider using only JavaScript and CSS, without including other libraries

    My example below is going to show you how to create the simple slider from images. You can use a solution…

  • Drag & Drop AJAX Uploader Tutorial: Complete How-To Guide, Pretty Design, with Restrictions on File Type & Size

    This is a simple demo of how to create your own custom upload script, that allows you to restrict the…

  • How to Apply Links to WordPress Native Gallery Captions

    The WordPress native gallery is very easy to use and this functionality helps us build beautiful layouts…

  • How to set up a cPanel VPS on a server running Proxmox, with only 1 internet connection

    I am sharing this cool video tutorial for anyone that needs to install cPannel in a Proxmox virtual…

  • How to fix translation in multi-language website + WooCommerce + AJAX checkout

    I have been working recently on a multi-language website that is using WooCommerce > 3.5 and for some…

  • How to Integrate Google reCAPTCHA v3 in Forms that Use AJAX Validation

    I recently had to update one of the sites that is using Google reCAPTCHA to use the latest version…