PHP
Bind an Array to SQL IN Operator Using PDO
When using PDO, binding a specific number of values to the IN operator isn’t difficult. What if the number of values isn’t a fixed number though? Maybe it’s an array…
September 14, 2020 • 2 minute read
Insert Content In WordPress Loop After First Post
Have you ever wanted to include something other than a post in the WordPress loop? Maybe you want to display an ad after the first post. Let’s learn how to…
August 21, 2020 • 3 minute read
Change the WordPress Default Excerpt Length
A WordPress post can have an excerpt that you define manually. It can be used to display a summary or teaser for your post. If you prefer the excerpt get…
June 5, 2020 • 2 minute read
Dynamic Copyright Date
Are you tired of changing the copyright date on your website? Instead of changing the date manually every year, you can use a bit of code to automatically display the…
February 20, 2020 • 1 minute read