This post demonstrates three ways to change the template of your WordPress blog post to display the last modified date instead of the original published date.
As a web designer/developer, I work in PHP for both WordPress and Statamic websites.
This post demonstrates three ways to change the template of your WordPress blog post to display the last modified date instead of the original published date.
in 2024, when I went back to update older posts on ArtsandBricks.com to make updates, many posts would error and not save. When I clicked "Update," a red bar across the top of the page would appear that read, "Updating failed. Could not insert post into the database." Here's how.
Especially in January, you start thinking about copyrights on your websites. This is one of those maintenance tasks ripe for a programmatic solution. No reason to manually update the years on your website's copyright year after year. Here are a few good options for creating an automatically updating copyright year on your website.
Frustratingly, I find that I'm almost always locked out of my client's websites hosted on the Managed GoDaddy Wordpress plan, but there is a workaround. Here's what to do.
I'm building my 2nd Statamic V3 website using the Peak Starter Kit. This is where I capture tips I'm learning along the way. The developer of Peak and the Discord channel members are very responsive!
I started using Machform for my static HTML websites back in 2010. Then, as it is today, Machform is a simple, self-hosted form solution that JUST works and has an affordable one-time license fee. Here are some tricks I've learned and still use to help recover "lost" content quickly.
Both WordPress and Statamic content management systems are built on PHP. Just like many other programming languages, PHP's syntax for OR is two vertical lines; PHP's syntax for AND is two ampersands &&. Alternatively, the words "and" and "or" may be used, too. Here are some code examples.
Especially for web designers new to Statamic, it can take some time to figure out how to manipulate Statamic-specific variables and incorporate the correct logic syntax to do what you want. Here are a few useful if statements that might help you out!
The WordPress Media Library does not permit uploading SVG file types by default. Trying to upload an SVG file to the WordPress Media Library displays a warning reading, "Sorry, this file type is not permitted for security reasons." To change the functionality of your site and to permit SVG upload, you'll need to update your theme or child theme's function.php with this code.
As in most things, there are many different ways to accomplish finding out what template or templates your page is using. Below we share a free plugin option and share a code snippet option for seeing what templates each page of your WordPress site uses.