• Resolved demirss

    (@demirss)


    I am trying to restrict post content (not the listing) for a particular post category so it can be viewed only by logged in members. I created a single post template for members only content and applied it to the category I want to restrict. I am certain the new template is being used for the restricted content.

    In Content Control Under General I selected ‘Logged In Users’ and checked all roles. Under Content I selected ‘A Selected Template’ and selected the new members only content template. Under Protection I selected ‘Custom Message’

    I would expect, with the above settings, that a logged-out user would see our Custom Message that the content is only viewable if logged in. However, any user (logged in or not) sees the page content.

    Any help would be greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mark l chaves

    (@mlchaves)

    Hey @demirss,

    Thanks for posting.

    From the looks of your website and your question, you might be trying to restrict access to Elementor templates not WordPress page templates.

    We think you should:

    1) Create a valid custom WordPress page template.

    2) Next, assign that custom page template to the pages you want to restrict.

    3) Lastly, create a restriction using Is A Pages: With Template.

    For example, this restriction will protect all pages that use the My Custom Template WordPress page template.

    https://share.wppopupmaker.com/Qwu4X7e1

    Learn more about page templates https://developer.ww.wp.xz.cn/themes/template-files-section/page-template-files/

    Right now, your Is A Selected Template restriction will only protect actual Elementor templates. That restriction won’t protect any pages that have an Elementor template.

    You can see the difference here.

    https://share.wppopupmaker.com/NQuxBZbd

    In that screen capture, I only have 3 Elementor templates. Where in the first screen capture, I have Elementor, Default, Theme, and custom page templates.

    We hope we understood your question.

    If not or you still need help, please reach out to us via our contact form.

    https://code-atlantic.com/contact-us/

    That way we can get your details and have a closer look.

    Cheers!

    • This reply was modified 4 years, 4 months ago by mark l chaves. Reason: Clarification
    Thread Starter demirss

    (@demirss)

    Thank you so much for your reply. It is appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Template restriction is not working’ is closed to new replies.