• Avada, CSS

    This adds a border radius to the individual blocks (toggles). Size can be adjusted to match your style. Add the class accordion-radius to your accordion (toggle). Check out the demo.

  • CSS

    This is a simple CSS that gives the appearance of placing a Font Awesome icon in the background.

  • PHP

    One thing that annoys me is the fact that you can’t get to your posts and pages from the WordPress top toolbar. This snippet will add all posts, my post, all pages, and my pages to your toolbar. Add this to your functions.php or the code manager of your choice.

  • PHP, WP Admin

    This will add the link to the interface for managing reusable blocks to the WordPress side menu.

  • Avada, CSS

    This is a CSS snippet for creating an Avada toggle with the icon next to the title but maintaining full-width clickability. Simply assign the class to the accordion, set bordered to off, and the dividing line to off.

  • ChatGPT, PHP

    After a few iterations to get the right combo, another win for ChatGPT. The prompt: Create a WordPress shortcode that returns the published date or modified date of a post in an Associated Press style date format with months longer than five letters abbreviated. The following code allows you to […]

  • Avada, CSS

    The Avada form tooltip is set not to wrap, and since there is no field for instructions (label or form field), the tooltip is necessary. This snippet will help make the tooltip more useable

  • Avada, CSS

    When you add a description to a menu item, the alignment is forced to center justification. This will fix that.

  • Avada

    The Toggle Element styling leaves a bit to be desired as it applies hover effects to the entire block and not just the header and the panel. This should override that behavior but still takes advantage of the settings, thanks to the use of CSS variables. Example

  • ChatGPT, PHP

    This was my first ChatGPT for a WordPress feature: Sure, here’s the code to create a shortcode that outputs an accessible dropdown list of all post categories and the number of posts in each with a link to their archive. The list must be in alphabetical order, don’t show categories […]

  • PHP

    This can be used to add a longer copyright statement in your footer using the [copyright] shortcode. It will automatically update each year. Replace Starting Year and Your Name or Company Name.

  • CSS

    Avada does not provide a fixed-width submenu icon class like fa-fw which is part of Font Awesome. This snippet will fix that.