Hide Created by name in sharepoint blog post detailed page

Hi all,

This article explaining, how to remove or hide created by / or created date in blog post detailed page.
i went some blog and didnt get proper way to remove created by value instead they suggest to edit the "_Layout" xml file which will affect all web application in the farm.

This method will hide by blog site level and other blog sites are behave normal. but its more specif to the browser tag.


  • My detailed blog post web part is WebPartWPQ2.Please check your web part id using view source.



  • Add CEWP and add following script in blog post page


script type="text/javascript"

var matches = [];
var searchEles = document.getElementById("WebPartWPQ2").children[0].children[0].children[0].children[1].children[1].children;

searchEles[0].innerHTML="";
searchEles[1].innerHTML="";


    /scrip


Comments