Hack for Changing URL of Uncode Theme Logo

1. Log into WordPress and go to Unicode theme options.
2. Scroll down and select 'CSS & JS' option from the side menu
3. Now go to the 'Javascript' input box and enter here your custom JavaScript code.
4. Be sure to replace "YOUR_URL_HERE" with your intended URL i.e. "https://bestknownhost.com"like so:

Please add the below js code in the custom JS area as shown here:


/*Redirect the logo link to home page*/
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('#main-logo a').prop("href", "YOUR_URL_HERE");
});
</script>
You can wrap your code in a "script" tag or just write the body of your function. Both methods are allowed. However, the syntax highlighter works in the second case only (without the script tag) so please enter the code like so:
/*Redirect the logo link to home page*/
type="text/javascript">
jQuery(document).ready(function(){
jQuery('#main-logo a').prop("href", "https://bestknownhost.com");
});

Feedback and Knowledge Base