-1

我想从元部分中删除这些突出显示的文本

4

1 回答 1

2

请转到 Divi >includes > builder > functions.php 文件,您可以在那里找到代码。

 if ( ! function_exists( 'et_pb_postinfo_meta' ) ) :
function et_pb_postinfo_meta( $postinfo, $date_format, $comment_zero, $comment_one, $comment_more ){
    $postinfo_meta = '';

    if ( in_array( 'author', $postinfo ) )
        $postinfo_meta .= ' ' . esc_html__( 'by', 'et_builder' ) . ' <span class="author vcard">' . et_pb_get_the_author_posts_link() . '</span>';

    if ( in_array( 'date', $postinfo ) ) {
        if ( in_array( 'author', $postinfo ) ) $postinfo_meta .= ' | ';
        $postinfo_meta .= '<span class="published">' . esc_html( get_the_time( wp_unslash( $date_format ) ) ) . '</span>';
    }

删除和 | 从这里 > 保存并检查。

于 2018-01-05T10:12:21.603 回答