-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
executable file
·60 lines (50 loc) · 1.37 KB
/
footer.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package eden
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="module-newsletter clearfix" id="block-newsletter">
<?php
$argsFr = array(
'prepend' => '<h1>Newsletter</h1><p>Recevez nos actualités !</p>',
'showname' => false,
'nametxt' => 'Name:',
'nameholder' => 'Name...',
'emailtxt' => 'Email : ',
'emailholder' => '',
'showsubmit' => true,
'submittxt' => 'ENVOYER',
'jsthanks' => false,
'thankyou' => 'Nous vous remercions de votre souscription à nôtre newsletter !'
);
$argsEn = array(
'prepend' => '<h1>Newsletter</h1><p>Receive our notifications!</p>',
'showname' => false,
'nametxt' => 'Name:',
'nameholder' => 'Name...',
'emailtxt' => 'Email : ',
'emailholder' => '',
'showsubmit' => true,
'submittxt' => 'SUBMIT',
'jsthanks' => false,
'thankyou' => 'Thank you for subscribing to our mailing list !'
);
if ( ICL_LANGUAGE_CODE == 'fr' ) {
echo smlsubform($argsFr);
} else {
echo smlsubform($argsEn);
}
// echo smlsubform($argsFr);
?>
</div>
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>