• Resolved gmattwp

    (@gmattwp)


    Is there a way to, rather than load a specific post, load a variable post (most likely from a side-bar list of recent posts)?

    This would somewhat be like normal post behavior, by using a page (fixed container) rather than the normal post-page. (Different user experience this way.)

    https://wordpress.org/plugins/posts-in-page/

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

    (@sewmyheadon)

    Howdy gmattwp,

    I’m not sure I understand exactly what you’re asking. Are you looking to display x recent posts within a page?

    Thread Starter gmattwp

    (@gmattwp)

    Thanks for the reply.

    Yeah, it’s a pretty close to the behavior of posts, but just different enough to be confusing.

    Say I want to make a page called “Stories”, which would essentially be the posts (and I’ll leave comments on).

    Stories would have a sidebar that has the recent posts on it, and a main content area, that will load the most recent post (singular… just one post at a time), but then load what ever post is clicked on in the sidebar into the content area. (Would be cleanest if can be done without a page reload, but okay if it doesn’t.)

    So, NOT loading the individual page for each post (which has it’s own url and title and whatnot), but just building a page as a container for the content of the post and being able to swap back and forth readily.

    Does that make more sense? Like I said, it is rather like existing behavior with subtle differences.

    Any code examples/plug-ins/suggestions will be well appreciated!

    Plugin Author Eric Amundson

    (@sewmyheadon)

    Hey gmattwp,

    Wow, I get it, but this is totally not something the current plugin supports, nor will we likely implement this functionality.

    That said, you could probably find/write/hire some JavaScript that could do this for you, but it would have to load all of the posts, then use JS to show/hide the post that’s clicked in the sidebar.

    Sorry I don’t have an easy solution for you.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Loading variable (not fixed) posts’ is closed to new replies.