How to Enable Astra Comment Box on Custom Post Types?
|
/ Documentation /General/ How to Enable Astra Comment Box on Custom Post Types?

How to Enable Astra Comment Box on Custom Post Types?

Do you notice the default Comment Box and need to change it to Astra’s Comment Box on Custom Post Type?

Astra provides a filter using which you can replace the default Comments Box with the Astra’s Comment Box.

add_filter( 'astra_comment_form_all_post_type_support', '__return_true' );

You will need to add this filter to the Child theme’s functions.php.

Default Comment box –

default comments box of Astra

Updated Comment box using the above-mentioned filter –

Comments box after adding filter for CPT

Note: If you are unable to find the Comments box on your Custom Post Types, you will need to enable it from the Types if using Custom Post Types plugin. Also here’s an article to help you locate this feature.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
On this page

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

This field is required.

REWIND

YEAR IN REVIEW

Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form