Blog

Responsive Product Data Tabs in WooCommerce

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"

Webpack with hot module replacement (HMR) in WordPress theme development

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"

How to filter WordPress REST API for custom post type by taxonomy slug

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"

WordPress REST API post orderby custom value

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"

Typo3 6.2 web services with eID and Extbase extensions

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”

Debugging Database Queries in Extbase in Typo3 6.2 CMS

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”