You can use get_the_title(get_question_id());
Its how AnsPress works by default. But you can easily make rewrite ask page to http://forum.fedorovskoe.com/ask/, have a look at this code: https://github.com/anspress/anspress/blob/master/includes/rewrite.php#L81
Add this to your styles.css #ap-form-main .ap-btn.ap-btn-submit { color: #333 !important; }
No, you can use your theme as usual but you’ll not receive theme update.
With recent changes to Add Meta Tags, it is now completely possible to make it work good with AnsPress. I’m using it, see it in action here: http://dima.stefantsov.com/qa/ add_action('wp', 'd_anspress_amt_fix'); function d_anspress_amt_fix() { // Only make changes when inside AnsPress. if (!function_exists('is_anspress') || !is_anspress()) { return; } add_filter('amt_exclude_schemaorg_metadata', '__return_true'); add_filter('amt_exclude_dublin_core_metadata', '__return_true'); // Feed AMT with real question-post. if (is_question()) { add_filter('amt_get_queried_object', function(){ return get_post(get_question_id(), OBJECT); }); } }
With recent changes to Add Meta Tags, it is now completely possible to make it work good with AnsPress. I’m using it, look how good it works: http://dima.stefantsov.com/qa/ add_action('wp', 'd_anspress_amt_fix'); function d_anspress_amt_fix() { // Only make changes when inside AnsPress. if (!function_exists('is_anspress') || !is_anspress()) { return; } add_filter('amt_exclude_schemaorg_metadata', '__return_true'); add_filter('amt_exclude_dublin_core_metadata', '__return_true'); // Feed AMT with real question-post. if (is_question()) { add_filter('amt_get_queried_object', function(){ return get_post(get_question_id(), OBJECT); }); } }
Can confirm this issue. I have the same problem. Here’s the response code. ap_responce: true is_ap_ajax: true message: "Something went wrong, last action failed." message_type: "error"
The same I have. Rahul, please assist.