Compare commits

...

2 Commits

Author SHA1 Message Date
89b7b5e2cb probably fixed the form. Again... 2026-03-15 10:18:51 +01:00
4e433e156b Added email field to comment 2026-03-14 22:19:21 +01:00
4 changed files with 16 additions and 15 deletions

View File

@@ -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.11
* 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.11' );
function activate_partnerexpo_core() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-partnerexpo-core-activator.php';

Binary file not shown.

View File

@@ -114,7 +114,6 @@
box-shadow: #00000020 0px 5px 20px 0;
border-radius: 15px;
padding: 20px;
height: fit-content;
margin-top: 50px;
& .pexpo-core-com-form-title {

View File

@@ -68,25 +68,27 @@
<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>
</div>
<div><input type="hidden" name="comment_parent" id="comment_parent" value="0"></div></div>
<div class="pexpo-core-submit-wrapper">
<button type="submit" name="submit" id="submit" class="submit"><?php _e( 'Küldés', 'partnerexpo-core' ); ?></button>
</div>