Hi Rahul,
WordPress uses filters to block HTML in category description (taxonomies).
This is what i use to unblock it:
// allow html in category and taxonomy descriptions
remove_filter( ‘pre_term_description’, ‘wp_filter_kses’ );
remove_filter( ‘pre_link_description’, ‘wp_filter_kses’ );
remove_filter( ‘pre_link_notes’, ‘wp_filter_kses’ );
remove_filter( ‘term_description’, ‘wp_kses_data’ );
BUT it does not effect the AnsPress category description.
How can i enable HTML in AnsPress category description?
Hey.
Download plug-in from the WordPress shop. I press the “activate” button, the page is updated, at the top of the page the inscription “plugin successfully activated”, with the plugin deactivated.
The latest version of the WordPress
Cretae new custom field:
function custom_form_fields( $form ) {
// Upload field.
$form[’fields’][’budget’] = array(
‘label’ => __( ‘Budget’ ),
‘desc’ => __( ‘Tu presupuesto máximo..’ ),
‘subtype’ => ‘text’,
);
return $form;
}
add_filter( ‘ap_question_form_fields’, ‘custom_form_fields’ );
Save field:
function question_mysave( $post_id, $post ) {
global $validate;
if ( empty( $validate ) ) {
return;
}
$fields = $validate->get_sanitized_fields();
update_post_meta( $post_id, ‘budget’, $fields[’budget’] );
}
add_action( ‘ap_processed_new_question’, array( $this, ‘question_mysave’ ), 0, 2 );
add_action( ‘ap_processed_update_question’, array( $this, ‘question_mysave’ ), 0, 2 );
Don’t save the custom field. ¿why?
Hi Rahul,
I am having problem in getting comment moderation email. As an Admin sometimes I get the emails and sometimes not, Is this a bug or I need to enble/disable some settings in anspress? Please help.
Thanks
Hello Support,
Is it possible to put the question title into a h1 ?
I dont see the titel on my page anywhere https://seomarketingdeals.com/en/question/8091/link-partners-wanted-in-the-branches-construction-garden-industry-craft-gifts/
Where do I put the google analytic code in the header? I can’t find the right place?
Also how do you mark a question has solved please?
Dear team,
thank you for plugin, here is my question. I am using “ad inserter” plugin to put advertisement under my blog posts. apparently anspress questions are defined as some type of posts, and “ad inserter” plugin define questions as post and automatically put advertisements under each question. do you think if there is any solution to stop displaying ads under questions?
Can I search multiple category?
I want make a custom question list. How can I do without modified the plugin for future updates.
Hello,
I’m looking to change the “Closed” Question option to say “Resolved” instead. I’ve looked around the files on the server but nothing seems to work/stand out.
Does anyone know how I’d change this if its possible?
Thanks for your time,
Jordan