Generate sourcemaps in twentynineteen for style.css

If you dived into ‘How to compile WordPress 5.0 twentynineteen sass files you might mis the sourcemaps for the style.css. The sourcemaps are not generated by any of the commands without a small adjustment.

In the line with build:style you need to add: style.css –source-map, just as done above.


Compile sass in the new twentynineteen theme – WorPress 5.0

WordPress 5.0 is out! and it does not only come with Gutenberg but also with the new theme twentynineteen theme for WordPress. The theme is brilliant in its simplicity but that does not bring much elegance. So what if you want to change the styling? enhance or expand it? How would you start?. There are […]


jQuery Autocomplete with WordPress

Assuming you know something about plugin development, I want to share a piece using jQuery autocomplete the WordPress way. Ajax calls have been around and jQuery autocomplete has been, but you do not see them as much together in examples the WordPress way.


Enqueue child style after parent style

There are a number of possibilities for adding the child theme styles after the parent style sheet so you can overrule parent styles from the child theme. this one is easy, copy the code to your functions.php and it will work.


wp test content

wp test is een xml import met een variatie van gebruikers pages en posts om een thema te testen wptest.io github Wp test is useful to populate pages, posts and users with dummy data. Sometimes when working on a project you need content to see shape. wordpress plugin fakerpress fakerpress is a plugin that can […]


WordPress Select template to render query in wordpress

Sometimes you want to use one archive template for different situations. In wordpress select a template by using the ‘template_include‘ filter. You have to use the function ‘locate_template()‘ ┬áto set the template. This is if you want to stray from the normal way wordpress enables you to select a template. WordPress lets you create page […]