1) Open Master Page in SharePoint designer.
2) Insert below snippet under "<div id="s4-bodyContainer">" tag.
<h1 id="custom-pagetitle">
<!--MS:<asp:ContentPlaceHolder ID="PlaceHolderPageTitleInTitleArea" runat="server">-->
<!--CS: Start Page Field: Title Snippet-->
<!--SPM:<%@Register Tagprefix="PageFieldFieldValue" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
<!--MS:<PageFieldFieldValue:FieldValue FieldName="fa564e0f-0c70-4ab9-b863-0177e6ddd247" runat="server">-->
<!--ME:</PageFieldFieldValue:FieldValue>-->
<!--CE: End Page Field: Title Snippet-->
<!--ME:</asp:ContentPlaceHolder>-->
</h1>
2) Insert below snippet under "<div id="s4-bodyContainer">" tag.
<h1 id="custom-pagetitle">
<!--MS:<asp:ContentPlaceHolder ID="PlaceHolderPageTitleInTitleArea" runat="server">-->
<!--CS: Start Page Field: Title Snippet-->
<!--SPM:<%@Register Tagprefix="PageFieldFieldValue" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
<!--MS:<PageFieldFieldValue:FieldValue FieldName="fa564e0f-0c70-4ab9-b863-0177e6ddd247" runat="server">-->
<!--ME:</PageFieldFieldValue:FieldValue>-->
<!--CE: End Page Field: Title Snippet-->
<!--ME:</asp:ContentPlaceHolder>-->
</h1>
3) Here you will see the output of the Page Title
No comments:
Post a Comment