Tag: cheat sheet

How to Display Date/Time as “x days ago” in WordPress

The format like "Post date: 15 days ago" is more of a tweeter styled for me. This is also possible to make on WordPress posts, pages, and comments to add...

Create Post Template by Category

The page template capability of a Page in WordPress is simply amazing, and sometimes you need that feature in a post. The time will come that you will be needing...

How to Use Server Side HTML Includes

HTML include is one of the greatest discovery I made this year. I was searching it on the web for some time and I'm glad that I found the best...

Get Featured Image URL and Display it on Page/Post

Sometimes getting the full featured image tag in WordPress is not the solution that we need in our custom template. There are situations that we only need the URL of a featured image....

Display Featured Image in Post/Page

Featured image in WordPress is an amazing feature. It let's you upload an image that can be used as a thumbnail or any photo for your post or page. To...