I was quite excited when I discovered that it is possible to embed gist links into WordPress blog posts, and they will render as syntax highlighted code: Gist embedded in Lambda Go Starter Project Since I write most of my posts in Markdown I would previously provide the code with Markdown code blocks, but these … Continue reading Do not use WordPress gist embeds
Tag: WordPress
Git Versioning: Beyond Revisr
Some time ago, I have written an article about how to set up versioning for WordPress using git. I now came across an article by Newt Labs which have created an infographic about the justification for using git for WordPress. I think this infographic is quite insightful, so I will provide it below (with the … Continue reading Git Versioning: Beyond Revisr
Install PHP Application and WordPress Alongside Each Other
Problem You have a webpage like http://www.example.com and you would like to serve both WordPress and files from a PHP application from the root domain. For instance, opening http://www.example.com/my-post will open a post on WordPress and http://www.example.com/index.php will open a page in a PHP application. Solution Set up your php application in /var/www/html Install WordPress … Continue reading Install PHP Application and WordPress Alongside Each Other
Versioning WordPress with Git and Revisr
WordPress is a powerful platform to just get a simple website up and running. Unfortunately, some things which are considered best practice in software development projects are a bit difficult to realize with WordPress. One of these things is versioning. Thankfully, there is a powerful plug in which enables versioning WordPress using a git repository: … Continue reading Versioning WordPress with Git and Revisr