As part of an ongoing experiment with kubernetes and lots of WordPress instances I wanted to set up a site that talked to an Amazon RDS MySQL database. The unknown part was how to do this over SSL using the WordPress docker image...
This post introduces some considerations and techniques for handling images within WordPress. This is particularly useful if you are building a website that will be handed over to a client who will then maintain the content with no further involvement from you, the developer.
Markdown is an easy to use markup language for formatting text. It has proved to be very popular with developers. The syntax is small, quick to learn and very readable. The format is fairly well supported by online tools. Thinking of just a few examples off-hand: GitHub, MediaWiki and Trello. When you are writing a lot of text, particular web content, markdown makes it easy to see and focus on the content, rather than a mess of HTML tags.
‘Post formats’ is a neat WordPress feature that lets authors mark posts as a particular type and then allow the theme to style them accordingly. For example a user/blogger might find themselves just posting a picture with a caption and no other content. Such a post would likely make more sense if styled differently.
I am finding wp-cli increasingly useful. For those who haven’t come across it before—as the name suggests—it is a command line interface for WordPress. This in itself is fairly useful as a standalone tool for blog management (just run
wp to see the possibilities!). For developers it also has a handy feature for bootstrapping plugin unit tests.