• I’m trying to work out how I can get all my content (all my posts from the frontpage, displaying when you view a single post page).

    I’m creating a video blog where we have a videowall to display all videos. I’ve done this by using the TimThumb.php scrip to create thumbnails of each video post and then stripped all the titles/descriptions/meta etc away from each video on the front page and used Kriesi.at ‘s two-column layout hack ( https://www.kriesi.at/archives/wordpress-display-content-in-multiple-columns/ ) to display all the content into multiple columns to create the video wall…

    Screenshot is here of the videowall to get my meaning: https://www.aus120.com/screenshot3.jpg

    I’m using TV.Elements theme, so when you click a video the video turns up in the player however I’d like then to have the video wall displaying above the player as it does on the frontpage. Right now, if you click a video you just get the single thumbnail of the video you are watching in the player. ie, its only displaying one post of the content, instead of ALL my content.

    I’ve edited the single.php/single-cat.php in TV.Elements to display the content as its displayed in the index.php page (basically just giving the call of get_content) however, I can’t seem to be able to display ALL the posts [to make the videowall] in a single-post view.

    Anyone got any ideas?

    I’m trying to make a video site with unique urls for better SEO, but would like to be able to view the videowall no matter where I am on the site ??

    Cheers for any ideas!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure if I understood, but I think that, if you already copied your index template to the single.php, all you have to do is add a new query_posts before the loop.

    By default, in single posts view, wp only shows 1 post (obviously). So, you have to tell him he has to show more of them.

    Look for Query_posts if you’re in doubt on how to do this.

    Thread Starter SeanAUS120

    (@seanaus120)

    Hi renato_s,

    Good idea. Thanks! I’ve now have a new query running which is asking to display the latest 14 posts … works great!

    Now, its opened up a new problem, in that I’m getting 14 seperate comments templates at the bottom of my page in single post view. So obviously its still reading from this first query (to get 14 posts) when it comes time to look for the comments template at the end of my single.php.

    Not particularly as knowledgeable as I thought with query’ing, so could anyone suggest a method how I can have my first query ask for 14 posts and then end that, and begin a new query of a single post to have the comments template.

    The overall idea, is when you view a single post, that I have the videowall at the top with 14 videos, then below it the video player, then below that the comments template as per a normal single post…

    I guess its the ‘ending’ of the query I’m confused with.

    Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Displaying ALL content on a Single Post Page [advanced!]’ is closed to new replies.