Tag: coding

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...

How to Center a Web Page Using CSS

If you're a beginner I'm sure that you're wondering how to center a div where all your elements are located. Here's a simple CSS code to center you website like...

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...

Limit the Number of Words/Character in WordPress Excerpt

Sometimes WordPress excerpt of posts are too long or too short for our design and we ask ourselves if it's possible to limit the number of words. The answer is...