{"id":112441,"date":"2022-03-30T15:17:05","date_gmt":"2022-03-30T19:17:05","guid":{"rendered":"https:\/\/optinmonster.com\/?post_type=optinmonster_docs&#038;p=17939"},"modified":"2025-08-29T06:20:27","modified_gmt":"2025-08-29T10:20:27","slug":"how-to-create-a-sidebar-widget-optin-in-wordpress","status":"publish","type":"optinmonster_docs","link":"https:\/\/optinmonster.com\/docs\/how-to-create-a-sidebar-widget-optin-in-wordpress\/","title":{"rendered":"How to Create a Sidebar Widget Campaign in WordPress"},"content":{"rendered":"\n<p>OptinMonster makes it easy to create and display a sidebar widget campaign on your WordPress site. Sidebar campaigns are a great way to convert subscribers without interrupting their browsing experience.<\/p>\n\n\n\n<p>In this article, you&#8217;ll learn how to create a sidebar widget campaign in WordPress with OptinMonster.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Before You Start<\/h2>\n\n\n\n<p>Here are some things to know before you begin:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This guide assumes you&#8217;ve already <a href=\"https:\/\/optinmonster.com\/docs\/how-to-create-an-after-post-or-in-line-optin\/\" target=\"_blank\" rel=\"noopener\" title=\"\">created an Inline campaign<\/a> and you&#8217;re ready to use it as a widget.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Add Sidebar Widget Campaign<\/h2>\n\n\n\n<p>Sidebar widget campaigns are a great way to increase conversions throughout your site, particularly on your blog.<\/p>\n\n\n\n<p>To create a sidebar widget campaign, follow these steps:<\/p>\n\n\n\n<p><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/cIC55k8pR9E?rel=0\" width=\"800\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Follow our guide to <a href=\"https:\/\/optinmonster.com\/docs\/how-to-create-an-after-post-or-in-line-optin\/\" target=\"_blank\" rel=\"noopener\" title=\"\">create an Inline type campaign<\/a>.<\/li>\n\n\n\n<li>Follow the <strong>WordPress Widget<\/strong> section of our <a href=\"https:\/\/optinmonster.com\/docs\/how-to-manually-add-an-after-post-or-inline-optin\/\" target=\"_blank\" rel=\"noopener\" title=\"\">guide<\/a> to add the campaign to your site.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"plugins\">How do I control where my sidebar widget campaign appears in WordPress?<\/h5>\n\n\n\n<p>We recommend using a plugin, like one of the following, to control where the OptinMonster widget appears on your site:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/wordpress.org\/plugins\/dynamic-widgets\/\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\">Dynamic Widgets<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/plugins\/widget-logic\/\" target=\"_blank\" rel=\"external nofollow noopener noreferrer\">Widget Logic<\/a><\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\">I would like to add a sidebar campaign to my site but I&#8217;m not using WordPress.<\/h5>\n\n\n\n<p>You can still create an Inline campaign and manually add the embed code to the sidebar area of your non-WordPress site where you would like it to appear.<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">Troubleshooting<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">My campaign looks bad and is squished when I view it on my site, why?<\/h5>\n\n\n\n<p>Our Inline campaigns can be embedded in many different content areas of your site. If you&#8217;ve embedded the campaign in a content area with a very narrow width, like the sidebar of a page, you may need to adjust the design to better fit the content area it will appear in.<\/p>\n\n\n\n<p>In the campaign builder, you can adjust the max-container width to more closely match the width of the content area you&#8217;re planning to show the campaign in on your site. This will make it easier to customize the appearance to match how it will appear on your site.<\/p>\n\n\n\n<p><a href=\"https:\/\/optinmonster.com\/docs\/how-to-change-the-campaign-width\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Follow our guide to edit the campaign width<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OptinMonster makes it easy to create and display a sidebar widget campaign on your WordPress site. Sidebar campaigns are a great way to convert subscribers without interrupting their browsing experience. In this article, you&#8217;ll learn how to create a sidebar widget campaign in WordPress with OptinMonster. Before You Start Here are some things to know&nbsp;&hellip;<\/p>\n","protected":false},"author":4657,"comment_status":"open","ping_status":"closed","template":"","documentation\/categories":[28200],"documentation\/tags":[31419,31420],"class_list":["post-112441","optinmonster_docs","type-optinmonster_docs","status-publish","hentry","categories-campaign-types"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/112441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/types\/optinmonster_docs"}],"author":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/users\/4657"}],"replies":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/comments?post=112441"}],"version-history":[{"count":20,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/112441\/revisions"}],"predecessor-version":[{"id":198360,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/112441\/revisions\/198360"}],"wp:attachment":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/media?parent=112441"}],"wp:term":[{"taxonomy":"categories","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/categories?post=112441"},{"taxonomy":"internal_tags","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/tags?post=112441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}