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 | includes/admin/pages/dashboard.php +68 -44 7.9.8 → 8.0.5 View file →
@@ -106,66 +106,76 @@
106 106 <?php // Assets ?>
107 107 <?php gamipress_dashboard_assets_section(); ?>
108 108
109 109 <?php // Documentation ?>
110 - <h1><?php echo esc_html_e( 'Documentation', 'gamipress' ); ?></h1>
110 + <div class="gamipress-dashboard-docs-section">
111 111
112 - <div id="postbox-container-1" class="postbox-container">
113 - <div id="normal-sortables" class="meta-box-sortables ui-sortable">
112 + <h1><?php echo esc_html_e( 'Documentation', 'gamipress' ); ?></h1>
114 113
115 - <?php // Getting Started ?>
116 - <?php gamipress_dashboard_box( array(
117 - 'id' => 'getting-started',
118 - 'title' => __( 'Getting Started', 'gamipress' ),
119 - 'content_cb' => 'gamipress_dashboard_getting_started_docs_box',
120 - ) ); ?>
114 + <div id="postbox-container-1" class="postbox-container">
115 + <div id="normal-sortables" class="meta-box-sortables ui-sortable">
121 116
117 + <?php // Getting Started ?>
118 + <?php gamipress_dashboard_box( array(
119 + 'id' => 'getting-started',
120 + 'title' => __( 'Getting Started', 'gamipress' ),
121 + 'content_cb' => 'gamipress_dashboard_getting_started_docs_box',
122 + ) ); ?>
123 +
124 + </div>
122 125 </div>
123 - </div>
124 126
125 - <div id="postbox-container-2" class="postbox-container">
126 - <div id="normal-sortables" class="meta-box-sortables ui-sortable">
127 + <div id="postbox-container-2" class="postbox-container">
128 + <div id="normal-sortables" class="meta-box-sortables ui-sortable">
127 129
128 - <?php // Tutorials ?>
129 - <?php gamipress_dashboard_box( array(
130 - 'id' => 'tutorials-docs',
131 - 'title' => __( 'Tutorials', 'gamipress' ),
132 - 'content_cb' => 'gamipress_dashboard_tutorials_docs_box',
133 - ) ); ?>
130 + <?php // Features ?>
131 + <?php gamipress_dashboard_box( array(
132 + 'id' => 'features-docs',
133 + 'title' => __( 'Features', 'gamipress' ),
134 + 'content_cb' => 'gamipress_dashboard_features_docs_box',
135 + ) ); ?>
134 136
135 - <?php // Advanced ?>
136 - <?php gamipress_dashboard_box( array(
137 - 'id' => 'advanced-docs',
138 - 'title' => __( 'Advanced', 'gamipress' ),
139 - 'content_cb' => 'gamipress_dashboard_advanced_docs_box',
140 - ) ); ?>
137 + <?php // Tutorials ?>
138 + <?php gamipress_dashboard_box( array(
139 + 'id' => 'tutorials-docs',
140 + 'title' => __( 'Tutorials', 'gamipress' ),
141 + 'content_cb' => 'gamipress_dashboard_tutorials_docs_box',
142 + ) ); ?>
141 143
144 + </div>
142 145 </div>
143 - </div>
144 146
145 - <div id="postbox-container-3" class="postbox-container">
146 - <div id="normal-sortables" class="meta-box-sortables ui-sortable">
147 + <div id="postbox-container-3" class="postbox-container">
148 + <div id="normal-sortables" class="meta-box-sortables ui-sortable">
147 149
148 - <?php // Blocks ?>
149 - <?php gamipress_dashboard_box( array(
150 - 'id' => 'blocks',
151 - 'title' => __( 'Blocks, Shortcodes and Widgets', 'gamipress' ),
152 - 'content_cb' => 'gamipress_dashboard_blocks_box',
153 - ) ); ?>
150 + <?php // Blocks ?>
151 + <?php gamipress_dashboard_box( array(
152 + 'id' => 'blocks',
153 + 'title' => __( 'Blocks, Shortcodes and Widgets', 'gamipress' ),
154 + 'content_cb' => 'gamipress_dashboard_blocks_box',
155 + ) ); ?>
154 156
157 + </div>
155 158 </div>
156 - </div>
157 159
158 - <div id="postbox-container-4" class="postbox-container">
159 - <div id="normal-sortables" class="meta-box-sortables ui-sortable">
160 + <div id="postbox-container-4" class="postbox-container">
161 + <div id="normal-sortables" class="meta-box-sortables ui-sortable">
160 162
161 - <?php // Support ?>
162 - <?php gamipress_dashboard_box( array(
163 - 'id' => 'support',
164 - 'title' => __( 'Support', 'gamipress' ),
165 - 'content_cb' => 'gamipress_dashboard_support_box',
166 - ) ); ?>
163 + <?php // Support ?>
164 + <?php gamipress_dashboard_box( array(
165 + 'id' => 'support',
166 + 'title' => __( 'Support', 'gamipress' ),
167 + 'content_cb' => 'gamipress_dashboard_support_box',
168 + ) ); ?>
167 169
170 + <?php // Advanced ?>
171 + <?php gamipress_dashboard_box( array(
172 + 'id' => 'advanced-docs',
173 + 'title' => __( 'Advanced', 'gamipress' ),
174 + 'content_cb' => 'gamipress_dashboard_advanced_docs_box',
175 + ) ); ?>
176 +
177 + </div>
168 178 </div>
169 179 </div>
170 180
171 181 <?php // About ?>
@@ -747,14 +757,28 @@
747 757 <li><a href="https://gamipress.com/docs/getting-started/rank-requirements/" target="_blank"><?php esc_html_e( 'Rank Requirements', 'gamipress' ); ?></a></li><li><a href="https://gamipress.com/docs/getting-started/manually-set-user-rank/" target="_blank"><?php esc_html_e( 'Manually set user rank', 'gamipress' ); ?></a></li>
748 758 <hr>
749 759 <li><a href="https://gamipress.com/docs/getting-started/requirements-ui/" target="_blank"><?php esc_html_e( 'Requirements UI', 'gamipress' ); ?></a></li>
750 760 <li><a href="https://gamipress.com/docs/getting-started/events/" target="_blank"><?php esc_html_e( 'Events', 'gamipress' ); ?></a></li>
751 - <li><a href="https://gamipress.com/docs/getting-started/badge-builder/" target="_blank"><?php esc_html_e( 'Badge Builder', 'gamipress' ); ?></a></li>
752 761 </ul>
753 762 <?php
754 763 }
755 764
756 765 /**
766 + * Dashboard features docs box
767 + *
768 + * @since 2.0.0
769 + */
770 +function gamipress_dashboard_features_docs_box() {
771 + ?>
772 + <ul>
773 + <li><a href="https://gamipress.com/docs/features/ai-assistant/" target="_blank"><?php esc_html_e( 'AI Assistant', 'gamipress' ); ?></a></li>
774 + <li><a href="https://gamipress.com/docs/features/badge-builder/" target="_blank"><?php esc_html_e( 'Badge Builder', 'gamipress' ); ?></a></li>
775 + <li><a href="https://gamipress.com/docs/features/credentials/" target="_blank"><?php esc_html_e( 'Credentials', 'gamipress' ); ?></a></li>
776 + </ul>
777 + <?php
778 +}
779 +
780 +/**
757 781 * Dashboard tutorials docs box
758 782 *
759 783 * @since 2.0.0
760 784 */
@@ -822,9 +846,9 @@
822 846 'rank' => __( 'Single Rank', 'gamipress' ),
823 847 'ranks' => __( 'Ranks', 'gamipress' ),
824 848 'user_rank' => __( 'User Rank', 'gamipress' ),
825 849 'inline_achievement' => __( 'Inline Achievement', 'gamipress' ),
826 - 'inline_last_achievements_earned' => __( 'Inline Last Achievements Earned', 'gamipress' ),
850 + 'inline_last_achievements_earned' => __( 'Inline Last Achievs. Earned', 'gamipress' ),
827 851 'inline_rank' => __( 'Inline Rank', 'gamipress' ),
828 852 'inline_user_rank' => __( 'Inline User Rank', 'gamipress' ),
829 853 'logs' => __( 'Logs', 'gamipress' ),
830 854 'user_earnings' => __( 'User Earnings', 'gamipress' ),