掲示板機能の検証(メモ):表示順と文言の変更
WP勉強(検証)中┃ no89.hotcom-web.com/wordpress/
●トピックとフォーラムの表示順変更
bb press でトピック表示順を変更 – mugiblo
function.phpに記述
function my_custom_display_topic_index_query () {
$args[‘orderby’] = ‘date’;
$args[‘order’] = ‘DESC’;
return $args;
}
add_filter(‘bbp_before_has_topics_parse_args’, ‘my_custom_display_topic_index_query’ );
function my_custom_display_forum_index_query () {
$args[‘orderby’] = ‘date’;
$args[‘order’] = ‘DESC’;
return $args;
}
add_filter(‘bbp_before_has_forums_parse_args’, ‘my_custom_display_forum_index_query’ );
――――
●「④Lost Password」の文言変更。
トピック: 登録画面の文章を変更したい « サポートフォーラム — WordPress
まだ検証中で、実際に実装しきれていない。
完全に実装が確認できた段階で清書しよう。