Start Theme Repo
This commit is contained in:
14
views/capability_required.twig
Normal file
14
views/capability_required.twig
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends "pages/generic.twig" %}
|
||||
|
||||
{% block page_content %}
|
||||
|
||||
<b>{{ __( 'You do not have permission to view the content on this page.', 'romhackplaza') }}</b><br>
|
||||
{{ why }}
|
||||
|
||||
{% if not user %}
|
||||
|
||||
<p>Please <a href="{{ fn( 'wp_login_url') }}">log in</a> or <a href="{{ fn('wp_registration_url') }}">register</a>.</p>
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user