Today, after many months of procrastination, I’ve implemented a small change to my oik-clone plugin that should significantly improve my publishing process. oik-clone now has the ability to automatically re-clone content with newly added (uncloned) featured images.
The primary purpose is to ensure that the target system has the correct ID for the featured image.
|Original process||New process|
|Create the content.||Same|
|Upload and attach the featured image.||Same|
|View the content.||Same|
|In the output of the [clone] shortcode select the post and the child attachment to clone. Click on clone||Same.|
|Edit the content – check the SEO meta description, correct a typo or something, update the taxonomies then update.||No need to edit. You’re done.|
|View the content again.|
|Clone the content again.|
Post without a featured image. Note: post ID 50 was extracted from the github shortcode. It’s a red herring I’ve learnt to live with.
Last updated:June 16, 2020
Using a plugin called network-privacy you can hide a WordPress Multi Site site so that it’s only accessible to a particular type of user.
You can use this if you want to create a staging / development site within a WordPress Multi Site network.
Last updated:June 15, 2020
If you’ve ever converted a single installation of WordPress into a WordPress Multi Site ( WPMS ) network using subdirectories, you’ll have noticed that the prefix for blog permalinks for the primary site changes from
If you are concerned that this new permalink structure will cause problems in the future then you may choose to remove the
It is possible to remove this prefix
Some people say that making this change is not recommended. The reason for adding the
blog/ prefix is to prevent conflicts with URLs in other sites in the network.
If you do this on the main site of your network, you must make sure that none of your posts, categories, tags, or custom post types and taxonomies have a slug equal to the slug of a subsite.
I did this on a local install, creating a subsite called 2020. Then I forgot about it, updated to WordPress 5.5-beta3 and thought the hack had stopped working. I’m going to have to fiddle with the new sub-site’s name now.
Last updated:July 23, 2020
I’m away on vacation very soon. I’ve taken the opportunity to release another beta version of my oik-blocks plugin with a new block called Dynamic content block (
This block implements 11 of my dynamic content shortcodes delivered by the oik base plugin, hence the prefix. When it’s ready for production then I’ll deliver the block in oik v4.1.0.
Last updated:February 9, 2020