WordPress.org

Ready to get started?Download WordPress

Forums

Changing the sidebar content according to different posts. (3 posts)

  1. ADcoder
    Member
    Posted 2 years ago #

    Hello all.
    The background: I am designing a website which uses wordpress as a cms. I use a custom theme which is modified from the default 'twentyten' theme. The single.php page uses the loop for the posts on the left hand side and ststic html (and javascript) content on the right.

    The problem: What I want is to load a different set of content (including images and links) on the right sidebar, which changes according to the post.
    For example, for a post named, say, POST 1 there has to display the sidebar content CONTENT 1, and this sidebar content has to display for no other post.

    The link: This is an example post some helpful people can check out...(Click right here)

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

  3. ADcoder
    Member
    Posted 2 years ago #

    Ok alcymyth, I will try these and post back.

Topic Closed

This topic has been closed to new replies.

About this Topic