-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar.php
24 lines (23 loc) · 857 Bytes
/
sidebar.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
* The template for the sidebar containing the main widget area
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
?>
<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
<aside id="secondary" class="sidebar widget-area" role="complementary">
<section id="messagerie" class="widget">
<h4>Vous avez une question ? Par içi.</h4>
<textarea rows='10' id="message-zone" readonly></textarea>
<form method="post" id="sendMessage" class="search-form" action="">
<textarea name="messageContent" id='messageContent' placeholder="Composez votre message"></textarea>
<input type="hidden" id="userName" name="userName" value="userTest">
<input type="submit" value="envoyer">
</form>
</section>
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside><!-- .sidebar .widget-area -->
<?php endif; ?>