• Resolved futuroweb

    (@futuroweb)


    Hello, I need to know how to hide the “article” for users who do not have that level of access. Currently they look at it published, but they can not open it because they redirect it back to the main web.

    I need the content to be hidden if the user does not have that privilege.

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    Unfortunately it is not currently possible to hide links from lists, archive pages, widgets, or search results. This feature is probably what is asked about the most, and it is on the roadmap.

    For now, you could use the API to show/hide content in any theme template like this:

    if(rua_has_user_level(wp_get_current_user(),$level_id)) {
       //show content
    } else {
       //hide content
    }

    I hope this helps, and let me know if you have other questions!

Viewing 1 replies (of 1 total)
  • The topic ‘Hidden Content’ is closed to new replies.