Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPBカップ
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

WordPressで匿名での質問を追加する方法

Reddit、Tumblr、Quoraといった人気サイトのAMA(Ask Me Anything)コーナーを見たことがあるだろうか?

最近、あるユーザーからWordPressに追加できないかという問い合わせがあった。AMAは、ユーザーが匿名であなたに質問することができ、あなたのサイトから直接回答することができます。

この投稿では、WordPressで匿名でAMA(Ask Me Anything)を追加する方法を紹介します。

How to add ask me anything anonymously in WordPress

匿名で何でも聞いてみるとは?

RedditやQuoraのような人気サイトでは、時々有名タレントをホスティングサービスに迎え、ユーザーから送信された質問に答えてもらうことがある。Redditのユーザーは、独自のAsk Me Anythingフォーラムをホスティングサービスすることもできます。

Redditでは、AMAのサブRedditが区切られており、さまざまな職業の人が質問に答えているのを見ることができる。

AMA reddit

Tumblrにも同様の機能があり、ブログのオーナーはユーザーからの質問を受け取ることができる。

QuoraもTumblrも、ユーザーが匿名で質問できるオプションを提供している。匿名性は、質問する際に身元を明かしたくないユーザーを助ける。

一つのオプションは、WordPressサイトにユーザーがコメントで質問できる投稿やページを追加することです。ユーザーが偽名を使って匿名で質問を投稿することもできますが、この設定は一部の読者を落胆させる可能性があります。

とはいえ、WordPressに「匿名で何でも質問する」機能を追加する方法を見てみましょう。

WordPressに匿名で何でも聞く機能を追加する

WordPressで匿名でAsk Me Anythingを設定する最も簡単な方法は、WordPressプラグインを使用することです。

まず最初に、Ask Me Anything (Anonymously)プラグインをインストールして有効化します。詳しくは、WordPressプラグインのインストール方法のステップバイステップガイドをご覧ください。

有効化した後、WordPressダッシュボードから設定 ” Ask Me Anythingページにアクセスし、ショートコードを生成する必要があります。

Ask me anything shortcode

一番上には、投稿日やサイドバーウィジェットにAsk Me Anything機能を表示するためのショートコードが表示されます。

こんな感じになるだろう:

[askmeanythingpeople】。]

サイドバーウィジェットに表示する場合でも、Ask Me Anythingショートコードで新規投稿/ページを作成する必要があることに注意してください。

そのほかにも、匿名AMA用に設定できるものがある。

例えば、このプラグインでは、回答リストの並び順の選択、ユーザーに表示される投稿者名の入力、成功メッセージ、質問ボックスのタイトル、確認用の質問と回答などを行うことができます。

Additional AMA settings

匿名で何でも質問の設定を編集した後、新規投稿またはページを作成することができます。

WordPressのコンテンツエディターで、ショートコードブロックを追加し、Ask Me Anythingショートコードを入力するだけです。

How to add a shortcode block to WordPress

次に、テキストを入力してショートコードをブロックに追加します。

完了したら、ページを公開するか更新するだけです。

Add AMA shortcode to a page

WordPressのブログにアクセスして、Ask Me Anything機能の動作を確認できるようになりました。

ユーザーは匿名で質問し、ディスカッションに参加できるようになった。

AMA anonymously preview

サイドバーに匿名で「何でも聞いて」を追加する

WordPressのサイドバーにもAMAセクションを追加したい場合は、この方法を使用できます。

注: ブロックテーマを使用している場合、サイドバーウィジェットエリアがないため、この方法は使えません。しかし、SeedProdのようなページビルダープラグインを使えば、ブロックテーマ用のカスタムサイドバーをデザインすることができます。詳しくは、WordPressで投稿とページに異なるサイドバーを表示する方法をご覧ください。

まず、Ask Me Anythingショートコードを含むWordPress投稿またはページを作成する必要があります。AMAを追加したのと同じページや投稿を使用することもできます。

次のステップで必要になるので、投稿またはページのIDをメモしておくこと。

その後、WordPressダッシュボードから設定 ” Ask Me Anythingにアクセスし、”Choose Location “ドロップダウンメニューから “Sidebar Widget “オプションを選択する必要があります。

Choose sidebar location and page ID

プラグインはサイドバー・ウィジェットの設定を切り替えます。ここで、投稿またはページのIDを入力する必要があります。

設定に満足したら、ショートコードをコピー&ペーストしてサイドバーウィジェットエリアに貼り付けるだけ。

これは、外観 ” ウィジェットページに行き、ショートコードウィジェットブロックを追加することで可能です。

Adding a shortcode block to the WordPress sidebar

次に、ショートコードをショートコードウィジェットエリアに貼り付け、「更新」ボタンをクリックして変更を保存します。

あなたのサイトにアクセスすると、サイドバーに「Ask Me Anything」セクションが表示されます。

AmA in sidebar

質問への回答と司会

匿名AMA機能の準備ができたので、ユーザーが参加して質問を残せるようにしましょう。

ユーザーからの質問はコメントとしてWordPressのデータベースに保存されます。コメントページにアクセスすることで、それらを表示し、承認することができます。

さらに詳しく知りたい方は、WordPressでコメントを管理する方法をご覧ください。

Moderate ama questions

質問の下にある「返信」リンクをクリックするだけで、質問に回答することができます。また、サイトに掲載したくない場合は、質問を削除することもできます。

すべての質問は匿名であなたのサイトに表示されます。外観はAMAフォームの下に表示されます。

View AMA answers and questions

この投稿がWordPressで匿名でAsk Me Anythingを追加するのにお役に立てば幸いです。また、サイトを成長させるために必須のWordPressプラグインのリストや、WordPressでフォーラムを追加する方法についてのガイドもご覧ください。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 WPBeginnerの資金源 をご覧ください。3$編集プロセスをご覧ください。

アバター

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

究極のWordPressツールキット

ツールキットへの無料アクセス - すべてのプロフェッショナルが持つべきWordPress関連製品とリソースのコレクション!

Reader Interactions

12件のコメント返信を残す

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Ilana Hipshman says

    Hello, I have an inquiry.

    I followed the rules exactly, first creating a post, then using the ID of that post in the plugin to create a sidebar widget. Everything seems to have worked, except the widget shows up with the shortcake, instead of the actual plugin.

    Where may I have gone wrong?

  3. Abby says

    I’m using the plugin as more of a confessional than a question and answer section and it seems like it will work really well for this! I have a few questions,
    How do I change, “Someone asked” to Someone said or perhaps remove that piece altogether?
    How do I remove the Gravatar?
    Is there anyway I can add reactions to the comments (questions)?

    Thanks in advance

    • Arun Basil Lal says

      You can change ‘Someone asked’ to anything you want using the shortcode attribute ‘anonymous_name’ and remove the Gravatar by setting the attribute ‘avatar_size’ to 0.

      So your shortcode will look something like:

      [askmeanythingpeople anonymous_name=”A random person asked” avatar_size=”0″]

      To add reactions, you will need to find a plugin that adds reactions to WordPress comments. And that will add reaction to this as well since questions and answers are simply WordPress comments.

  4. Fadolla says

    Hello Syed :
    can u help me about my WordPress site, when i want to login to the admin panel it always must login two times with the first time it show this Error below .

    ” ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress. ”

    what can i do to make it right?
    thank before hand .

返信を残す

コメントありがとうございます。すべてのコメントは私たちのコメントポリシーに従ってモデレートされ、あなたのメールアドレスが公開されることはありませんのでご留意ください。名前欄にキーワードを使用しないでください。個人的で有意義な会話をしましょう。