Viewing 4 replies - 1 through 4 (of 4 total)
  • View the plugin source, and modify it to remove the author.

    Plugin Author Daniele De Santis

    (@danieledesantis)

    Hi erodegrigo,
    like Oxiclean said, you need to edit the plugin file to remove the author.

    Open wp-recent-posts-from-category.php and go to line 151:
    if ($meta) { $output .= '<br><small>' . get_the_author() . ' - ' . get_the_date() . '</small>'; }

    Remove the author, so your code now is:
    if ($meta) { $output .= '<br><small>' . get_the_date() . '</small>'; }

    Hope this helps, bye
    Daniele

    Hi there,

    But what happens when you update the plugin? That code change gets overridden? Why not add 2 different span elements with their own class names? So you could hide the author via CSS?

    Plugin Author Daniele De Santis

    (@danieledesantis)

    Hi luovajohtaja,
    yes, your file gets overridden when you update the plugin, you have to copy your changes to the new version.

    Having 2 different elements (with different classes) for author and date is a good idea, will be done in next release.

    Thanks!
    Daniele

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Date only.’ is closed to new replies.