Opening Thickbox iFrame from Comments link
I’m putting together a theme, viewable here:
For my needs, each post is just one block on the page. I don’t have a need for an individual post page, but I do have a need for comments. So my idea is to use a single.php page that only contains the code for Comments, and have that page open up in a Thickbox iFrame. This way viewing a post’s comments and adding a comment occurs in a modal window.
While I have Thickbox working in my theme (viewable by clicking the image thumbnails) I don’t know how to get the Comments links to activate it. Normally you have to append the HREF url with something like the following:
But using the WordPress php comments_popup_link doesn’t give me the ability to do this. Any idea what I would need to do to make this work? Thanks!
- The topic ‘Opening Thickbox iFrame from Comments link’ is closed to new replies.