Yes, you can pass the post ID you want to target to WordPress’ comment_form()
method.
Here’s a good write up on the comment_form() method and here’s the codex page on it.
Related Posts:
- Allow variable amount of comments before pagination
- Add a checkbox to post screen that adds a class to the title
- get comments and get posts in loop
- Update all posts automatically when using post_meta
- I am trying to create a simple frontend form for posting
- HTML code in Custom field
- How to show posts rank based on custom field value
- Add custom field to all posts in specific category
- One comment per user email per post
- meta_box or custom_field as a second tinymce post-instance?
- Can’t show comments count per post outside loop
- Guest Author – How to modify my custom function code if the guest author URL will follow a particular pattern/format?
- Only display posts with comments
- How to output comments number of a post per day?
- Change post format using custom field
- Sanitizing `wp_editor();` Values for Database, Edit, and Display
- How can I make existing custom fields easier to edit/add in my theme?
- Add custom fields to post programmatically
- How to get Advanced Custom Field Value According using POST ID? [closed]
- Including new Javascript only after a comment is made
- How to add a custom field after wp post
- Custom fields on a virtual page
- Display posts with comments closed, with pagination?
- What Is meta_id In wp_postmeta?
- Only display posts after current date
- Add custom field automatically (add_post_meta) with value based on number of words of article
- Global $post not working in OOP function WordPress
- How can I get a post field value using javascript?
- Understanding and using metaboxes in posts
- Posts vs. Pages
- Guest Author – How to display posts on /author/ archive page
- How to allow logged in users to post anonymously
- Query get post,how to add comment box
- Update all comments time to random dates?
- Enable Comments Box On Custom Post Type
- Turn On Comments On Custom Post Types in Directory Theme
- Second comments section for one post/page
- Showing author page if user has no post
- What do comments with […] mean?
- Internal post link creates comments on its own
- Show comment number per author per day
- Get all comments of author’s posts
- Customize rel=canonical tag for single blog post
- SQL Command for restoring trashed comments
- Get post ID from a link
- Create a list of posts with topic headdings
- Add field to user meta table in database when link is clicked
- Hide custom metabox value from custom fields
- Hide comments and posts posted by other user
- Get post meta retrieving wrong value
- if in category but only with post meta
- Output Post with ACF Fields into other Post
- Saving Post Data in Another Database
- After ajax image is outside the “ tag
- Edit custom fields in posts list
- Is it advisable to use $post->comment_count instead of get_comments_number( $post_id )
- WP_Query custom field pass the post id
- If custom field is empty, use one from a previous post
- Can WordPress handle following functionalities?
- How to get post id of last approved comment?
- Display content between two dates?
- Automate post update for all posts?
- How to save template data into wp_post table (post_content column)
- Override WordPress core post-template.php block template
- Only the most recent post is showing on my category page (working on localhost, not live site)
- Post meta not working
- how to show comments only author which send own posts in wordpress
- Custom Fields – How to get the list of a specific active widget each time it rendered
- Merge get_comments & get_posts into a single query
- Adding an option to post editor to show a site disclaimer or message
- Saving canvas generated image when saving post causes 404 error
- Remove the URL author of post on all comments
- Need to display a Jan 1st post as the site’s front page on Jan 1st, and Jan 2nd post as front page on Jan 2nd etc
- No comments allowed
- How do you update post date (year only) in a separate custom field?
- I want to change the WordPress comments file
- How do I display posts ordered by a date custom field?
- Extracting a TLD from the content and assign to custom field
- Custom fields in normal posts
- Some comment box wordpress in 1 post [closed]
- Order posts by separate menu order for different sub-categories
- How can I get a comment ID on Submit?
- Get first comment link on the post itself
- Get url/link to latest comments in a post
- How to custom sort-out editing-panel fields?
- Display only posts with comments
- Delete old post with new post
- How can I create a menu items from meta box based on users input
- get_post_meta property of non object
- 2 tick boxes appearing below comments
- Home page: using custom fields for posts and pages
- How would I attach media/images to a post based on a ID stored in a each post’s custom field
- Admin moderates ALL comments (including post author)
- How to Do Custom Fields to Output a Definition List
- How to make a local “scroll to ID” on post?
- How can I show the positive and negative comments for a same post separately?
- Read more opens attachment
- How to update wp_posts with just the returned comment count from wp_comments (SQL GROUP BY)
- Simple shortcode to check if a user has commented on a certain post
- Undefined Function Fatal Error with Shortcode [closed]