PluginProbe
GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI / 8.0.5
GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI v8.0.5
8.0.5 8.0.4 8.0.3 8.0.1 8.0.2 8.0.0 7.9.9.7 7.9.9.6 7.9.9.5 7.9.9.4 7.9.9.3 7.9.9.2 7.9.9.1 7.9.9 7.9.8 7.9.7 7.9.6 7.9.5 7.9.4 7.9.3 7.9.2 7.9.1 7.9.0 7.8.9 7.8.8 All 47 releases
← All changes | templates/emails/footer-default.php +60 -0 7.9.2 → 8.0.5 View file →
@@ -1,0 +1,60 @@
1 +<?php
2 +/**
3 + * Default Email Template: Footer
4 + *
5 + * This template can be overridden by copying it to yourtheme/gamipress/emails/footer-default.php
6 + */
7 +
8 +if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
9 +
10 +$content = gamipress_get_email_footer_content();
11 +
12 +// For gmail compatibility, including CSS styles in head/body are stripped out therefore styles need to be inline. These variables contain rules which are added to the template inline.
13 +$template_footer = "
14 + border-top:0;
15 +";
16 +
17 +$credit = "
18 + border:0;
19 + color: #000000;
20 + font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
21 + font-size:12px;
22 + line-height:125%;
23 + text-align:center;
24 +";
25 +?>
26 + </div>
27 + </td>
28 + </tr>
29 + </table>
30 + <!-- End Content -->
31 + </td>
32 + </tr>
33 + </table>
34 + <!-- End Body -->
35 + </td>
36 + </tr>
37 + </table>
38 + <!-- Footer -->
39 + <table border="0" cellpadding="10" cellspacing="0" width="520" id="template_footer" style="<?php echo $template_footer; ?>">
40 + <tr>
41 + <td valign="top">
42 + <table border="0" cellpadding="10" cellspacing="0" width="100%">
43 + <tr>
44 + <td colspan="2" valign="middle" id="credit" style="<?php echo $credit; ?>">
45 + <?php echo wpautop( wp_kses_post( wptexturize(
46 + apply_filters( 'gamipress_email_footer_text', $content, sprintf( __( '%s - Powered by GamiPress', 'gamipress' ), '<a href="' . esc_url( home_url() ) . '">' . get_bloginfo( 'name' ) . '</a>' ) )
47 + ) ) ); ?>
48 + </td>
49 + </tr>
50 + </table>
51 + </td>
52 + </tr>
53 + </table>
54 + <!-- End Footer -->
55 + </td>
56 + </tr>
57 + </table>
58 + </div>
59 + </body>
60 +</html>