WordPress.org

Forums

Network Latest Posts
Remove author and date (3 posts)

  1. randler
    Member
    Posted 1 year ago #

    Hello!

    If I want to use the show metadata function in the widget and only display the name of the blog that the latest post comes from, how would that be done?

    Is it possible to some how get rid of the name of the author and the date when the post was published?

    Michael

    http://wordpress.org/plugins/network-latest-posts/

  2. koenigj
    Member
    Posted 1 year ago #

    I have a similar request. I would like to see the title and additionally the date.

    How can I modify the full metadata?

  3. martindnnetdk
    Member
    Posted 1 year ago #

    Yes. You can remove them.

    Open the network-latest-posts.php file.

    look for something like:

    echo $blog_name . ' - ' . __('Published on','trans-nlp') . ' ' . $datepost . ' ' . __('by','trans-nlp') . ' ' . '' . $author->display_name . '';

    Remove the items you dont't want to appear.

    Be aware that the code is used multiple times in the file.

    You'll have to make your changes for the part you want to change. It depends on whether you have chosen to use shortcode or the widget and which design you have chosen for your widget.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Network Latest Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.