How to Show Content Only to RSS Subscribers in WordPress

Do you want to add exclusive content for your RSS subscribers? You can use this bonus content as a way to encourage more users to subscribe your RSS feed. In this article, we will show you how to show content only for RSS subscribers in WordPress.

RSS Only Content for WordPress

When and Why You Need Feed Only Content in WordPress?

The best way for users to receive updates from your website is by signing up for your email list or by subscribing to your RSS feed. You can even send your WordPress posts to your email list subscribers using email services like MailChimp, Aweber, etc.

However, it is a little hard convincing users to subscribe to the RSS feed of a new website. Many site owners use a marketing tactic called ‘Content Upgrades‘ to get more subscribers.

Similarly you can offer your users bonus content if they subscribe to your RSS feed. You can quickly get a lot more subscribers by combining this with popular lead generation tools like OptinMonster.

Subscribe RSS feed via email

Having said, let’s see how you can show content only to RSS subscribers or add feed only content in WordPress.

Method 1: Adding Feed Only Content using a Plugin

This method is easier and is recommended for beginners.

First thing you need to do is install and activate the WP Kill in Feed plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, the plugin makes two new shortcodes available for you to use.

The first shortcode is [addtofeed]. It allows you to add feed only content wrapped in the shortcode. Like this:


This content is for RSS feed subscribers only


Adding feed only shortcode in WordPress blog posts

Between the shortcodes, you can add any content you want like text, images, YouTube videos, etc. It will only be visible in the RSS feed and regular visitors of your website will not see it.

You can tell regular visitors that there is more content which will be visible to RSS feed subscribers and then add a link to your RSS feed.

Hiding Content from RSS Feed Subscribers

The plugin also allows you to hide content from RSS feed subscribers and make it visible only to users who visit your website.

Simply wrap the content in [killinfeed] [/killinfeed] shortcodes and it will not be visible to your feed subscribers. Like this:

[killinfeed]Content hidden from RSS feed subscribers [/killinfeed]

Method 2: Show Content only to RSS Feed Subscribers Using Code

This method requires you to add code in your WordPress site. If you are comfortable pasting code snippets into WordPress, then you can use this method.

Simply add this code to your theme’s functions.php file or in a site-specific plugin.

