Support » Fixing WordPress » Can I add a sidebar image for each page through a custom fields?

  • bschave

    (@bschave)


    I currently am building a wordpress site and would like to dynamically display an image based on the page title. This is my current set up. The home page is set up as the home template. All other pages are set up as the secondary template. What I would like to do is for each secondary page have a side image that is unique to that page. How can I do this? I was looking into custom fields, but not sure if that is that way to go. Any help is much appreciated.

    thanks!

Viewing 1 replies (of 1 total)
  • I guess the solution depends on what you are looking for in regards to easy of clients use.

    You could enable featured image use and just put in a conditional in your sidebar logic to pull the current page’s featured image out.

Viewing 1 replies (of 1 total)
  • The topic ‘Can I add a sidebar image for each page through a custom fields?’ is closed to new replies.