Forums

Display Post Contents Dynamically (2 posts)

  1. zamfeer
    Member
    Posted 9 months ago #

    Hi

    I'm trying to pull content from posts in one category and display the title, content and attached images into separate divs in a custom page theme. I need to be able to toggle through the various posts' contents by clicking on their thumbnails.

    I can grab the posts with get_posts() and store their data as arrays, but I can't find any way to dynamically change which post's content is displayed in the page divs when the thumbnail is clicked.

    Is there a way to do this with permalinks or anything else?

    Thanks!

  2. irfan_np
    Member
    Posted 9 months ago #

    I think you can get some jQuery content sliders for that.

Reply

You must log in to post.

About this Topic