Added email field to comment
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
* Plugin Name: PartnerExpo Core
|
||||
* Plugin URI: https://partnerexpo.eu
|
||||
* Description: A PartnerEXPO oldal belső pluginja
|
||||
* Version: 1.1.9
|
||||
* Version: 1.1.10
|
||||
* Author: Juhász Levente
|
||||
* Author URI: https://github.com/Duskell/
|
||||
* License: GPL-2.0+
|
||||
@@ -23,7 +23,7 @@ if ( ! defined( 'WPINC' ) ) {
|
||||
die;
|
||||
}
|
||||
|
||||
define( 'PARTNEREXPO_CORE_VERSION', '1.1.9' );
|
||||
define( 'PARTNEREXPO_CORE_VERSION', '1.1.10' );
|
||||
|
||||
function activate_partnerexpo_core() {
|
||||
require_once plugin_dir_path( __FILE__ ) . 'includes/class-partnerexpo-core-activator.php';
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
box-shadow: #00000020 0px 5px 20px 0;
|
||||
border-radius: 15px;
|
||||
padding: 20px;
|
||||
height: fit-content;
|
||||
height: 550px;
|
||||
margin-top: 50px;
|
||||
|
||||
& .pexpo-core-com-form-title {
|
||||
|
||||
@@ -68,21 +68,25 @@
|
||||
<form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="pexpo-custom-comment-form">
|
||||
<div class="pexpo-core-com-form-wrapper">
|
||||
<h2 class="pexpo-core-com-form-title"><?php echo esc_html_x( 'Visszajelzés küldése', 'partnerexpo_core' ); ?></h2>
|
||||
<div class="pexpo-core-com-field">
|
||||
<p class="pexpo-core-com-field">
|
||||
<label for="author"><?php echo esc_html_x( 'Kitöltő neve', 'partnerexpo_core' ); ?></label><br />
|
||||
<input type="text" id="author" name="author" aria-required="true" required>
|
||||
</div>
|
||||
</p>
|
||||
|
||||
<div class="pexpo-core-com-field">
|
||||
<p class="pexpo-core-com-field">
|
||||
<label for="email"><?php echo esc_html_x( 'Email cím', 'partnerexpo_core' ); ?></label><br />
|
||||
<input type="email" id="email" name="email" aria-required="true" required>
|
||||
</p>
|
||||
|
||||
<p class="pexpo-core-com-field">
|
||||
<label for="company"><?php echo esc_html_x( 'Cég név', 'partnerexpo_core' ); ?></label><br />
|
||||
<input type="text" id="company" name="company" aria-required="true" required>
|
||||
</div>
|
||||
</p>
|
||||
|
||||
<div class="pexpo-core-com-field">
|
||||
<p class="pexpo-core-com-field">
|
||||
<label for="comment"><?php echo esc_html_x( 'Hozzászólás / Visszajelzés', 'partnerexpo_core' ); ?></label><br />
|
||||
<textarea id="comment" name="comment" aria-required="true" maxlength="600" required></textarea>
|
||||
</div>
|
||||
|
||||
</p>
|
||||
<div><input type="hidden" name="comment_post_ID" value="<?php echo esc_attr( $post_id ); ?>" id="comment_post_ID"></div>
|
||||
<div><input type="hidden" name="comment_parent" id="comment_parent" value="0"></div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user