WordPress: Automatically add child-posts

WordPress: Automatically add child-posts

In a recent project, a requirement of the WordPress site I was building was to automatically create child posts when adding a post of a certain type. It turns out that this is fairly easy using the wp_insert_post function, but there are a number of factors to take into consideration (not least not creating a new […]

End of week one

End of week one

A ‘gentle’ first week in my new job. This week has mainly involved setting up the administration side of the business (and this website, of course) after the Christmas period. Lots to do, not least sourcing a functional keyboard for my Macbook! I spent several hours in the impressive Engine Shed centre near Bristol Temple Meads, meeting new […]