Forums

Tumblr {block:Posts}…{/block:Posts}

I’m new to Tumblr and have this one hiccup with the theme I’ve built for a client. I don’t know how to, what to or where to put my {block:Posts}. I built the theme using HTML with an external style sheet. When I use just HTML I get perfect infinite-scroll or (auto-paging), but when I use {block:Posts} it stops working. Here’s my client’s Tumblr http://nomdecodenikita.tumblr.com, right now I’m using just HTML and manually entering photo and video posts. It would be great if I could use the Tumblr block elements so that when my client posts her media to Tumblr, the page would automatically update. Here’s the link to my external style sheet: http://static.tumblr.com/kfwmv3q/zgPmhubc9/nomdecodenikita.css Here’s my CodePen: http://codepen.io/kwcbg/pen/feFpa

@TheDoc OK, I did exactly what you suggested. I placed my opening {block:Posts} and closing {block:Posts}, then copied and pasted your example in between. It worked and I was able to load photos and video, but I lost infinite-scroll. How do I get that back? I know the answer is staring me in the face, I just can’t figure it out! You mentioned that I have 57 div but 59 /div, and that I would run into some trouble, could this be it? How did you get the div and /div count?

Tips

Categories

We have a pretty good* newsletter.

Email Address

CSS-Tricks* is created, written by, and maintained by Chris Coyier and a team of swell people. It is built on WordPress, hosted by Media Temple, and the assets are served by MaxCDN. The fonts are Source Sans Pro and Source Code Pro. It is made possible through sponsorships from products and services we like.