プラグインダウンロード
以下のサイト内から「Angsuman’s Authenticated WordPress Plugin」をダウンロードします。
Angsuman’s Authenticated WordPress Plugin
プラグイン編集
プラグインの内容が古くなっていて、最新のWordPressの認証に対応していないので、以下のように書き換えます。
ac_authenti…
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>"> <input type="text" value="<?php the_search_query(); ?>" name="s" id="s" /> <?php wp_dropdown_categories('show_option_all='.__('ALL').'&hide_empty=0');?> <input type="submit" id="submit" value="検索" /> </form>Formタグ内の適当な箇所に以下を追加します。
<?php wp_dropdown_categories('show_option_all='.__('ALL').'&hide_empty=0');?>
この投稿へのコメント
コメントはまだありません。