Recent section gets added automatically through a Web Control on SharePoint pages. 'Recent' menu is individual to each user! meaning everyone gets their own recent section with links to their recent activities! If you have a requirement to remove (or hide) the "Recent" menu header from the left navigation of SharePoint 2013, Here are some solutions:
In Publishing sites, You can remove "Recent" section manually by going to : Site Settings >> Look and Feel >> Navigation (or Quick launch on Non-publishing sites!) .
How to hide recent in SharePoint 2013 using jQuery:
Edit the page, Add a script editor web part and place this code in it (or master page html)
Hide recent heading in SharePoint 2013 Quick launch with PowerShell:
You can also remove "Recent" section using PowerShell by deleting recent header.
PowerShell script to delete recent group in SharePoint 2013 left navigation:
In Publishing sites, You can remove "Recent" section manually by going to : Site Settings >> Look and Feel >> Navigation (or Quick launch on Non-publishing sites!) .
How to hide recent in SharePoint 2013 using jQuery:
Edit the page, Add a script editor web part and place this code in it (or master page html)
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery(".ms-core-listMenu-item:contains('Recent')").parent().hide();
});
</script>
Hide recent heading in SharePoint 2013 Quick launch with PowerShell:
You can also remove "Recent" section using PowerShell by deleting recent header.
PowerShell script to delete recent group in SharePoint 2013 left navigation:
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$web = Get-SPWeb "http://your-sharepoint-site-url"
#Process Quick launch
for ($i = $web.Navigation.QuickLaunch.Count-1; $i -ge 0; $i--)
{
$node = $web.Navigation.QuickLaunch[$i];
if($node.Title -eq "Recent")
{
$node.Delete();
Write-host "Recent section removed from $($web.Title)"
}
}