Want to showcase your Twitter page using a popup on your WordPress site?
Displaying your Twitter page as a pop-up is a great way to get more followers and drive engagement. You can use your existing website traffic to grow to promote social content on your Twitter account.
In this article, we’ll show you how to promote your Twitter page in WordPress with a lightbox popup.
Why Promote Your Twitter Page on WordPress?
Twitter is one of the most popular social media platforms. Many businesses use it to promote their products, blog posts, announcements, and news. Plus, it’s a great place to get user feedback, conduct polls, and host audio webinars with Twitter Spaces.
However, getting more people to follow you on Twitter can be hard work. What if you could use your existing website traffic to grow your social media following using a lightbox popup?
You can display your Twitter page in a lightbox window anywhere on your website. This will help improve the visibility of your Twitter profile and increase followers.
That’s not all, you can also use a lightbox popup to build an email list, generate leads, offer content updates, display contact forms, and more.
Let’s see how you can use lightbox popup to promote your Twitter page.
Promoting Your Twitter Page in WordPress with a Lightbox Popup
The best way to add a landing page to WordPress is to use OptinMonster. It is the best WordPress popup plugin and the leading generation software in the market.
OptinMonster makes it super easy to increase sales, generate leads, grow your email list, and optimize your website for more conversions.
First, you need to visit the OptinMonster website and click the “Get OptinMonster Now” button to create an account.
For this tutorial, we’ll be using the OptinMonster Pro license because it includes the Exit Intent feature, more customization options, and pre-built templates. You can get an extra 10% off by using our OptinMonster coupon code.
After creating an account, you need to install and activate the OptinMonster app. If you need help, check out our guide on how to install a WordPress plugin.
Once activated, you will be taken to the OptinMonster setup wizard screen. Go ahead and click the “Connect Your Existing Account” button.
A new pop-up window will open confirming to use the OptinMonster account.
Simply click the “Connect to WordPress” button to continue.
Next, you’re good to go OptinMonster » Campaigns from your WordPress dashboard to create a campaign.
Go ahead and click the Create Your First Campaign button.
OptinMonster will then prompt you to select different campaign types.
Since we want to create a popup, just select the “Popup” campaign type.
Under Campaign Type, you’ll see different templates for your pop-up campaign.
You can select a template by hovering over it and clicking the Use Template button. For this tutorial, we’ll be using the Social template.
A pop-up window will then open where you can enter your campaign name.
After adding a name, go ahead and click the “Start Build” button.
This will launch the OptinMonster campaign builder where you can use the drag and drop builder to customize your popup.
The plugin offers various elements to add to the template from the menu on your left.
You can also edit existing blocks in the template.
For example, you can remove other social networks but keep the Twitter button to provide a call-to-action button that allows users to follow your Twitter page.
Additionally, there are options to edit the text in the headers and footer. For example, if you want the button to read “Follow me” instead of “Twitter,” you can change the Button Text field to the left.
Next, you can click on the Twitter button to see more options in the menu on your left. Go ahead and enter your Twitter page link in the New Window URL field.
Next, simply drag the HTML block from the list and drop it onto the template.
Now you’re ready for the block HTML code you’ll get in the next step.
Generating Twitter Page Embed Code
Next, you need to generate an embed code for your Twitter page by going to In a Twitter post tool
We recommend opening the tool in a new tab or window, as you’ll need to return to the OptinMonster campaign creator to enter the HTML code.
After opening the publishing tool, you can add the URL of your Twitter page in the “What would you like to embed” field and press the Enter key on your keyboard.
Your Twitter URL will look like this
https://twitter.com/YourUserNameHere. Just replace “YourUserNameHere” with your own Twitter handle.
After that, you can scroll down and choose whether you want to embed the Twitter timeline or buttons.
For this tutorial, we’ll choose the Embedded Timeline option to display tweets from our Twitter page in a popup window.
Next, you can scroll down to open the Personalization settings.
Just click on the “set customization options” link above the embed code.
You can edit the height and width of the Twitter timeline in the customization options. This allows you to control the appearance of your timeline in the lightbox popup.
There are more settings to choose a light or dark theme for your timeline and the language the tweets will be displayed in.
After configuring these settings, click the “Update” button.
The Publish Tool will then generate the embed code. You can click the “Copy Code” button.
Now a popup will show that you have successfully copied the embedded code.
Go ahead and click the cross icon in the top right corner to close the popup.
Adding a Twitter Page Light popup to your website
You can now return to the OptinMonster campaign builder window or tab in your browser.
Next, click on the HTML block in the popup window you designed. You’ll see a field on the left where you can paste the embed code from the Twitter Publish tool.
When you enter the embed code, you’ll see a preview of your Twitter timeline in the campaign template.
After that, you can go to the Display Rule tab. Here you can set conditions for when the lightbox will appear on your site.
For example, it can appear when a user views a page for a certain period of time, visits a certain page, or is about to leave your site.
For this tutorial, we will select “Time on Page” as the display rule and set the number of seconds after which the popup will appear.
Next, you can make the popup appear on every page of your site by setting “current URL path” to “is any page”.
After that, you can go to the Actions tab at the bottom.
Now make sure “Optin” is selected for the “show campaign view” option. There are also optional settings to add effects and sound to your popup.
Next, you can go to the “Published” tab to activate your campaign.
Simply change the “Publish Status” from Draft to Publish.
You can now click the Save button above to save your settings and close the campaign builder.
To confirm whether your campaign has been published, visit OptinMonster » Campaigns in your WordPress admin panel. You should see green text that reads “Published” under the “Status” column.
If not, you can click the Change Status option under your campaign name and select Publish from the drop-down menu.
Your OptinMonster campaign will now be active.
To view your Twitter page in the light window, simply visit your website. After running an OptinMonster campaign, your Twitter profile will appear in a lightbox window with the CTA button you added below it.
We hope this article helped you learn how to promote your Twitter page with a lightbox popup in WordPress. You can also see our ultimate WordPress SEO guide for beginners and the best live chat software for small businesses.
If you enjoyed this article, please subscribe to our YouTube channel for WordPress video tutorials. You can also find us Twitter: and Facebook.