Custom field in Divi Blog module

I had some trouble with my Child Theme after the Divi 4.10 update. It was no longer outputting a Custom Field in the Blog Module. I finally got it working again. I share the files here. If you create a Custom Field named ‘event_date’, this Child Theme will...

Display some random users

function wpb_random_users() { global $wpdb; $randomusers = ‘<div class=”grid-container”>’; // Query database for users $usernames = $wpdb->get_results(“SELECT display_name, user_url, user_email, ID FROM $wpdb->users ORDER BY RAND()...

Responsive text scaling CSS formula

Dennis Sinacola wrote this in a comment on FB: vw scales too fast as a straight unit. You can use the css calc() function to make it much more useful. For example I use this formula for responsive text: font-size: calc(16px + (24 – 16) * (100vw – 400px) /...
Is Divi slow?

Is Divi slow?

I recently did a remake of a custom theme + ACF site in Divi. The sites look 99% the same. (I now see a few padding differences that I could correct. Maybe later. The moved phone nr is intentional.) Left: New Divi website, right: previous website, custom built theme +...
WhatsApp chat