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.
With the WordPress function: wp_get_attachment_image_src, you can get the src of the featured image. Instructions Add this code to your page/post template file where you want to use the featured image source.
This snippet automatically sets the featured image by fetching the first image of the WordPress post.
Heres a little snippet that will display recent posts from a specific category in WordPress
Heres a little trick on how to show a list of the most popular WordPress post by post read count - without using a plugin.
This WordPress snippet will add a class to the first post in the WordPress loop.
This snippet will allow WordPress contributors to upload images on your site.
This snippet is very handy if you wish to add category ID to WordPress body and post class for ex. targeting CSS styles and such.
This WordPress snippet will add a "edit page-/post" link on the WordPress posts and pages.