More in this section
Forums / Designing & Styling / Hiding Author field in News

Hiding Author field in News

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
3 posts, 0 answered
  1. Michael
    Michael avatar
    2 posts
    03 Nov 2014
    03 Nov 2014
    Link to this post

    Hello all,

    I am new to Sitefinity and very happy to find this resource!

     We are using Sitefinity 6.3. I am posting press releases using the News content item and would like to know if there is a way to hide the Author field and possibly date, from the posted content. Right now it looks a little silly repeating the author and the date. Is there a way to hid or remove? Any suggestions would be greatly appreciated! Thanks!

    Press Release Title Here
    by Author | Nov, 03 2014
    The press release summary text goes here...

    New York, NY - 3 November 2014: ABC Corp announced today....


    Rhode Island Novelty® Presents its New 2015 products at North America’s Largest Gift Show

    by Diane Saia | Nov 01, 2014
  2. Miroslava
    Miroslava avatar
    57 posts
    16 Jan 2017
    04 Nov 2014
    Link to this post
    Hello Michael,

    Thank you for contacting us.

    You can easily remove author and publication date of news items by editing the template for News widget or applying a new widget template.

    The code that needs to be removed from the news widget template is:

    <asp:Literal Text="<%$ Resources:Labels, By %>" runat="server" />
    <sf:PersonProfileView runat="server" /> | <sf:FieldListView ID="PublicationDate" runat="server" Format="{PublicationDate.ToLocal():MMM dd, yyyy}" />

    In order to edit or create a widget template, you need to navigate to Design > Widget Templates and open the template you wish to edit. Then find the code above and remove it.

    Here is a link to Sitefinity documentation for creating and editing widget templates.

    Hope this is useful for you.

    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
  3. Michael
    Michael avatar
    2 posts
    03 Nov 2014
    04 Nov 2014 in reply to Miroslava
    Link to this post
    Thank you!
3 posts, 0 answered