I am writing this as I spent ages trying to find the answer in WPML documentation and forums and couldn’t find it. It was actually very simple.
Continue reading "WPML: Forcing the language in the WordPress admin area"
I am writing this as I spent ages trying to find the answer in WPML documentation and forums and couldn’t find it. It was actually very simple.
Continue reading "WPML: Forcing the language in the WordPress admin area"
If you have added custom product data tabs to your woocommerce install, then you might have noticed that they don’t work well on a small screen. In this post I will modify the default tab template with a responsive design to make the tabs stack nicely on a mobile device.
Continue reading "Responsive Product Data Tabs in WooCommerce"
I tried for what seemed a very long time to get HMR set up and working with in my wordpress theme but really struggled to workout how to set it up correctly.
Continue reading "Webpack with hot module replacement (HMR) in WordPress theme development"
In a recent project I had the need to render a two column layout where the articles filled up all available space and stacked left to right.
Continue reading “Two Column masonry layout in vanilla javascript”I needed to sort the custom posts in a REST API response by a meta value, this is how I did it.
I spent ages looking for an answer to my question of how to implement this, I knew that it was possible but I couldn’t seem to find the right answer anywhere. So I’m posting it here for my future reference and in case anyone else finds it.
Continue reading "How to filter WordPress REST API for custom post type by taxonomy slug"
Ordering posts by menu_order doesn’t work out of the box with the WP REST API. To enable this you need to add a filter to rest_{post_type}_collection_params
for each post type you want to order by menu_order.
Continue reading "WordPress REST API post orderby custom value"
I have been having to make a lot of web service end points in Typo3 recently and it drives me mad that there isn’t an out of the box solution in Typo3. It just seems crazy.
So, I though I’d write down the way I’m doing it, to help out anyone else who is struggling.
Continue reading “Typo3 6.2 web services with eID and Extbase extensions”
If you are using extbase to develop typo3 extentions you can use the Query object to build queries without having to write SQL. The only problem is that if you want to see the actual SQL that is being executed it is hidden from view.
Continue reading “Debugging Database Queries in Extbase in Typo3 6.2 CMS”