author表示を消したい
-
Catch box
というテーマでauthorが表示されないようにしたいです。
そこでfunction.phpを少し変更したらエラーが表示されて、正常にサイトが表示されなくなりました。if ( ! function_exists( ‘catchbox_posted_on’ ) ) :
/**
* Prints HTML with meta information for the current post-date/time and author.
* Create your own catchbox_posted_on to override in a child theme
*
* @since Catch Box 1.0
*/
function catchbox_posted_on() {
printf( __( ‘<span class=”sep”>Posted on </span><time class=”entry-date updated” datetime=”%3$s” pubdate>%4$s</time>‘, ‘catchbox’ ),
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
esc_attr( get_the_date( ‘c’ ) ),
esc_html( get_the_date() ),
);
}
endif; // catchbox_posted_on下から3行目のところにエラーがあるようなのですが、
どこがダメなんでしょうか?
2件の返信を表示中 - 1 - 2件目 (全2件中)
2件の返信を表示中 - 1 - 2件目 (全2件中)
- トピック「author表示を消したい」には新たに返信することはできません。