Blog

Read about some topics that intrest me or that I have experienced.

Force re-install all plugins with WP-CLI

In the category of handy snippets I sometimes use. This one lets you install all plugins. Sometimes a deployment gets cut of or isn’t succesfull for some weird reason and I’m gettings errors while loading WordPress. I’m adding —skip-plugins because most of the times a plugins is borked. And I’m adding –skip-themes just in case […]

Read more about Force re-install all plugins with WP-CLI

Prefix blog posts but not for tag and category archive page

TLDR; Install https://github.com/jmslbam/wp-post-url-prefixer to automaticly prefix your posts with blog and also create a /blog/ post archive page. Prefix posts via Permalinks settings is not good enough So for XvM Coaching I wanted to add a prefix to the blog posts and did so via the WordPress Permalink settings. But this also added the prefix […]

Read more about Prefix blog posts but not for tag and category archive page

Making “Widgets for Google Reviews of Trustindex” a bit more GDPR compliant

So I found this topic on why Trustindex’s plugin Widgets for Google Reviews uses an external 3rd party CDN to load their images. I solved it by overwriting the HTML of the plugin’s shortcode HTML: And overwrite the CSS of the plugin so that the plugin’s CSS rule won’t be loaded. You need to save […]

Read more about Making “Widgets for Google Reviews of Trustindex” a bit more GDPR compliant

Use first image of Woocommerce product gallery as post thumbnail

So I have a client who wanted to reuse Woocommerce Product gallery functionality somewhere else on the page, but didn’t needed to set a Featured Image for each individual product. The culprit Because the Woocommerce code checks if your product has a post thumbnail set, it won’t display the gallery if that’s empty. https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/templates/single-product/product-thumbnails.php#L29 The […]

Read more about Use first image of Woocommerce product gallery as post thumbnail

Automaticly add “Multiple Pages Generator” Project sitemap to Yoast sitemap index

When using Multiple Page Generator for vastgoedopkoop.nl I didn’t want to relay on delivering the project Sitemap XML via the robots.txt. Therefore I wrote a filter to automaticly add them to the Yoast WordPress SEO sitemap_index.xml. Easy as that, enjoy and have fun!

Read more about Automaticly add “Multiple Pages Generator” Project sitemap to Yoast sitemap index

Zoeken binnen WordPress: “Is it me you’re looking for?”

Video-opname Hieronder de opgenomen live-sessie welke is opgenomen. Dank aan de WordCamp NL organisatie voor de uitnodiging en ik ben erorm blij dat ik op deze manier heb mogen bijdragen aan de WordPress community! Als je deze talk interresant vondt, dan heb ik nog enkele andere talks. Aankondiging Yes! Ik heb er zin in. donderdag […]

Read more about Zoeken binnen WordPress: “Is it me you’re looking for?”

Why Team Happiness can be the Worst Thing to Aim for

Very interesting talk about organizations, teams and viewing problems in equanimity instead?of letting emotions run with you / other and lettings the ego have its way with us.

Read more about Why Team Happiness can be the Worst Thing to Aim for

Using Twig in WordPress with Clarkson

At the end of 2015, we @ Level Level have released a WordPress Plugin accompanied with a Theme for WordPress that makes it possible to use the Twig templating engine and some awesome OO WordPress objects. Go check out the website for more information! Have fun with it because it’s awesome!

Read more about Using Twig in WordPress with Clarkson

WordPress Meetup 010 – September 2014

Het was een leuke en gezellig meetup! Hier is het lijstje van vragen welke ik en andere bij de Metup gaandeweg de avond hebben kunnen beantwoorden: Time tracking Deze gebruik ik zelf: Toggl – https://www.toggl.com/ Deze gebruiken we bij Level Level: Harvest – https://www.getharvest.com/ Dit omdat het?meer functionaliteit bied, alhoewel Toggl tegenwoordig goed uitgebreid is. […]

Read more about WordPress Meetup 010 – September 2014

Iconssssss! SVG icons or font icons

Will update this post because it’s a work in progress. SVG So this blogpost kind up sums up why I want to try SVG icons. http://ianfeather.co.uk/ten-reasons-we-switched-from-an-icon-font-to-svg/ SVG-icons needs background-size… and IE8 doens’t support that, so a fallback to regular PNG’s? Or just screw IE8 and load only those essential icons like logo, menu-burgers. Well IE8 […]

Read more about Iconssssss! SVG icons or font icons