Dropdown vullen met Excel

In formulieren kun je bij sommige plugins een dropdown vullen vanuit een CSV-bestand. Ik laat hier zien hoe dat gaat met de plugin Calculated Field Forms (Platinum). Ik ga ervan uit dat die plugin actief is en dat je een formulier hebt gemaakt. Ik maak het bestand met...

WPML en ACF. En Divi.

Hoe een op het eerste oog strak project kan ontaarden in een chaos snap ik nu weer wat beter. Een belangrijke factor is dat je altijd wel weer dingen tegenkomt die je nog niet eerder gedaan hebt. Dan schat je in hoe het werkt, je leest je in via forums en...

Transposh shortcodes

Transposh shortcodes

(Dec, 2020, couldn't find more recent versions)) Shortcodes allow you to make transposh relate to some language information that you can provide it with. The support already existed with some html classes and tags, and is simplified with the tp shortcode, see examples...

Mail instellen

e-mailbox aanmaken Als je toegang hebt in DirectAdmin kun je nieuwe e-mailadressen aanmaken. Ben je daar niet mee bekend, stuur ons een appje of een mailtje, dan doen we het meteen voor je en laten je weten als het is gebeurd. Je kunt kijken of de mailbox het doet...

Divi mobile menu breakpoints for tablet

Sometimes the logo overlaps the menu items. The simplest way to avoid is, is setting a max-width for the logo. This is another CSS approach: display the hamburger and the hide main navigation at a custom width. I needed 1170px; set your own width. /* HIDE DEFAULT MENU...

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 add that to...

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() LIMIT 4"); // Display users in a...

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) / (800 -...

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