skip to Main Content

Tumblr Featured Post

Recently a client approached to help with a project they were working on. They wanted to make a featured post for the Tumblr site they were developing for a pretty well known company. I have never worked with Tumblr before but I was up for the challenge.

I found the coding¬†needed to setup the featured post over at stack overflow.com and it’s pretty quick to incorporate into the theme.

The challenge that I was faced with was that the post was shown twice on the home page and the featured post was showing up on the tagged pages.

To fix those two issues I added

[css]<style>
{block:IndexPage}
.featured {
display:none;
}
{/block:IndexPage}
</style>
[/css]

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top