New Landing How can we help? Themeforest Theme Support Flexform wordpress admin top link bar

Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Flexform
  • #136412
    francesco
    Member
    Post count: 67

    Hello!
    I need to change the name and link destination of the link in the top bar “wordpress admin”:

    this: http://awesomescreenshot.com/03741xb393

    and I would like to be renamed to “My Files” and redirected to a link.

    I identified in header.php the line to edit but do not know how to proceed to get the required result.

    best

    #136416
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Can you provide the direct URL of the site?

    Let us know,

    Thanks,
    laranz.

    #136462
    francesco
    Member
    Post count: 67

    unfortunately no, I’m working in local

    #136472
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit header.php file of theme. Find given belwo code and make changes as you desire.
    <a href="<?php echo get_admin_url(); ?>" class="admin-link"><?php _e("WordPress Admin", "swiftframework"); ?></a>

    Thanks
    Mohammad

    #136478
    francesco
    Member
    Post count: 67

    What should I midificare of this line to insert a link destination es. http://www.sitename.com/hello

    #136482
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please find this code:-

    <a href="<?php echo get_admin_url(); ?>" class="admin-link"><?php _e("WordPress Admin", "swiftframework"); ?></a>
    
    Change to :-
    
    <a href="http://www.sitename.com/hello" class="admin-link"><?php _e("WordPress Admin", "swiftframework"); ?></a>

    Thanks
    Mohammad

    #218149
    tomallinder
    Member
    Post count: 18

    I am having a problem with the admin menu showing up only in mobile version. I want to remove the admin link for site visitors who are not logged in…

    Attachments:
    You must be logged in to view attached files.
    #218152
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi @tomallinder,

    What’s your site url?

    -Rui

    #218155
    tomallinder
    Member
    Post count: 18
    #218185
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this to your custom css:

    body:not(.logged-in) .topaccmenu {
      display: none;
    }

    – Kyle

    #218214
    tomallinder
    Member
    Post count: 18

    Kyle, thank you. That removed the dropdown menu but the black box with select a page is still there.

    In the header.php, this is what refers to it:

    <?php
    if(function_exists(‘wp_nav_menu’)) {
    wp_nav_menu(array(
    ‘theme_location’ => ‘top_bar_menu’,
    ‘fallback_cb’ => ”
    )); }
    ?>
    </nav>
    <?php _e(“Select a page”, “swiftframework”); ?><i class=”icon-angle-down”></i>
    <nav id=”top-bar-menu” class=”topaccmenu”>

    I really don’t want to fool around with the code as I know just enough to be dangerous and this is a live site… I can edit locally and upload via ftp…

    #218392
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Are you sure you want to remove the mobile menu?

    If so, this CSS will do it:

    @media only screen and (max-width: 767px){
    .show-menu {
        display: none!important;
    }
    }

    – David.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register