Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Partial Protection – Display certain number of words from each article

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › Partial Protection – Display certain number of words from each article

  • This topic has 5 replies, 3 voices, and was last updated 8 years, 3 months ago by wzp.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • February 8, 2017 at 5:28 pm #13991
    dangermoose
    Spectator

    Hi, I know this is possible when coded for regular posts and pages in WordPress but just wanted to see whats possible with eMember.

    We have articles that are Member only. We are now wanting to reveal a portion of copy from each, perhaps 100 words or so, to entice users to want to read the full article. I know this can be done with shortcodes in eMember (within each article) but now that we have almost 2000 articles we want to avoid manually having to add shortcodes for this.

    Do you know if there is a way we can edit our template to make this work in eMember as presumably we won’t be able to use the normal functions like wp_trim_words.

    Any suggestions welcome! Many thanks,.

    February 9, 2017 at 12:05 am #75137
    admin
    Keymaster

    If these are blog post entries then you can use the “More Tag” protection feature. When eanbled, it will protect everything after the more tag. So the content before the more tag will serve as teaser content.

    The other option is to use the partial protection shortcode so you can fully customize exactly what section you want to show and what section you want to protect:

    https://www.tipsandtricks-hq.com/wordpress-membership/how-to-protect-a-section-of-a-post-or-page-88

    If none of the above options works then we can maybe do a custom job for your specific requirement:

    https://support.tipsandtricks-hq.com/need-custom-work-done

    February 9, 2017 at 9:07 am #75138
    dangermoose
    Spectator

    Many thanks for that, much appreciated.

    I’ll have a chat with my developers and see what they think.

    February 9, 2017 at 10:52 am #75139
    dangermoose
    Spectator

    Just a quick questions re the more tag – these are actually articles set up as a custom post type.

    The ‘more tag’ doesn’t seem to work but perhaps this is by design?

    Thanks.

    February 9, 2017 at 7:31 pm #75140
    dangermoose
    Spectator

    All sorted, many thanks. ;-)

    February 9, 2017 at 10:51 pm #75141
    wzp
    Moderator

    @dangermoose — For the completeness of this topic, what was the resolution?

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