function feedonly_shortcode( $atts, $content) {
	if (is_feed()) 
	return apply_filters( 'the_content', $content );
	return "";
add_shortcode('feedonly', 'feedonly_shortcode');

This code is basically the same as the plugin. It simply checks if user has requested a feed, then add feed only content to post content. Otherwise, it skips the feed only content.

You will need to wrap feed only content in a shortcode like this:

[feedonly]This content will only be visible to RSS feed subscribers[/feedonly]

Content inside the shortcode will only be visible to your feed subscribers. Again you can tell your site visitors that they will get to see more content if they subscribe to your RSS feed.

We hope this article helped you learn how to show content only to RSS feed subscribers in WordPress. You may also want to see our 9 extremely useful RSS tricks and snippets for WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Source link


How to Create a Multi-Page Form in WordPress

Recently, one of our users asked us how to create a multi-page form in WordPress? Multi part forms allow you to collect more information without scaring the users away. In this article, we will show you how to create a multi-page form in WordPress.

Creating a multi-page form in WordPress

Why and When You Need Multi-Page Form in WordPress?

Forms are the easiest way to collect data and get in touch with your users. Whether it is a contact form, email capture form, or a simple survey.

However, lengthy forms are daunting for users and increases form abandonment.

To overcome this issue, user experience experts recommend multi-page forms. This way form fields are broken into sections and pages.

A multi-step checkout page example

With a progress bar on top and fewer fields on screen, users feel more at ease filling out the form. It provides a more engaging and interactive experience to your users.

Having said that, let’s see how to easily create a multi-page form in WordPress.

Video Tutorial

Subscribe to WPBeginner

If you don’t like the video or need more instructions, then continue reading.

Creating A Multi-Page WordPress Form with WPForms

We will be using WPForms which is the most beginner friendly contact form plugin for WordPress. You will need at least the Basic license which costs $39.50.

You can use the WPForms coupon: SAVE50 to get 50% discount on your purchase of any WPForms plan.

First thing you need to do is install and activate the WPForms plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you will need to enter your license key. You can get this key by signing into your account on WPForms website.

Copy the license key and then visit WPForms » Settings page on your WordPress site. Paste the license key and then click on the verify key button.

WPForms license key

After verifying your license key, you are now ready to create your first multi-page form in WordPress.

Simply go to WPForms » Add New page, and it will launch the Form Builder.

Adding a new form in WPForms

Provide a title for your form and then select one of the templates shown below. WPForms offers ready-made form to speed up the form creation process.

You can choose the one that closely matches your form requirements or choose a blank form. Clicking on a template will launch the form editor.

Form editor in WPForms

Simply click on the fields from left column to add them into your form. After that click on a field in the form to edit it. You can also drag and drop form fields.

Adding form fields in WPForms

After adding a few form fields, you are ready to add a new page to your form. Click on the Pagebreak field under fancy fields sections from the left column.

Adding pagebreak field

You will notice that WPForms will add a pagebreak marker to the bottom and a first page marker at the top of the page.

It will also push the submit button to the next page, and your first page will now have a ‘Next’ button instead.

Click on the first page marker at the top to edit your multi-page form properties. In the left hand column, you can select a progress bar type. WPForms allows you to use a simple progress bar, circles, connector, or no progress indicator at all.

Edit first page marker to select progress bar type

For this tutorial, we will be using Connectors as progress bar. You can also choose the color of your page indicator. Lastly, you can provide a title for the first page.

Now you need to click on the pagebreak marker to edit its properties. Here you can provide a title for the next page. You can also edit the text to display on the Next button.

Edit page title and next button text

You can continue adding form fields after the pagebreak. If you are using the PRO version of WPForms, then you can also use conditional logic to show and hide form fields based on user responses.

After adding more fields, you can add more pagebreaks if you need.

Once you are done creating your form, click on the save button on the top right corner of the screen.

Congratulations, you have successfully created your first multi-page form.

Adding Your Multi-Page Form into WordPress Posts and Pages

WPForms makes it super easy to add forms into WordPress posts and pages.

Create a new post/page or edit an existing one. On top of the post editor, you will see an ‘Add Form’ button.

Add form button

Clicking on it will bring up an insert form popup.

Select your form from the drop down list and then click Add Form button.

Select and insert your multipage form

You will notice WPForms shortcode added into your post/page. You can now save or publish this post or page.

Visit your website to see your multi-page form in action.

Preview of a paged form in WordPress

We hope this article helped you add a multi-page form in WordPress. You may also want to see our guide on how to add a contact form popup in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Source link


WPBeginner is 7 – Reflections and Updates

Wow, it’s the seventh fourth. Still feels crazy to think that WPBeginner is 7 years old, and I have been using WordPress for the last 10 years of my life.

Like every year, I want to do a quick recap of all the major things that are happening in my life and in my business.

WPBeginner Turns 7

WPBeginner Story

I started using WordPress when I was 16 years old and started WPBeginner at age 19 with a single mission: make WordPress easy for beginners.

Since then, WPBeginner has become one of the largest free WordPress resource site in the world.

For those of you who’re new, you can read the full WPBeginner story on our about page.

Personal Updates

2016 is a HUUGEE year for me personally because a lot of things are changing.

My wife (Amanda) just finished her PhD in Clinical Psychology last week, and we are now moved into our new house in West Palm Beach.

We are expecting our first baby (November 2016).

Here’s my most recent profile picture, and if you’re interested, you can check out my personal blog.

Syed Balkhi

WPBeginner Updates

Thanks to you all, WPBeginner has grown consistently (year over year). We have been working hard to keep adding new tutorials while making sure our older tutorials stay up to date.

There have been a few notable changes that I think you’d like to know:

1. to WordPress

At this time last year, if you had typed the domain, then you would have been redirected to WPBeginner. Earliest last month, we donated the two letter domain name to the WordPress foundation.

See the full blog post to read more details.

2. WPBeginner YouTube

Last year when I was writing this post, the WPBeginner YouTube channel had a little under 19k subscribers and had 1.6 million video views with a total of 394 video tutorials.

We changed our strategy a little bit. Instead of producing a new video every week day, we’re now releasing a video once a week. This has helped us produce better videos (as proven by engagement).

Right now we have 492 total video tutorials that have been viewed a total of 4.4 million times. We are also at 37,000 subscribers strong.

If you haven’t subscribed, then it would be really awesome if you do.

3. Firewall and Speed

We started using the Sucuri firewall, and it’s been an amazing experience. Within the first 3 months, they helped us block over 450,000 attacks. Not to mention, it also helped speed up our website and reduce server load.

If you’re serious about your website, then I highly recommend it. Read the full Sucuri Review.

WPForms and MonsterInsights

We added two new products to our suite this year.

WPForms, the most beginner friendly contact form plugin for WordPress. We launched it in March and have already passed 50,000 downloads. It’s growing fast because I personally believe it’s the best solution in the market.

In this year’s WPBeginner survey, a lot of you wanted us to build an analytics solution for WordPress that’s easy to use. Keeping that in mind, we acquired the popular Google Analytics by Yoast plugin and renamed it to MonsterInsights.

This plugin has over 11 million downloads, but I don’t want you to download it YET. Quite frankly, I’m embarrassed of the plugin’s current state. That’s why we are revamping the entire plugin to make it more user friendly, so it can actually help you grow your business.

Although part of me want you to download it, so when we do release our revamp update beginning of September, you can truly appreciate the improvements.

OptinMonster (Powerhouse)

OptinMonster is our biggest product. It helps you grow your email list by converting abandoning website visitors into subscribers and customers.

This year, we made OptinMonster even more powerful than it was.

You can now do Yes / No campaigns, Dynamic Text Replacement, Content Locking, Onsite retargeting and advanced conditional logic.

Just watch the video below and see how powerful it is:

Subscribe to WPBeginner

Envira Gallery Growth

Last October, we redesigned Envira Gallery website and instantly doubled our sales (case study).

After that, we created a completely new gallery workflow to make it easier for users to use all the new features that we added.

The combination of these two things have catalyzed Envira’s growth. We now have over 420,000 downloads.

I’m extremely proud of the Envira team, and super excited for the future.

Soliloquy – A New Beginning

Soliloquy WordPress Slider is our oldest product, and it’s been the most stable.

But compared to all of our other products, Soliloquy looked a bit dated. That’s why last month, we revamped Soliloquy (both website and the plugin).

I’m going to gather some more data before I post another case study on how the redesign affects our sales.

But do check out the updates, the new site design looks super slick. We also launched a Featured Content addon, WooCommerce Addon, Schedule addon, and more.

Thank You Everyone

I want to say thank you to everyone who has supported us in this journey. I really do appreciate all of your retweets, personal emails, content suggestions, and the in-person hugs / interactions at the events.

You all are AMAZING and without you, there is no WPBeginner.

I look forward to another solid year ahead of us.

Syed Balkhi
Founder of WPBeginner

P.S. We’re hiring a full-time (remote work) WordPress Plugin Developer. If you or someone you know would be interested in being part of our team, then please apply here.

Source link