Code snippets
Articles
-
CMB2 new repeatable WYSIWYG fields not initializing
CMB2 is great for adding your own fields (custom meta boxes) to WordPress. When implementing a repeater group with a … Read more →
-
TYPO3 generates dark images
Since a security update of ImageMagick TYPO3 generates images which are really dark. The problem seems to be the colorspace … Read more →
-
WordPress Child Themes
When making changes to a an existing WordPress template, it’s recommended to create a child theme. This will make it … Read more →
-
WordPress secret keys and salts
To increase the security of a WordPress site you should add 8 different secret keys to the wp-config.php file. WordPress … Read more →
-
Using HTML5’s picture element now!
Serving optimal images for all possible screensizes is a huge challenge. Screens can differ not only in size, but in … Read more →
-
WordPress custom settings section
With the settings api it’s relatively easy to add custom settings to a theme or plugin in WordPress. Just add … Read more →
-
Google Maps iframe embed disable scroll to zoom
UPDATE: Google has finally fixed this usability issue, providing an overlay with instructions for touch devices. Users will be able … Read more →
-
Automatic mailto and tel link icons
By using the "^=" css selector we can style links beginning with a certain keyword. This example gives all links … Read more →
-
Equal height jQuery plugin
Sometimes you need to have elements to be the same height, but you can’t achieve it by using CSS. This … Read more →
-
Typoscript language menu (with deeplinks)
Adding a language menu, even with 10 languages like in this example is pretty straightforward. Use stdWrap.typolink.addQueryString = 1 to … Read more →