Sidebar Content Based on Post Meta Tags (3 posts)

  1. cableghost
    Posted 4 years ago #

    I would like to add an video/link to my sidebar relative to a post meta tag of the present post.

    For example...if I had a post about German Shepard dogs, with post meta tag of 'german shepards', an image of German Shepards in my Library, and I had a youtube published video about German Shepards, how could I possibly present the image/video link in the sidebar when that specific post is visited?

    Any thoughts?

  2. Debashish
    Posted 4 years ago #

    I think this tutorial will be helpful to you http://bcwebtech.info/wordpress-quicktip-post-meta-in-sidebar.html.

    Alternatively you can use a plugin like http://wordpress.org/extend/plugins/custom-field-widget where the required HTML to display the image or the video can be added either as value for the custom-field itself or in the widget.

  3. cableghost
    Posted 4 years ago #

    Thank you; I'll give them a try.

Topic Closed

This topic has been closed to new replies.

About this Topic