Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Twitter card is not displayed for not logged in user

Simple Membership Plugin › Forums › Simple Membership Plugin › Twitter card is not displayed for not logged in user

  • This topic has 9 replies, 2 voices, and was last updated 5 years, 1 month ago by msato.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • October 19, 2021 at 2:25 am #23149
    msato
    Participant

    Hi,
    Can you let me know how Twitter card is displayed on not logged in?

    1. create new post and new “Twitter” block on block editor.
    2. select “Yes, Protect this content”
    3. access the post, then shows “https://twitter.com/XXXXX/status/XXXXXXXX” on not logged in.

    I hope it shows the Twitter card on not loggd in.
    Let me know how you do.

    Thank you.

    October 21, 2021 at 3:00 am #23154
    mbrsolution
    Moderator

    Hi, please provide more information so that I can understand exactly what you are trying to achieve.

    Thank you.

    October 21, 2021 at 9:54 am #23155
    msato
    Participant

    thanks for your reply,

    1. select Posts -> “Add New” on Admin screen.
    2. add 3 blocks
    -(1) Twitter embed block, input twitter url for example “https://twitter.com/hd_puppy/status/1451088409292951556”
    -(2) More block,
    -(3) Paragraph block, input someting.
    3. protect the post, “Yes, Protect this content” and select all of the memberships check-box.
    4. Publish.
    5. view post.
    -> if logged in, it showsthe Twitter card.
    -> if not logged in, it shows just plain text url not a twitter card.

    Paragraphs above the more should look the same whether you are logged in or not, I think.

    Thank you.

    October 22, 2021 at 12:09 am #23159
    mbrsolution
    Moderator

    Hi,

    For testing purposes, can you test one of WordPress default theme like Twenty Twenty.

    Let me know what happens.

    Thank you.

    October 22, 2021 at 12:23 am #23163
    msato
    Participant

    Hi,

    I have tried it with Twenty Twenty-One, but the display is similar.

    if not logged in, it shows plain text like below. not shows twitter card.

    —
    https://twitter.com/hd_puppy/statuses/1451088409292951556
    You need to login to view the rest of the content. Please Login. Not a Member? Join Us
    —

    Thank you.

    October 22, 2021 at 12:56 am #23164
    msato
    Participant

    the post view image :
    https://si.nocde.net/img/20211022/limg_dym7t8wVGr60m8BaSt9i095341.webp

    October 22, 2021 at 3:45 am #23166
    mbrsolution
    Moderator

    Hi, I am curious to know if you are using any Divi type plugins by any chance?

    Regards.

    October 22, 2021 at 7:31 am #23168
    msato
    Participant

    Hi,
    I don’t know what a “Divi type plugin” is…
    but I installed just the “Simple WordPress Membership” plugin.

    this is the testing environment Plugins screen.
    https://si.nocde.net/img/20211022/limg_dym7t8wVGr60m8BaSt9i162948.webp

    October 22, 2021 at 10:23 pm #23170
    mbrsolution
    Moderator

    Hi, I think I know what is happening. If the Twitter card is added within the protected content then it will not show unless the member is logged in.

    Regards.

    October 26, 2021 at 3:35 am #23184
    msato
    Participant

    Hi,
    I understand the Twitter card will not show on the protected post,
    but I found that I could do what I wanted with Partial Protection addon.

    Here is the procedure.
    open block editor and add 4 blocks.
    -(1) Twitter embed block, input twitter url for example “https://twitter.com/hd_puppy/status/1451088409292951556”
    -(2) Short Code block, input “[swpm_protected AND_OTHER_PROPERTIES]”
    -(3) Paragraph block, input someting.
    -(4) Short Code block, input “[/swpm_protected]”

    Thank you.

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

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy