Okay
  Public Ticket #1330460
Item reviewed and author change/remove
Closed

Comments

  • Micke started the conversation

    How do i change item reviewed in overview to something else and how do i remove author from there?

  •  276
    Brian replied

    You can change the item reviewed in the details options down below the post content editor when editing the post. Removing the author should also be an option there, but if it's not let me know nad I can help you manually remove it.

  • Micke replied

    What if i want to remove the item reviewed section in overview?

  •  276
    Brian replied

    There is a section of code in the functions/reviews.php file lines 208 - 218 that you can remove if you'd like:

    if($isreview) {
    $out .= '<div class="detail-item">';
    $out .= '<span class="detail-label">' . __('Item Reviewed',IT_TEXTDOMAIN) . '</span>';
    $out .= '<span class="detail-content entry-title" itemprop="itemReviewed"><p>' . $item_reviewed . '</p></span>';
    $out .= '</div>';
    $out .= '<div class="detail-item">';
    $out .= '<span class="detail-label">' . __('Author',IT_TEXTDOMAIN) . '</span>';
    $out .= '<span class="detail-content vcard author" itemprop="author"><p><span class="fn">' . get_the_author() . '</span></p></span>';
    $out .= '</div>';
    $out .= '<meta itemprop="datePublished" content="' . get_the_date() . '"><span class="updated">' . get_the_date() . '</span>';
    }