Tag: wordpress

  • Testing .. 1 . 2 .. erm .. 3 .. Gutenberg Blocks

    Testing .. 1 . 2 .. erm .. 3 .. Gutenberg Blocks

    To Gutenberg blocks and beyond! Well, that was an interesting 48 hours! I was sitting here writing something for someone else (words, lots and lots of words) and while I was looking at it, I thought it would be nice to have more than one column of text to read, like a newspaper or magazine; flowing columns. Of course, a simple enough ask if you’re creating your own HTML/CSS, the ‘column-count’ and ‘column-gap’ styling options work a treat. However, when you’re writing in WordPress paragraphs, there are no such thing.

    It seems since the update to 6.3 and the update to the 2023 theme, this is now broken. Please be aware of that, I haven’t had a chance to look at why. If you wanted to have a look and let me know that would save me the effort! Thanks.

    Dave
    (more…)
  • WooCommerce >= 3.XX Gallery Lightbox Features

    For those of you who remember the little check box on the Woocommerce display settings page, well if you haven’t looked for a while, it is no longer there to make you feel warm and fluffy.

    (more…)

  • get_product_search_form

    The filter used for intercepting the default WooCommerce product search form. Assigning a new function to this filter allows the search form to be redesigned to specific requirements

    [php]<?php

    function webdav_get_product_search_form () {
    // Insert custom code here
    $output = ”; // function should return html code in a string
    return $output;
    }

    add_filter (‘get_product_search_form’, ‘webdav_get_product_search_form’, 10, 1);
    ?>[/php]