How to remove files from ZIP Archives in macOS and Linux
When ZIP up directories, particularly on macOS, some files may find their way into our ZIP archives that were never meant to be there. I’m thinking of those pesky .DS_Store and __MACOSX files, maybe even .htaccess files. For *nix based systems, * really means “everything”. The ZIP command line tool let us remove such unwanted files from an existing archive. Here’s how: zip -d your-archive.zip file1 file2 The -d switch tells ZIP to hunt for and delete the unwanted files. Files whose names contain spaces can be defined...
read moreHow to add files to an existing ZIP Archive on macOS and Linux
Sometimes it’s easy to delete a ZIP file and create a new one – say you’ve forgotten to include a file. Just drag it into the folder to be ZIPped up and start again. However, the clever little ZIP command line tool has a built-in ability to simply add a file to an existing archive without us having to do any manual grunt work. That can come in handy when we no longer have access to existing unZIPped content. Here’s how it works: zip /path/to/archive.zip addfile1 addfile2 addfile2 We can even add entire directories this...
read moreHow to use the GoPro Microphone Adapter for HERO 5/6/7 Black
Audio is one of the most aspects of the videos I record with my GoPro. I wanted to get this because I record videos when I’m riding my bike and tell stories while I do. You can check them out on my other YouTube channel, and on the Super Survivor Podcast. Before buying this adapter, I recorded a separate audio feed on my iPhone, which was additional faff I could do without. When I received a spontaneous 30% discount for accessories on the GoPro website, I bought this adapter – and was pleasantly surprised. I too had read the many...
read moreHow to use the GoPro Microphone Adapter for HERO 5/6/7 Black
Audio is one of the most aspects of the videos I record with my GoPro. I wanted to get this because I record videos when I’m riding my bike and tell stories while I do. You can check them out on my other YouTube channel, and on the Super Survivor Podcast. Before buying this adapter, I recorded a separate audio feed on my iPhone, which was additional faff I could do without. When I received a spontaneous 30% discount for accessories on the GoPro website, I bought this adapter – and was pleasantly surprised. I too had read the many...
read moreHow to make turn URLs into clickable links in the_content()
The P2 theme has a nice feature built-in: the ability to turn URLs into clickable links on the fly. It does this by using a WordPress built-in function called make_clickable(). Here’s how we can use this function to make this feature available to any theme. function clickable_content ($content){ $content = make_clickable($content); return $content; } add_filter ('the_content', 'clickable_content'); The above code, once inserted into your child theme’s functions.php file, will take the_content(), pass it to the make_clickable()...
read moreCreating a Podcast Feed with WordPress and PowerPress – Part 1
In this episode I’ll show you how to add podcasting capabilities to your WordPress website, using the Blubrry PowerPress plugin. I’ll explain the concepts and inner workings of a Podcast Feed, how it can be read by podcast directors and readers alike, and talk you through the installation of the plugin. For this example, I will setup Category Podcasting on my website https://supersurvivor.tv, which will allow me to host more than one Podcast Feed from the site. Catch this episode on my WP Guru Podcast:
read moreHow to enable the Author Bio Box in TwentyThirteen
The TwentyThirteen theme has a built-in option to display an Author Bio Box underneath each post. It’s nicely formatted and can be implemented very easily – if only their authors would mention that this feature even exists, let alone how to activate it. To understand how it works, we need to take a peek at the content.php file in the theme. Around line 70 we see three conditions that need to be met for the box to show up: is_single() – the post needs to be a single post, not a pageget_author_meta(‘description’)...
read moreHow to bring up the Emoji Keyboard on macOS
We all love Emojis, and it’s so super easy to insert them from an iOS keyboard. I do this frequently in messages. It stands to reason that it should be just as simple to do this on laptops and desktop Macs too – but how? Isn’t there some kind of shortcut we can use? Well yes there is – I just keep forgetting which one it is so here it is: CTRL + CMD (OPTION) + SPACE This handy combination brings up an Emoji Picker. Find the icon you like, click on it, and the dialogue automatically closes again after it inserts your...
read moreHow to remove the Jetpack Feedback Tab
In this episode I’ll explain how we can hide the Feedback Tab that the Jetpack plugin adds to the sidebar of the admin interface in WordPress. This tab is part of the Contact Form feature, which sadly cannot be switched off with a single slider. We’ll have to delve into debug mode and do it “the hard way” – but fear not, there’s not code hacking involved, and I’ll be with you every step of the way. If you have any questions, please let me know. Catch this episode on my WP Guru Podcast:
read moreHow to hide WordPress Update Notifications with ZEN DASH
In this episode I’ll show you how to hide and remove those (almost daily occurring) WordPress Update Notifications. I’ve built this functionality into a plugin I’ve written over 5 years ago called ZEN DASH. The plugin’s main purpose is to hide all kinds of clutter from the WordPress admin interface, such as unused tabs, dashboard widgets, footer attributions – and Update Notifications. You can install the plugin by searching under Plugins – Add New, or download it from the official WordPress repository...
read more