日本語
サポート
サポート » 返信先:
(@kazuxtaka)
6年、 10ヶ月前
自己解決いたしました。 カスタム投稿の入力内容は post_title、post_contentとは違う箇所に入っておりましたので、 $where = str_replace(".meta_value", ".post_content COLLATE utf8_unicode_ci", $where ); を追加したところ、ひらがな・カタカナ含めた検索ができました。
$where = str_replace(".meta_value", ".post_content COLLATE utf8_unicode_ci", $where );
漢字検索については、依然方法を模索中になりますが、一度解決済とさせていただきます。