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
- Display message once per session to users with a specific role
- How to correct schedule my event weekly with wp_schedule_event()
- How to combine wordpress_logged_in cookies in one cookie?
- Two Different Links for Same Product – WooCommerce [closed]
- Sending data from custom inputs in WordPress comment form in the admin notification email
- Setting value of session with Ajax not working
- Modify custom field input data before creating a new post
- Get my site session in wordpress?
- is_user_logged_in() not working in AJAX validation call
- Does anyone know all parameters of get_comments()
- Add product to cart for user – WC()->cart->add_to_cart [closed]
- How to create a field in customize and show that in header.php?
- PHP Output also in Child theme, but different
- Cascading dropdown select search based on Parent Page & Child Page
- WordPress cascading dropdown selection search based on Parent Page & Child Page
- Need help for some PHP code
- Settings API form – submit with AJAX
- Problem with displaying CSS Stylesheets – Am I adding them correctly in my wordpress child theme?
- register_block_type is not working properly
- Ajax search box displays nothing if taxonomy doesn’t exist
- Store data from JavaScript object to custom table in user account
- cURL needing to loop through all “next_page”
- Javascript Tab Gallery with Advanced Custom Fields
- How can I get my pagination loop to display the correct number of total pages?
- Get posts by id using shortcode
- Generate a radius search of custom post type locations
- custom field – changing an element or background of id div – different versions not working
- Is there a reason why my wordpress PHP page isn’t loading into my PHP template
- Show post/page into div using function
- WordPress – registering sidebar and adding a button directly after .textwidget
- WordPress adding in site URL to header links
- I am trying to replace a string with other from function.php
- WooCommerce – Show ‘Sales’ badge on variable products where only some variations have sales price [closed]