Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('wp_head', 'test_this_script');
- function test_this_script() {
- ?>
- <script>
- (function($) {
- $(document).ready(function(){
- $('li.wpml-ls-current-language > a').removeAttr('href');
- $('li.wpml-ls-current-language > a').attr('href', 'javascript:void(0)');
- });
- })(jQuery);
- </script>
- <?php
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement