Support » Plugin: Content Blocks (Custom Post Widget) » Using "Custom Post Widget"

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Johan van der Wijk

    (@vanderwijk)

    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/

    If you prefer a non-code method you can try Widget Visibility which comes with the Jetpack plugin: https://jetpack.me/support/widget-visibility/

    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

    (@vanderwijk)

    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.