To add a custom category for your Gutenberg blocks add the following PHP code to your plugin, then add a block to your new category. The category won’t show until you add a block.

To add a custom category for your Gutenberg blocks add the following PHP code to your plugin, then add a block to your new category. The category won’t show until you add a block.
The Organisation Logo schema.org markup allows web designers to specify their website’s preferred company logo to use in Google searches. In this guide we’re going to use WordPress’ Theme Logo feature to generate the image and url part of the code.
Add %%page%% to the title of the archive page using the snippet editor. This will add the page number removing the duplicate title tag issue. If you have a static page set for your blog then check Settings > Reading to see which page is the Posts page – usually it’s the page named news or blog. For example: […]
If you’re using AMP pages (Accelerated Mobile Pages) and CloudFlare on your WordPress website/blog you’ve probably noticed some validation errors. This guide assumes you have the WordPress AMP plugin installed. To fix the validation errors go to Page Rules on the CloudFlare dashboard and add a rule for your website. Use the following url pattern: *thewirelessguy.co.uk/*/amp/* Obviously […]
Go to the Performance > Browser Cache menu of the W3 Total Cache (W3TC) Plugin. Then disable Do not process 404 errors for static objects with WordPress. You should now be able to view the sitemap in your browser.
I’ve updated Cornerstone WordPress starter theme to Foundation 5.2.0. As with the last few updates I’m the first again to bring you the latest responsive Yeti goodness to WordPress users. This time in under 10 mins 🙂 Here are the major changes in Foundation 5.2: 5.2.0- March 5, 2014 RTL fix for tooltips 0ec2262 Fixes clearing keyboard event […]
Earlier today Zurb released version 5 of their Foundation responsive front-end framework. The Cornerstone responsive starter theme is the first WordPress to support Zurb Foundation 5. What is Cornerstone? Cornerstone is a free WordPress starter theme based on the Zurb Foundation Responsive Framework. Cornerstone aims to provide a lightweight starter theme (a parent theme) that is responsive and SEO […]
Sometimes you want to style only the last post in a WordPress loop or you may want to add a comma at the end of every post except the last one. Here’s an example of how to do that:
This example removes the Orbit Custom Post Type from the Cornerstone responsive starter theme. You would include it in the functions.php of your child theme. The example can be adapted for any Custom Post Type used in any theme.
The example adds support for the Custom Post Type named ‘portfolio’. You would add this function to the functions.php in your theme or a plugin:
Disable the WordPress Admin Bar on mobiles but enable on desktops for logged in users:
How to display the title and thumbnail of child Custom Post Types on the parent custom post type in WordPress: