Exact matches only
Search in title
Search in content
Search in comments
Search in excerpt
Filter by Custom Post Type
Recent SnippetsMore

How to display WordPress “site name” and “description” in templates

To display the WordPress site(blog) name and description – you can add the following to your template. ...

How to get featured image source (src)

With the WordPress function: wp_get_attachment_image_src, you can get the src of the featured image. Instructions Add this code to...

How to show author bio excerpt in posts

Here is a snippet that will enable you to show a short intro (excerpt) of the author bio of...

How to display custom fields with conditional statements

Sometimes you need to display post-specific content using custom fields. In this example we will show you how you...