If you want to display default WordPress comment form then you need to call comments_template()
in your template. Make sure that comment_status
should be open
for the particular post that you want to display the comment form.
<?php
comments_template();
?>
Read more here https://developer.wordpress.org/reference/functions/comments_template/
Related Posts:
- Add comments meta fields to comments metabox on post edit screen
- changing default comment form arguments [duplicate]
- How to add extra input fields to CPT’s comment form?
- comment_form() not showing on custom post type
- What functions does WordPress use for filtering / sanitizing comments?
- Adding guestbook to my wordpress site
- duplicate comment section functionality and call it something else for custom post types
- Send email messages after comment was submitted
- Comments not enabled for custom post types
- strange conditional tag behaviour [duplicate]
- Error 403 when posting comments to a custom post type from a different page
- Combining queries with different arguments per post type
- custom slug for custom post type
- importing third party json feed as custom post type [closed]
- List the categories under custom taxonomy
- register_post_type & ‘register_meta_box_cb’ argument
- Returning search results by relevance, including Custom Post Types
- Custom Post Type Archives with 0 Posts Redirects as 404
- How to replicate some of Drupal Views functionality in WordPress?
- Archive page with multiple taxonomies rewrite
- Date archives for custom post type
- WP Rest API Querying Custom Posts by ACF fields
- display multiple term post from taxonomy in a single page
- Dynamic variable for custom taxonomy in loop?
- Allow Author role to publish one post type and not another
- Display posts of child category in template
- Displaying a specific post in a wp query by post id
- What hook should be used to programmatically create a post only when master post is updated?
- How to show post title outside of loop? [closed]
- Prevent author role from editing all posts in custom post type?
- Want to turn WordPress into a paid subscription directory
- Using WPAlchemy metabox values in another metabox
- adding .current* tags to custom post types and taxonomies
- How to get custom post type menu_name?
- Saving repeated option values in a custom query
- Remove custom post type slug not working for child pages
- I am facing problem in my archive page , it is partially working
- Rewrite rules for custom post type slug
- Check if admin is editing page or custom post type
- How to output wordpress custom tags separated by comma?
- Admin notice not displaying
- Custom Image Thumbnails of Different Sizes
- wp_set_object_terms() not adding new term to custom post and custom taxonomy
- Changing number of posts per page on CPT-archive.php, have tried 20-30 code chunks so far
- How to allow a custom user role to create, edit, delete a specific custom post type only?
- Prevent stripping MathML tags on post save
- How to set order for a custom post type
- How to hook custom taxonomies to custom post types and make the permalinks work?
- How to get custom post types to play nice with schema.org (aka how to wrap the contents in the schema.org markup)?
- Custom admin post.php page
- Displaying CPT and custom taxonomy side by side in Bootstrap 4 component
- Use Custom Post Type archive page for the taxonomies term archive page
- Nested Custom Post Type or Custom Post Type Parents?
- Hide a widget inside a div on specific type of post
- How to use TinyMCE Editor for one of my custom post meta field?
- Custom post type pagination – always return first page
- Display related custom taxonomy posts in sidebar
- filter search custom field query
- $post not working working in AJAX plugin with custom post type
- Using wp_query to modify the loop in index.php for a CPT
- How To Display A List Of CPT Posts In A Meta Box On Menus Page?
- Getting WordPress Flexslider Item Number
- WordPress Custom Post Type and Shortcode for Portfolio Items
- fetch custom post by meta key if key value is does not know
- Get image from external URL
- Better approach for a WordPress Inventory
- Showing all posts and custom post types by using one category
- Issue with Custom Post Types and Single
- Echo custom post meta from options array
- Filtering the_content, but still need to display the unfiltered content inside filter
- WP not recognizing custom post type / template
- Displaying Portfolio Filter by Category Order (alphabetically)
- Function to add custom HTML into head in custom post-type list page
- How to create subdomain for custom post type and associated custom taxonomies
- What is the parameter : ‘Customs-fields’
- set post_type based on custom taxonomy permalink
- Get previous and next custom post by custom field
- Show only Current category and sub category of custom post wordpress
- Creating post template for a Custom Post Type
- WP Admin Dropdown List Filter for custom (ACF) field on custom post type(s)
- Why are custom taxonomies only appearing on the edit page of one of these types, but not the other?
- Add Custom Field in Product in WP Admin and send to Order Webhook
- Taxonomies are not showing in the category dropdown
- Add Pagination in custom Blog page template
- get_the_terms child terms for current post/custom post only
- Show Recently Viewed Custom Post to the visitor without plugin
- Custom Post Type Query by user id
- WordPress API only returning HTML
- select custom post type on regular post
- woocommerce post_type conflict with existing post type
- Get month and day from a Date Picker custom field
- How to change post status link order(priority) on cpt listing page
- Issue with permalinks for custom post type
- Setting a Master Menu on a Custom Post Type
- Linking from a list of custom post type items to a single – get_post_permalink not working correctly
- Remove plugin’s custom post type archive page and single pages [closed]
- After wp_insert_post() custom post type does not show in the admin
- Rewrite nested urls for custom post type
- Custom Post Type featured option
- Rewrite rule taxonomy url with different values in one function