Created
November 18, 2015 21:19
-
-
Save alexsorokoletov/f72991755a3a67349e4e to your computer and use it in GitHub Desktop.
External links in menu fix - Ray Theme from ThemeForest http://themeforest.net/item/ray-app-responsive-wordpress-theme/9740730
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//fix for external/custom links in menu | |
//for Ray Theme from ThemeForest http://themeforest.net/item/ray-app-responsive-wordpress-theme/9740730 | |
//put that code to wp-content/themes/ray/assets/js/custom.js | |
//into nav function (around line 168) | |
$('.nav a.external').each(function(){this.href = this.href.substring(this.href.indexOf('#http')+1); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment