• Easy Custom Auto Excerpt doesn’t seem to play nice with WP Members shortcode.
    I’ve found that the [wpmem_logged_in] shortcode doesn’t seems to have an effect on front page posts when Easy Custom Auto Excerpt is activated. The hidden content is still viewable even when the user is not logged in.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor ageproem

    (@ageproem)

    ECAE has a feature to Strip shortcode. Make sure you select “No”. If you select yes so any shortcode placed inside the excerpt will lost its effect, in other words [wpmem_logged_in] shortcode will not work.
    May I know what theme are you using?

    • This reply was modified 6 years, 12 months ago by ageproem.
    • This reply was modified 6 years, 12 months ago by ageproem.
    Thread Starter meglos42

    (@meglos42)

    Hi ageproem,

    I have this set to “no” – if I set it to “yes” none of the content within the shortcode is visible at all, whether logged in or out.
    I’m using quite an old theme called “Halftone” but I get the same no matter what theme I use.

    • This reply was modified 6 years, 12 months ago by meglos42.
    Plugin Contributor ageproem

    (@ageproem)

    I have succeed replicate your error and I found it depends on where you place the shortcode and excerpt method/size you use.

    may I see your [wpmem_logged_in] shortcode placed inside the post editor? (using screenshot)
    and what Excerpt method do you use to generate excerpt in ecae options? if using character method how many size?

    Thread Starter meglos42

    (@meglos42)

    Hi ageproem,

    I’m using character method to generate the excerpt – 550 characters. This was because the paragraph method didn’t work well with tables etc. in the post.

    Below is a link to a screenshot of an affected post.

    View post on imgur.com

    Plugin Contributor ageproem

    (@ageproem)

    Okay so the problem is your enclosed shortcode [/wpmem_logged_in] is out of range of excerpt size. It cause the opened shortcode has no its enclosed then make it no work.
    So make sure your enclosed shortcode is in range of your excerpt size. Try to increase excerpt size to 950
    OR
    move up the enclosed shortcode so it is in range of excerpt size.
    See example below:
    https://prntscr.com/hkmitc
    and this how it looks on the front end
    https://prntscr.com/hkmj8n

    Thread Starter meglos42

    (@meglos42)

    Hi ageproem,

    That solution presents me with a challenge –

    I would like the text on the home page posts to be shortened to 550 characters (which is specifically why I am using the easy custom excerpt plugin). This keeps the home page from growing too long as some of the posts are very lengthy.

    For privacy I need all the text that is contained in the post apart from what is in the “wpmem_logged_out” shortcode in to be hidden from anyone who is not logged in, not just the first xx characters.

    For the post in question, the solution you’ve suggested I’d need to increase the excerpt size to 1900 characters – for others it would need to be even longer, which kind of defeats the object of the plugin for me.

    • This reply was modified 6 years, 11 months ago by meglos42.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WP Members Compatibility’ is closed to new replies.