Blog

Subscribe the Jetpack contact form to MailPoet

Jetpack now comes with a nice new feature allowing you to consent to subscribing to a newsletter when filling out their contact form. However, unless you’re using Creative Mail, it does… absolutely nothing. Not even mentions it in the email, in which case I could add them manually. So I started searching for a way […]

Adding groups support to the ACF field shortcode

I loved the addition of groups to Advanced Custom Fields – instead of endless repetitions like header_heading, header_image, header_video and so on we can now treat them as an associative array: $header[‘heading’], $header[‘image’], $header[‘video’]. Unfortunately, there are some problems with displaying fields – e.g. can’t choose to display raw content in get_field(). The bundled shortcode […]

Store YouTube videos data from a playlist in WordPress

I’ve encountered a problem where I wanted to display the latest YouTube videos from several playlists on the website, without manually entering the data. The way to do that would be to pull the data using YouTube API; however, I didn’t want to call it on each page load so needed a way of caching […]