PHPnews.io

Overview for 'wordpress'

WordPress, REST, and RegEx

Written by Cal Evans / Original link on Dec. 26, 2019

Dear Reader, I’m going to add this to “Using the WordPress REST API“, but I thought I would blog it here as well. I have a tendency to over think things. Today, I was working on a REST API endpoint for a client and it needed to have RegEx in it. I hate RegEx with […] The post WordPress, REST, and…



Embedding Notist slides

Written by Rob Allen / Original link on Oct. 30, 2019

This site uses WordPress under the hood as I find the flexibility that a good CMS provides quite useful. For the talks section, I use a custom post type so that I can set additional properties on the post and customise the display. With my usual lack of imagination, my custom post type is called ta…


Top 5 plugins for WordPress

Written by Michael Brooks - RSS Feed / Original link on Aug. 25, 2019

These are my top 5 plugins which I think most people should have, especially if you’re a blogger looking to make connections and/or your site as fast as possible. 5. Smush Smush is a fantastic plugin which can help speed up your website by compressing images. You can bulk ‘Smush’ as they say which…


Displaying exif information in WordPress posts

Written by Rob / Original link on Aug. 14, 2019

After discovering that WordPress modifies img tags when rendering a page, it crossed my mind that I could display exif information underneath each image on my new photography blog. The basic process is applicable to any manipulation of the content that you would want to do before it is displayed.…


Images and WordPress

Written by Rob Allen / Original link on Aug. 7, 2019

My new WordPress project has multiple photographs per post and as I wanted them to work in an efficient manner for multiple screen resolutions. The secret to this is the srcset and sizes attributes on the img tag. It turns out that WordPress will create multiple sized thumbnails when you upload an…