Title: Using &quot;Custom Post Widget&quot;
Last modified: August 31, 2016

---

# Using "Custom Post Widget"

 *  Resolved [grego99](https://wordpress.org/support/users/grego99/)
 * (@grego99)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/using-custom-post-widget/)
 * I have been tearing my hair out over the last 24Hours trying to find a plugin
   that will allow me to have a specific/customised sidebar (widget) for each post
   I write. There seemds to be plenty if you know coding ( I don’t).
 * I need a wysiwyg editor that I can add links to such as affiliate or other that
   display images too.
 * I thought I had solved the problem when I found “Custom POst widget”
 * How do I get individually created widgets to appear on a specific post?
 * [https://wordpress.org/plugins/custom-post-widget/](https://wordpress.org/plugins/custom-post-widget/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Johan van der Wijk](https://wordpress.org/support/users/vanderwijk/)
 * (@vanderwijk)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/using-custom-post-widget/#post-7132620)
 * Hi Grego99,
 * My preferred plugin for assigning widgets to specific pages is the Widget Logic
   plugin because it is very lightweight: [https://wordpress.org/plugins/widget-logic/](https://wordpress.org/plugins/widget-logic/)
 * If you prefer a non-code method you can try Widget Visibility which comes with
   the Jetpack plugin: [https://jetpack.me/support/widget-visibility/](https://jetpack.me/support/widget-visibility/)
 *  Thread Starter [grego99](https://wordpress.org/support/users/grego99/)
 * (@grego99)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/using-custom-post-widget/#post-7132631)
 * Hi Johan
    Thanks for getting back to me. After I sent the email to you I found
   the Logic widget and managed to work it out with the short code. So again thank
   you.
 * However I have one other problem I’m hoping you may be able to help me with?
 * Part of the reason I wanted to have different sidebar information on different
   posts and pages was that I want to monetise the posts by placing relevant affiliate
   links in each post.
    So as an example I have a post on iphone photography and
   want to have a Amazon associate advertisement in the sidebar that is relevant
   to that post. My problem is how do I copy the Amazon code and paste it into a
   content box so it works correctly? I have copyed the code. It was an “Iframe”.(
   the code included an image which I want to appear in the sidebar) (banner), However
   it does not appear to be working properly. as all that appears on the post sidebar
   is a copy of the code I pasted into the content box and not the image with affiliate
   link. Any suggestions on what I am doing wrong?
 *  Plugin Author [Johan van der Wijk](https://wordpress.org/support/users/vanderwijk/)
 * (@vanderwijk)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/using-custom-post-widget/#post-7132655)
 * Make sure you paste the code in the editor while you are in ‘Text’ view because
   it does not work when you use the WYSIWYG editor.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Using "Custom Post Widget"’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-widget/assets/icon.svg?rev=2884166)
 * [Content Blocks (Custom Post Widget)](https://wordpress.org/plugins/custom-post-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-widget/reviews/)

## Tags

 * [custom post](https://wordpress.org/support/topic-tag/custom-post/)
 * [sidebar widget](https://wordpress.org/support/topic-tag/sidebar-widget/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 3 replies
 * 2 participants
 * Last reply from: [Johan van der Wijk](https://wordpress.org/support/users/vanderwijk/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/using-custom-post-widget/#post-7132655)
 * Status: resolved