Inquery Form Inputs
-
Best regard
I have a question if I want to add more fields, it is that I need to add phone, city and country and it is working as you would?
<?php if ( ! empty( $name ) ) : ?>
<?php echo __( ‘Name’, ‘realia’ ); ?>: <?php echo esc_attr( $name ); ?>
<?php endif; ?><?php if ( ! empty( $email ) ) : ?>
<?php echo __( ‘E-mail’, ‘realia’ ); ?>: <?php echo esc_attr( $email ); ?>
<?php endif; ?><?php $permalink = get_permalink( $post->ID ); ?>
<?php if ( ! empty( $permalink ) ) : ?>
<?php echo __( ‘URL’, ‘realia’ ); ?>: <?php echo esc_attr( $permalink ); ?>
<?php endif; ?><?php if ( ! empty( $_POST[‘message’] ) ) : ?>
<?php echo esc_html( $_POST[‘message’] ); ?>
<?php endif; ?>
The topic ‘Inquery Form Inputs’ is closed to new replies.