Support » Plugin: F2 Tumblr Widget » Title / text showing up twice

  • Resolved Jenny


    Hi there,

    I just installed this widget (which I like best of all the Tumblr widgets I’ve tested today 🙂 and I am trying to tweak it a bit.
    I’d like to display a small photo and the title (or excerpt, which is the same in my case) next to each other. I have the setting set to “post excerpt”, but then the first sentence appears twice as title and as excerpt. With “title only” there is no picture.
    I use CSS to hide the title now, but then the excerpt has no link.
    The other way around, if I hide the excerpt to keep the title with the link I can’t get the image to move next to title, it stays below.

    Any idea how to make this work?

    – Jenny

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author fsquared


    The main problem is that photo posts in Tumblr don’t have a title, so the widget has to try and extract it from the post caption.

    Now, if your post caption starts with something that is obviously a title (i.e. wrapped in <h1></h1> tags) then the title will be used, and removed from the resulting ‘post excerpt’. However, if there’s no markup to tell us what the title is, it’s too risky to strip out what we’ve picked as a title because it might just be part of a sentence.

    So, if it’s feasible (and doesn’t break your Tumblr / workflow) you could put your photo title in header tags; that will then be used for the title in the widget and not appear in the post excerpt.

    Another alternative would be to add a new Content Type option of “Title And Media”, which would have the same effect and also work when there is no markup in the original Tumblr post. I’ll add that to my ‘to-do’ list, but it’s possible my first work-around will help you out in the meantime!


    Thread Starter Jenny


    Thanks so much for getting back to me so fast. I’ll definitely try your first solution!

    Plugin Author fsquared


    Sorry for the delay – I’ve just pushed version 0.2.4 out, which adds the ‘Title And Media’ option I talked about above.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Title / text showing up twice’ is closed to new replies.