When post is clicked, it appears in top div with older posts below it. (1 post)

  1. betic1
    Posted 4 years ago #

    I have WordPress set up as a video blog. It's simply displaying a video that I post for the current day with prior videos falling below it. Currently, the first post is displayed in a div called firstpost and all other posts are given a post tag.

    Without using anything like Iframes or Ajax, I'd like when a user selects any older video that's listed below the 'firstpost' div to (when the page reloads) to reside in the 'firstpost' div and all posts older than it to fall below in the 'post' divs and so on as you view each video. The entire page would need to reload because the links below the selected post would change.

    I tried making my single.php, page.php and index.php pages all the same without success. I'm including the code on my index.php page so you can see what I have for now. I hope what I've stated makes sense.

    Here's the Code at Pastebin

Topic Closed

This topic has been closed to new replies.

About this Topic