Category: Development

  • Embedding code in your WordPress posts

    Embedding code in your WordPress posts

    When adding code to a WordPress post, you may find that it gets modified (particularly when using the visual editor). For some years now, a popular plugin of mine, Code Embed, has allowed you a way to achieve this without any such modification. However, the plugin has had many features to it, making it a lot larger from what it first was. And that first release did it just a few lines of code.

    So, dusting those lines down, bringing them up to VIP coding standards, here they are for anybody to easily add to their site, for example, via their functions.php theme file…

    (more…)
  • WordCamp London, Take 2 – The Diary

    WordCamp London, Take 2 – The Diary

    It’s been a year since I went to my first ever WordCamp – WordCamp London. And now I’m back for a second attempt.

    (more…)
  • Advertising Gutenberg use on your website

    Advertising Gutenberg use on your website

    The brand-new, all-singing, all-dancing, editor for WordPress is due imminently and I’ve been using the beta version for some time for creating posts on this site. Recently you may have noticed a little advertisement of this fact has appeared at the top of (some of) my posts – I’ve added this to help promote Gutenberg.

    Let me share the code I’ve used to do this…

    (more…)
  • Adding AdSense Auto ads to your WordPress site

    Adding AdSense Auto ads to your WordPress site

    Google has announced, today, a new style of AdSense ad – the “Auto ad”. Using machine learning, the code will insert adverts into your site where it things they will be most relevant.

    Auto ads balance revenue and user experience by delivering the right ad at the right time to your visitors.

    They can even be added side-by-side with your existing, fixed, AdSense advert. And it’s really easy to add these to your WordPress site.

    (more…)
  • So long, farewell… my New Year plugin resolution for 2018

    So long, farewell… my New Year plugin resolution for 2018

    I have had a lot of plugins. 19 as of yesterday. And managing to keep them maintained, let alone adding new features, can be difficult. With Gutenberg around the corner and the changes that will be needed as part of that, it's a burden that's now impossible. 

    Many have been around for many, many years and there are far better alternatives now available. Many have few users (less than 10 in some cases). So, with a heavy heart, I've decided to reduce that burden.

    (more…)