Hey all,
I'm trying to use this resource to figure out how query posts with a certain tag to a sidebar.
Let me explain: my tumblr as it stands is it stands is your typical blogroll.
What I'm trying to do is have a sidebar that displays the headline and image of the four most recent posts with a certain tag.
So, if a post has the tag #important, it would appear in a sidebar with the image (or YouTube video -- is that possible to incorporate?) and the title of the post.
One of the variables tumblr inlcudes is 'HasTags':
Does anyone know how I would go about formulating this? Or know a resource where I could learn how to formulate that?
Thanks for the help!
I'm trying to use this resource to figure out how query posts with a certain tag to a sidebar.
Let me explain: my tumblr as it stands is it stands is your typical blogroll.
What I'm trying to do is have a sidebar that displays the headline and image of the four most recent posts with a certain tag.
So, if a post has the tag #important, it would appear in a sidebar with the image (or YouTube video -- is that possible to incorporate?) and the title of the post.
One of the variables tumblr inlcudes is 'HasTags':
Code:
{block:HasTags} {/block:HasTags} Rendered inside {block:Posts} if post has tags.
Does anyone know how I would go about formulating this? Or know a resource where I could learn how to formulate that?
Thanks for the help!