Adding structured data
When you create a web page, post or item, search engines find it hard to understand specific elements. You want to keep control on how it is displayed, but how a search engine sees it can be very different. Structured Data helps search engines to better understand what the content is specifically about. But it…
Read MoreGetting posts with twig
The Timber Posts Module allows you to perform a custom query, where you can set basic parameters for the returned posts. If the available settings aren’t enough, you will need to create your own Query Args. Twig can manage Because Twig is basically a template engine, you can programatically create the posts variable with a…
Read MoreDynamic Chart.js inline charts
If you need to add a chart to your layout, you can do this with a bit of javascript. This is much more convenient than adding a screenshot, because you can add and update data without having to go through the whole process of exporting, uploading and updating the image. If you discover an error…
Read MoreAdding a repeater field
When using ACF you can add a repeater to a post. For instance, it can be used when you need one or more custom gallery images with a description and link. A detailed example on how you can add such a field can be found on the ACF docs pages:https://www.advancedcustomfields.com/resources/repeater/ Step 1: Testing for repeater…
Read More