PluginProbe
GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI / 7.9.8
GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI v7.9.8
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 7.8.7 All 46 releases
gamipress / templates / old / logs.php

logs.php in GamiPress – Gamification plugin to reward points, badges & ranks in WordPress, now with AI 7.9.8, at templates/old/logs.php

61 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Old logs template
4 *
5 * Template file for backward compatibility for GamiPress installs without upgrade 1.2.8
6 *
7 * This template can be overridden by copying it to yourtheme/gamipress/logs-old.php
8 */
9 global $gamipress_template_args;
10
11 // Shorthand
12 $a = $gamipress_template_args;
13
14 ?>
15
16 <div class="gamipress-logs">
17
18 <?php
19 /**
20 * Before render logs list
21 *
22 * @param $template_args array Template received arguments
23 */
24 do_action( 'gamipress_before_render_logs_list', $a ); ?>
25
26 <?php while( $a['query']->have_posts() ) :
27 $a['query']->the_post(); ?>
28
29 <?php
30 /**
31 * Before render log
32 *
33 * @param $log_id integer The Log ID
34 * @param $template_args array Template received arguments
35 */
36 do_action( 'gamipress_before_render_log', get_the_ID(), $a ); ?>
37
38 <div id="gamipress-log-<?php the_ID(); ?>" class="gamipress-log"><?php the_title(); ?></div>
39
40 <?php
41 /**
42 * After render log
43 *
44 * @param $log_id integer The Log ID
45 * @param $template_args array Template received arguments
46 */
47 do_action( 'gamipress_after_render_log', get_the_ID(), $a ); ?>
48
49 <?php endwhile;
50 wp_reset_postdata();?>
51
52 <?php
53 /**
54 * After render logs list
55 *
56 * @param $template_args array Template received arguments
57 */
58 do_action( 'gamipress_after_render_logs_list', $a ); ?>
59
60 </div>
61