Entice your website visitors into opting in for your membership program, and improve your website’s search engine ranking – all in one – with this code recipe.
About the Code Recipe
Unless you are manually setting the post excerpts, WordPress will default to only showing the first 55 words in a post. You can extend the length of the excerpt by using the WordPress excerpt_length
filter.
This method allows you to show non-members as well as search engines more of the content that is restricted for your members. This potentially can be a fantastic way to pique the interest of website visitors, as well as, help your website rank even better with your favorite search engines.
The Code Recipe
Adding the recipe to your website
You can add this recipe to your site by creating a custom plugin or using the Code Snippets plugin available for free in the WordPress repository. Read this companion article for step-by-step directions on either method.
Free Course: Membership Site Development—The Basics
Develop a deeper understanding of membership site development in this beginner-level course. Learn how to make your site work better, save yourself time and money, and improve your site's performance.