Support » Plugin: Ultimate Member – User Profile, User Registration, Login & Membership Plugin » Restricted Content – How to have the Featured Image for not logged in Useres

  • Resolved reg75

    (@reg75)


    Hi to everyone,

    When content is restricted, I like to have the featured image (like post title eg) displayed for not logged in Useres.

    How can I do this.

    Thank you.

    • This topic was modified 2 months ago by reg75.
    • This topic was modified 2 months ago by reg75.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @reg75

    You can try adding the following code snippet to your theme/child-theme’s functions.php file or use the Code Snippet plugin to run the code:
    add_filter( 'um_restrict_post_thumbnail', '__return_true');

    Regards,

    Thread Starter reg75

    (@reg75)

    Thank you!! It´s working!

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Thanks for letting us know.

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.