PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.5
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.5
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
learnpress / inc / admin / views / setup / steps / pages.php

pages.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.5, at inc/admin/views/setup/steps/pages.php

83 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template for displaying setup form of static pages while setting up LP
4 *
5 * @author ThimPress
6 * @package LearnPress/Admin/Views
7 * @version 3.0.1
8 */
9
10 defined( 'ABSPATH' ) or exit;
11
12 ?>
13 <h2><?php _e( 'Static Pages', 'learnpress' ); ?></h2>
14
15 <p><?php _e( 'The pages will display the content of LP\'s necessary pages, such as Courses, Checkout, and Profile.', 'learnpress' ); ?></p>
16
17 <table class="form-field">
18 <tr>
19 <th>
20 <?php _e( 'All courses page', 'learnpress' ); ?>
21 </th>
22 <td>
23 <?php learn_press_pages_dropdown( 'learn_press_courses_page_id', learn_press_get_page_id( 'courses' ) ); ?>
24 </td>
25 </tr>
26 <tr>
27 <th>
28 <?php _e( 'All instructors page', 'learnpress' ); ?>
29 </th>
30 <td>
31 <?php learn_press_pages_dropdown( 'learn_press_instructors_page_id', learn_press_get_page_id( 'instructors' ) ); ?>
32 </td>
33 </tr>
34 <tr>
35 <th>
36 <?php _e( 'Single instructor page', 'learnpress' ); ?>
37 </th>
38 <td>
39 <?php learn_press_pages_dropdown( 'learn_press_single_instructor_page_id', learn_press_get_page_id( 'single_instructor' ) ); ?>
40 </td>
41 </tr>
42 <tr>
43 <th>
44 <?php _e( 'Profile page', 'learnpress' ); ?>
45 </th>
46 <td>
47 <?php learn_press_pages_dropdown( 'learn_press_profile_page_id', learn_press_get_page_id( 'profile' ) ); ?>
48 </td>
49 </tr>
50 <tr>
51 <th>
52 <?php _e( 'Checkout page', 'learnpress' ); ?>
53 </th>
54 <td>
55 <?php learn_press_pages_dropdown( 'learn_press_checkout_page_id', learn_press_get_page_id( 'checkout' ) ); ?>
56 </td>
57 </tr>
58 <tr>
59 <th>
60 <?php _e( 'Become an instructors page', 'learnpress' ); ?>
61 </th>
62 <td>
63 <?php learn_press_pages_dropdown( 'learn_press_become_a_teacher_page_id', learn_press_get_page_id( 'become_a_teacher' ) ); ?>
64 </td>
65 </tr>
66 <tr>
67 <th>
68 <?php _e( 'Terms and conditions page', 'learnpress' ); ?>
69 </th>
70 <td>
71 <?php learn_press_pages_dropdown( 'learn_press_term_conditions_page_id', learn_press_get_page_id( 'term_conditions' ) ); ?>
72 </td>
73 </tr>
74 <tr>
75 <th>
76 <?php _e( 'Logout Redirect', 'learnpress' ); ?>
77 </th>
78 <td>
79 <?php learn_press_pages_dropdown( 'learn_press_logout_redirect_page_id', learn_press_get_page_id( 'logout_redirect' ) ); ?>
80 </td>
81 </tr>
82 </table>
83