2

I want to make my Page Title linkable/clickable so that users can be able click for their home page. Is it possible to include this functionality?

2 Answers 2

3

Put this below script in CEWP on your page:

<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script>
    $( document ).ready(function() {
        $("#DeltaPlaceHolderPageTitleInTitleArea span span a").attr("href", _spPageContextInfo.webServerRelativeUrl);
    });
</script>

It will redirect to your home page.

0
1

You can achieve this by keeping the following code in Content Editor WebPart.

$(document).ready(function(){

$('#DeltaPlaceHolderPageTitleInTitleArea').wrap('<a href="Your Link" />');

});

Where DeltaPlaceHolderPageTitleInTitleArea is the Id of your title placeholder.

I achieved this functionality in past.

2
  • have tried yours but for some reason does'nt go to the home page
    – lizzy1
    Commented Jun 30, 2016 at 9:08
  • if will work if your URL is correct. I tried and then posted the answer. Commented Jun 30, 2016 at 9:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.