Maybe you can add a custom 404 page to your theme. Or just not hold the questions for moderation.
Thank you. It works.
Hello, Please read the FAQ and docs before posting. You’ll need [anspress] shortcode in all pages.
Hi Rahul, Thanks for taking the time to reply me.
This is what I have. Should I change something?
Hello, I can see the bug in my install as well. Please add below hook for now (we will add a fix in next release). You can get more info about tags field here AnsPress_Tag::ap_question_form_fields(). /** * Set minimum tags required to 0. */ function my_ap_question_form_fields( $form ) { if ( isset( $form['field']['tags'] ) ) { $form['field']['tags']['array_min'] = 0; } return $form; } add_action( 'ap_question_form_fields', 'my_ap_question_form_fields', 99 );
Hello Guys, First make sure categories page exists and it is selected in AnsPress page setting. If you still get 404 make sure to save WordPress permalinks to flush rewrite cache.
Try to save the permalinks again, first the wordpress permalinks (twice). (Settings -> Permalinks) After that, go to the anspress option page and save the permalinks there. (Anspress -> options -> general tab -> permalinks section). I’m developing a site with this plugin and the askbug theme, and sometimes while I’m moving between versions I get a 404 error, but after I save the permalinks again the problem is solved.
Hello, There is already a shortcode for that [anspress page="question"] . But using shortcode for single page will give you lots of issue like broken permalink and non-compatibility with 3rd party plugin. You can adjust single question page by simply creating a new template in your theme called single-question.php (you should copy initial codes from single.php templat) and then adjust this template as per your need.
Hello Ridan, We have shown you to add upload field in question form but we cannot help further with your custom logic. You can use existing plugins from wp.org for files download management.