Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • in reply to: Hide Sidebar border #90306
    heptios
    Member
    Post count: 14

    😀 Thanks

    in reply to: Sharethis Script and Css Missing #72311
    heptios
    Member
    Post count: 14

    My firewall configuration is not correctly

    in reply to: Twitter API v1.1 update #8158
    heptios
    Member
    Post count: 14

    where can download directly theme update? theme forest its version 1.5.1

    in reply to: swift page builder button #4836
    heptios
    Member
    Post count: 14

    Hmm.. sorry it not works :/

    in reply to: swift page builder button #4832
    heptios
    Member
    Post count: 14

    ok. for editors or administrators move this line into the if include(SF_INCLUDES_PATH . '/page-builder/js_composer.php');

    in reply to: How can hide options for ussers? #4590
    heptios
    Member
    Post count: 14

    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.

    in reply to: More menu item in one line #3080
    heptios
    Member
    Post count: 14

    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 🙂

Viewing 7 posts - 1 through 7 (of 7 total)