Try this. You were missing the tags and the “type” attribute for the tag. The php tag at the bottom echo’s the result that was input in the textarea. Read this http://www.w3schools.com/html/html_forms.asp
it should help you get started.
<div class="font-wrap">
<div class="wrapper">
<form action="" method="post">
<textarea name="comment" id="comment" class="talk-bubblecomment" tabindex="4" placeholder="Enter comment..."></textarea>
<p class="sign-in">
Post a new comment
</p>
<input type="submit" value="Submit Comment" />
</form>
<?php echo "$_POST[comment]";?>
Related Posts:
- How do I fetch all comments per post via WP REST API?
- Ajax load more button for comments wordpress
- How to call a PHP function from Javascript in WordPress
- WordPress Infinite Scroll without using any plugin
- How to preserve PHP modifications while upgrading WordPress?
- Calling a method from functions.php on a click of a button
- Change comments form title on a page by page basis
- How to use WordPress (PHP) functions in AngularJS partials files?
- How do I create comment-reply-button using element not
- Understanding WordPress child theme custom JS loading
- Click loads template via ajax
- Uncaught TypeError: Cannot read property ‘firstChild’ of null after upgrading to WordPress 5.5
- Replace comment avatars and links at the same time
- javaScript in section of WP API
- Adding ads code between comments
- How to speed up admin-ajax.php in wordpress
- Adding tawk.to code just before body tag on functions.php file
- Slide in Panel WordPress Post
- comments_number display outside specified span
- Trying to implement Ajax comments in WordPress, getting WP error
- How do I display a user’s previous orders as a select box option on a product?
- How does this WordPress Plugin (Thrive Comments) apply their custom comment sort? [closed]
- Trigger popup in a php if/else statement
- Use menu link or onClick to set a variable
- Populate dropdown with Child Pages based on Parent Page chosen
- remove wp floating submenu in wp dashboard
- How to complete two other input fields, completed the first
- Customize Theme comment template to Insert VoteUp and VoteDown buttons
- JS file work only in index page
- dynamic dependent select dropdown
- Limit 1 global comment per minute
- Create Page To Count Comments For Each Post In WordPress Site
- wp-comments-post.php file returns a blank page
- php function to display commenter username or login
- Alter required message using comment form api
- Noscript not working as it should in wordpress site
- Tell WP register script to load a script only when the entire page is loaded
- Send a mail to specific address in a custom field when a new comment is made on a specific post
- Why i can’t get custom fields value or post ID via Ajax?
- Fetching Initials of the Commentator in the WordPress Website
- How to reference PHP in Javascript
- Time Delay a URL Redirect for Specific Page
- WordPress User Meta value variable into Google Gauge Chart
- comment_post (if comment is approved OR $comment_approved === 1) not working?
- Cannot find the php_ini configuration file to find my error log to see why my code is not working
- Adding HTML Code to Replace Text in PHP
- Show all people who commented on all posts by an author
- Gutenberg block don’t save rich text content
- Trying to add some custom text into WordPress Post title via function.php
- Update $wpdb query with AJAX
- Using Javascript On Page – Header and Footer Now Missing
- Adding extra data to shortcode attributes and pass it to JS with wp_localize_script
- How do I make comment-reply-button with that takes to comment reply form on click
- custom post type column countdown
- How to call a function from functions.php with ajax?
- Custom Post type Ajax search results
- WordPress load javascript file if something… (after the page is loaded)
- Automatically refresh page if widget is added to page?
- wordpress all post filter by year
- Find the method which AJAX GET calls
- Display text of price (minus 20%) on every product page in a sentence.
- Help with my first Metabox helper class
- How to get the rating value of each comment
- how can I make content from a plugin hidden when user is logged in? [duplicate]
- How to hide .js files on wordpress website using php or wp plugins or any? [closed]
- Show Login Errors In WordPress/Elementor (Code “works”, but breaks site)
- hiddenQuestions.find is not a function
- Calling a function via a shortcode in javascript
- I got this error POST https://localhost/meraboilerwp/[object%20Object] 404 (Not Found)
- Hide or Show Read More Button by Content Area
- Removing Default Gutenberg Blocks, But Keeping Reusable Block Functionality?
- How to override an unpluggable parent theme function?
- Can i check if user is doing any ajax request?
- WordPress customizer: load controls in a custom div
- How to Populate the list of custom post type categories
- Problem with ACF shortcode with Repeater Field in WordPress? [closed]
- Removing unneccessary p-tags (Not every p)
- Adding custom directory and PHP files in wordpress
- Unique icons next to each WordPress menu item
- WordPress Options Page Theory Question
- How to use the checked() function to check for a non-empty var
- How can I get my Media Uploader Button to function on 1 click rather than requiring 2 clicks?
- How to get comment_ID by post_ID in wordpress
- Pagination Not Working (pages duplicating content)
- How are these PHP functions applied to a specific page in WordPress?
- using shortcodes inside gravity forms
- Reliable way to add nonce to HTTP Header in WordPress?
- Trying to update Woocommerce meta values
- ssl redirect function is not working
- Hide specific shipping methode depending on day and time of day
- Add element after navigation element title don’t works like I expect
- How to delete specific element when it is not homepage?
- Full search and replace isn’t enough to make all pictures to be loaded with https
- How can I display a query in a page?
- Conditional Content Display
- Password form redirection to belonging post
- Whats wrong with my code? Need To add String to shortcode? [closed]
- Strip and print only the numbers found in current’s post excerpt (even if they are without space)
- Hide ID for WordPress User Role Subscriber
- Processing data and redirecting with query string