Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Keyboard shortcut for laytheme admin

    General Discussion
    2
    4
    334
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User last edited by A Former User

      Hi guys,

      does anybody know a good keyboard shortcut plugin for Wordpress?

      I want to be able to access the Wordpress backend by pressing SHIFT + A while on my website.

      cheers

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Hi @TKN
        you can write in jQuery that it will open a link when you hit those keys.

        Should not be that difficult.

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User last edited by A Former User

          In case anybody needs this. Here is a script that let’s you get to your laytheme admin by pressing SHIFT + A in your frontend.

          Next feature I want to add: Editing the current page you are on by pressing SHIFT + E

              (function( $ ) {
          var $doc = $( document );
          $doc.ready( function(){
          $doc.on( 'keydown', function( e ){
          if ( ! $( e.target ).is( ':input' ) ) {
          
          if ( 65 == e.which && e.shiftKey )
          // 65 = Number of "a" character in the Javascript Char Codes
          window.location = "http://www.yourwebsiteurl.com/wp-admin";
          {
          }
          }
          });
          });
          
          })( jQuery );
          
          1 Reply Last reply Reply Quote 1
          • mariusjopen
            mariusjopen Global Moderator last edited by

            HI @TKN
            really sweet!

            Please keep in mind, that this gets overwritten, as soon as an update gets installed.

            Also a good input for the future!

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Before you post

            Use the Search Feature. Maybe there is already a solution to your issue.

            1. Update Lay Theme and all Lay Theme Addons
            2. Disable all Plugins
            3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
            4. Now see if your problem solved itself
            5. Go here, see if your problem is listed here:
            Troubleshooting

            When you post:
            1. Post a link to where the problem is
            2. If the problem is difficult to explain, post screenshots / link to a video to explain it

            Thanks!

            Online Users

            K
            M

            Recent Topics

            • M

              komische boxen auf der Website

            • S

              Theme crashed - because of Polylang?

            • J

              Split Screen just on front page / subpages without the split?

            laytheme.com