Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
😀 Thanks
My firewall configuration is not correctly
where can download directly theme update? theme forest its version 1.5.1
Hmm.. sorry it not works :/
ok. for editors or administrators move this line into the ifÂ
include(SF_INCLUDES_PATH . '/page-builder/js_composer.php');
yes you can’t but you can block the acces adding this code to fuctions.php
add_action('admin_head','my_restrict_access');
function my_restrict_access(){
$Path=$_SERVER['REQUEST_URI'];
$basepath='http://www.yourdommain.com/wp-admin';
$URI='http://www.yourdommain.com'.$Path;if     (  ($URI ==($basepath . '/post-new.php?post_type=slide')) && !current_user_can ('manage_categories') ) {
echo   '<div class="wrap"><br />
<div id="message" class="error">Message
<ul>
<li><a href="http://www.yourdommain.com">Home</a></li>
<li><a href="www.yourdommain.com">Escribir una nueva entrada</a></li>
<li><a href="/dashboard">Panel Principal</a></li>
</ul>
</div>
</div>';
exit();
}
elseif     (  ($URI ==($basepath . '/edit.php?post_type=slide')) && !current_user_can ('manage_categories') ) {
echo   '<div class="wrap"><br />
<div id="message" class="error">Usted no Tiene Permitido el acceso a esta pagina
<ul>
<li><a href="http://www.yourdommain.com">Home</a></li>
<li><a href="http://www.yourdommain.com">Escribir una nueva entrada</a></li>
<li><a href="/dashboard">Panel Principal</a></li>
</ul>
</div>
</div>';
exit();
}}
you can usse elseif and add all the pages you wanna block for colaborators and autors.If you wanna make a custom width for your menu go to general options, custom css and add this
nav .menu {width:960px;}
Close this topic 🙂
-
Posted in: We hit Power Elite.