Search

trivial.tech

Custom PHP Code in Word Press, Part 1

There are several ways to inject dynamic, PHP generated content into your WordPress site.

Let’s take a very simple example.

Let’s display the current date in a post.

Like this [current_date]

 

 

Featured post

“Learn to code!” they said, “It’ll be fun!” they said…

Computer programming can be a little frustrating.  Plain and simple, we weren’t built to do this, so it’s naturally a bit painful.  Those who decide to make a career of computer programming will get irritated from time to time.  Ok, I was way too generous there.  These individual who take up residence under the bridges of information superhighway will be INFURIATED on a regular basis.  It will rain down hell and damnation on them practically every day of their lives.  Every keystroke, tiny feet stepping down onto tiny keys of made of broken glass.  “Oh God why did I do this to myself” they will mutter at 3:30 AM.

Blog post title

This is an additional placeholder post. Click the Edit link to modify or delete it, or start a new post.

Blog at WordPress.com.

Up ↑