{"id":320,"date":"2017-04-22T20:12:21","date_gmt":"2017-04-22T20:12:21","guid":{"rendered":"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/?p=320"},"modified":"2017-04-23T18:21:03","modified_gmt":"2017-04-23T18:21:03","slug":"how-to-add-ask-question-or-post-question-button-in-the-header-menu","status":"publish","type":"post","link":"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/how-to-add-ask-question-or-post-question-button-in-the-header-menu\/","title":{"rendered":"How to add Ask Question or Post Question button in the header menu?"},"content":{"rendered":"<p>Under the &#8216;Header Settings&#8217; of your &#8216;Theme-Options&#8217; you will find a field saying &#8216;Label of Main Menu Post Question Button&#8217;. \u00a0If you put some text there (for example: Ask Question) the button will be visible at the right side of the Header Menu as you see in our live preview. After that, put &#8216;#ask-question&#8217; in the URL field of the button.<\/p>\n<p><a href=\"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to1.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-321\" src=\"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to1.png\" alt=\"\" width=\"1313\" height=\"453\" srcset=\"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to1.png 1313w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to1-300x104.png 300w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to1-768x265.png 768w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to1-1024x353.png 1024w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to1-60x21.png 60w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to1-150x52.png 150w\" sizes=\"(max-width: 1313px) 100vw, 1313px\" \/><\/a><\/p>\n<p>Now you are done creating the button. But, it will not work yet as like our live demo. Couple of steps to follow to make the button functioned like the live preview &#8211;<\/p>\n<p>1.1. Create a new page using &#8216;Add Question&#8217; template<\/p>\n<p><a href=\"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to2.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-322\" src=\"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to2.png\" alt=\"\" width=\"1345\" height=\"617\" srcset=\"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to2.png 1345w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to2-300x138.png 300w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to2-768x352.png 768w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to2-1024x470.png 1024w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to2-60x28.png 60w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to2-150x69.png 150w\" sizes=\"(max-width: 1345px) 100vw, 1345px\" \/><\/a><\/p>\n<p>1.2. Select that page as &#8216;Add question&#8217; page from &#8216;Theme-Options &#8211;&gt; Questions&#8217; settings<\/p>\n<p>If you have already imported the &#8216;Demo Data&#8217; by following the instructions given <a href=\"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/demo-content-import\/\">here<\/a>, you can go to 2nd step directly. Because &#8216;Add Question&#8217; page using &#8216;Add Question&#8217; template is already created in the demo data. Now, go to the &#8216;Appearance &#8211;&gt; Theme-Options &#8211;&gt; Questions&#8217; settings and find &#8216;Add question page&#8217; drop-down settings. Choose the correct &#8216;Add Question&#8217; page as described above and save settings. Now you will see the &#8216;Post Question&#8217; or &#8216;Ask Question&#8217; button of the Header Menu is working as like our demo.<\/p>\n<p><a href=\"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to3.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-323\" src=\"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to3.png\" alt=\"\" width=\"1319\" height=\"599\" srcset=\"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to3.png 1319w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to3-300x136.png 300w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to3-768x349.png 768w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to3-1024x465.png 1024w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to3-60x27.png 60w, https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-content\/uploads\/2017\/04\/sc-to3-150x68.png 150w\" sizes=\"(max-width: 1319px) 100vw, 1319px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Under the &#8216;Header Settings&#8217; of your &#8216;Theme-Options&#8217; you will find a field saying &#8216;Label of Main Menu Post Question Button&#8217;. \u00a0If you put some text there (for example: Ask Question) the button will be visible at the right side of the Header Menu as you see in our live preview. After that, put &#8216;#ask-question&#8217; in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,3],"tags":[],"_links":{"self":[{"href":"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-json\/wp\/v2\/posts\/320"}],"collection":[{"href":"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-json\/wp\/v2\/comments?post=320"}],"version-history":[{"count":0,"href":"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-json\/wp\/v2\/posts\/320\/revisions"}],"wp:attachment":[{"href":"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-json\/wp\/v2\/media?parent=320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-json\/wp\/v2\/categories?post=320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fluentthemes.com\/knowledgebase\/infocenter\/wp-json\/wp\/v2\/tags?post=320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}