Support » Themes and Templates » contents/posts in <iframe>

  • i’m developing a theme 4 my very own use and this requires me to have the post displayed in a frame which would even have a scroller if needed. i experiment one but got failed… now the question is, if its actually possible to havee the post in a iframe? pls share your expertise. thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • i don’t see why not, although you’d have to have a template.php to wrap it in, and then load the posts into a separate file inside the iframe. I’m really not sure how it would be done, though… maybe load single.php into the iframe?

    Why not use a div with overflow set to auto? Just specify a width and height and you’ve got a scrollable content box. Put the Loop inside of that.

    soomp

    (@soomp)

    dear transmothra
    your “use a div with overflow set to auto? Just specify a width and height and you’ve got a scrollable content box” suggestion saved my life! just wanted to say thanks 🙂

    i heart wordpress!

    Wow. What a simple, elegant solution. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘contents/posts in <iframe>’ is closed to new replies.