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

Show a list of WordPress post by a specific user

This WordPress snippet will let you show a list of post by a specific user. This is useful if you for example want to show post from a specific user on Custom Post Types etc.

How to display WordPress 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 can display custom field data using conditional statements in the form of a youtube video embed. If the post has a "youtube-video-link" defined, the content will be rendered.

How to display content only on the WordPress “Front Page”

If you only wish to show content only on the WordPress front page, you can do so by wrapping the content in a is_page (is_front_page) conditional statement. You can also choose to display content on all pages BUT front page by adding “!” to your statement. Instructions Insert content as shown below. Related Links: …