How to Create a Custom Single Attachments Template in WordPress

Posted on February 8th, 2012 by in Themes | 0 Comments  
WordPress Attachments

In the process of creating a total gallery display in WordPress powered by Custom Post Types, we have shared the code for how to get all post attachments in WordPress except for Featured Image. We have also showed you how to add additional fields to the WordPress Media uploader. In this article, we will show you how to use the additional fields in the media uploader and display them in a custom single attachments template. Before we start, it is…

Continue Reading »

How to Get All Post Attachments in WordPress Except for Featured Image

Posted on February 6th, 2012 by in Themes | 2 Comments  
WordPress Attachments

Recently while working on a custom project for a client, we had to get all post attachments from a custom post type and display them at one place. Because we were creating a grid display, we had each post’s featured image serving the purpose of a separator. This is why when getting all post attachments, we needed to exclude the featured image, so it doesn’t show up twice. In this article, we will show you how to get all post…

Continue Reading »

How to Show Comments on the Homepage of Your WordPress Theme

Posted on November 15th, 2011 by in Themes | 5 Comments  
Comments in WordPress

Recently while working on a very secret project, we found a need to show comments on the homepage of the site. Normally, on single pages you can just call comments_template(); and it should display, but it wasn’t showing up. All we ended up getting was a blank div container. After doing a quick search online, we were able to find the answer. In this article, we will show you how to show comments on the homepage of your WordPress site….

Continue Reading »

How to use Thumbnails with Previous and Next Post Links in WordPress

Posted on November 14th, 2011 by in Themes | 13 Comments  
Post Navigation with Thumbnails

One of our users asked us on our Facebook page: How to use thumbnails for previous/next post navigation in WordPress. The next_post_link and previous_post_link functions doesn’t have a simple enough thumbnail parameter which a new developer can simply turn on and off. In this article, we will show you how to use post thumbnails with previous and next post links in WordPress. The final result would look like this: First thing you need to do is open your theme’s single.php…

Continue Reading »
Tweets about us: