@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | */ |
| 16 | 16 | |
| 17 | 17 | if ( ! defined( 'ABSPATH' ) ) { |
| 18 | - die( '-1' ); |
|
| 18 | + die( '-1' ); |
|
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | $posts = tribe_get_related_posts(); |
@@ -34,10 +34,10 @@ discard block |
||
| 34 | 34 | <div class="tribe-related-event-info"> |
| 35 | 35 | <h3 class="tribe-related-events-title"><a href="<?php echo esc_url( tribe_get_event_link( $post ) ); ?>" class="tribe-event-url" rel="bookmark"><?php echo get_the_title( $post->ID ); ?></a></h3> |
| 36 | 36 | <?php |
| 37 | - if ( Tribe__Events__Main::POSTTYPE === $post->post_type ) { |
|
| 38 | - echo wp_kses_post( tribe_events_event_schedule_details( $post ) ); |
|
| 39 | - } |
|
| 40 | - ?> |
|
| 37 | + if ( Tribe__Events__Main::POSTTYPE === $post->post_type ) { |
|
| 38 | + echo wp_kses_post( tribe_events_event_schedule_details( $post ) ); |
|
| 39 | + } |
|
| 40 | + ?> |
|
| 41 | 41 | <a href="<?php echo esc_url( tribe_get_event_link( $post ) ); ?>" class="moretag"><?php esc_html_e( 'View event', 'lsx' ); ?></a> |
| 42 | 42 | </div> |
| 43 | 43 | </li> |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | if ( ! defined( 'ABSPATH' ) ) { |
| 13 | - die( '-1' ); |
|
| 13 | + die( '-1' ); |
|
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | $venue_details = tribe_get_venue_details(); |
@@ -57,9 +57,9 @@ discard block |
||
| 57 | 57 | <?php esc_html_e( 'Price:', 'lsx' ); ?> |
| 58 | 58 | <span class="ticket-cost"><?php echo tribe_get_cost( null, true ); ?></span> |
| 59 | 59 | <?php |
| 60 | - /** This action is documented in the-events-calendar/src/views/list/single-event.php */ |
|
| 61 | - do_action( 'tribe_events_inside_cost' ) |
|
| 62 | - ?> |
|
| 60 | + /** This action is documented in the-events-calendar/src/views/list/single-event.php */ |
|
| 61 | + do_action( 'tribe_events_inside_cost' ) |
|
| 62 | + ?> |
|
| 63 | 63 | </div> |
| 64 | 64 | <?php endif; ?> |
| 65 | 65 | |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | if ( ! defined( 'ABSPATH' ) ) { |
| 13 | - die( '-1' ); |
|
| 13 | + die( '-1' ); |
|
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | $venue_details = tribe_get_venue_details(); |
@@ -50,11 +50,11 @@ discard block |
||
| 50 | 50 | <!-- Venue Display Info --> |
| 51 | 51 | <div class="tribe-events-venue-details"> |
| 52 | 52 | <?php |
| 53 | - $address_delimiter = empty( $venue_address ) ? ' ' : ', '; |
|
| 53 | + $address_delimiter = empty( $venue_address ) ? ' ' : ', '; |
|
| 54 | 54 | |
| 55 | - // These details are already escaped in various ways earlier in the code. |
|
| 56 | - echo implode( $address_delimiter, $venue_details ); |
|
| 57 | - ?> |
|
| 55 | + // These details are already escaped in various ways earlier in the code. |
|
| 56 | + echo implode( $address_delimiter, $venue_details ); |
|
| 57 | + ?> |
|
| 58 | 58 | </div> <!-- .tribe-events-venue-details --> |
| 59 | 59 | <?php endif; ?> |
| 60 | 60 | |
@@ -65,9 +65,9 @@ discard block |
||
| 65 | 65 | <?php esc_html_e( 'Price:', 'lsx' ); ?> |
| 66 | 66 | <span class="ticket-cost"><?php echo tribe_get_cost( null, true ); ?></span> |
| 67 | 67 | <?php |
| 68 | - /** This action is documented in the-events-calendar/src/views/list/single-event.php */ |
|
| 69 | - do_action( 'tribe_events_inside_cost' ) |
|
| 70 | - ?> |
|
| 68 | + /** This action is documented in the-events-calendar/src/views/list/single-event.php */ |
|
| 69 | + do_action( 'tribe_events_inside_cost' ) |
|
| 70 | + ?> |
|
| 71 | 71 | </div> |
| 72 | 72 | <?php endif; ?> |
| 73 | 73 | |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | if ( ! defined( 'ABSPATH' ) ) { |
| 13 | - die( '-1' ); |
|
| 13 | + die( '-1' ); |
|
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | // Setup an array of venue details for use later in the template. |
@@ -53,10 +53,10 @@ discard block |
||
| 53 | 53 | <div class="tribe-events-venue-details"> |
| 54 | 54 | <?php echo wp_kses_post( implode( ', ', $venue_details ) ); ?> |
| 55 | 55 | <?php |
| 56 | - if ( tribe_show_google_map_link() ) { |
|
| 57 | - echo wp_kses_post( tribe_get_map_link_html() ); |
|
| 58 | - } |
|
| 59 | - ?> |
|
| 56 | + if ( tribe_show_google_map_link() ) { |
|
| 57 | + echo wp_kses_post( tribe_get_map_link_html() ); |
|
| 58 | + } |
|
| 59 | + ?> |
|
| 60 | 60 | </div> <!-- .tribe-events-venue-details --> |
| 61 | 61 | <?php endif; ?> |
| 62 | 62 | |
@@ -70,9 +70,9 @@ discard block |
||
| 70 | 70 | <?php esc_html_e( 'Price:', 'lsx' ); ?> |
| 71 | 71 | <span class="ticket-cost"><?php echo esc_html( tribe_get_cost( null, true ) ); ?></span> |
| 72 | 72 | <?php |
| 73 | - /** This action is documented in the-events-calendar/src/views/list/single-event.php */ |
|
| 74 | - do_action( 'tribe_events_inside_cost' ) |
|
| 75 | - ?> |
|
| 73 | + /** This action is documented in the-events-calendar/src/views/list/single-event.php */ |
|
| 74 | + do_action( 'tribe_events_inside_cost' ) |
|
| 75 | + ?> |
|
| 76 | 76 | </div> |
| 77 | 77 | <?php endif; ?> |
| 78 | 78 | |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | if ( ! defined( 'ABSPATH' ) ) { |
| 13 | - die( '-1' ); |
|
| 13 | + die( '-1' ); |
|
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | // Setup an array of venue details for use later in the template. |
@@ -54,15 +54,15 @@ discard block |
||
| 54 | 54 | <!-- Venue Display Info --> |
| 55 | 55 | <div class="tribe-events-venue-details"> |
| 56 | 56 | <?php |
| 57 | - $address_delimiter = empty( $venue_address ) ? ' ' : ', '; |
|
| 57 | + $address_delimiter = empty( $venue_address ) ? ' ' : ', '; |
|
| 58 | 58 | |
| 59 | - // These details are already escaped in various ways earlier in the process. |
|
| 60 | - echo implode( $address_delimiter, $venue_details ); |
|
| 59 | + // These details are already escaped in various ways earlier in the process. |
|
| 60 | + echo implode( $address_delimiter, $venue_details ); |
|
| 61 | 61 | |
| 62 | - if ( tribe_show_google_map_link() ) { |
|
| 63 | - echo wp_kses_post( tribe_get_map_link_html() ); |
|
| 64 | - } |
|
| 65 | - ?> |
|
| 62 | + if ( tribe_show_google_map_link() ) { |
|
| 63 | + echo wp_kses_post( tribe_get_map_link_html() ); |
|
| 64 | + } |
|
| 65 | + ?> |
|
| 66 | 66 | </div> <!-- .tribe-events-venue-details --> |
| 67 | 67 | <?php endif; ?> |
| 68 | 68 | |
@@ -75,13 +75,13 @@ discard block |
||
| 75 | 75 | <?php esc_html_e( 'Price:', 'lsx' ); ?> |
| 76 | 76 | <span class="ticket-cost"><?php echo tribe_get_cost( null, true ); ?></span> |
| 77 | 77 | <?php |
| 78 | - /** |
|
| 79 | - * Runs after cost is displayed in list style views |
|
| 80 | - * |
|
| 81 | - * @since 4.5 |
|
| 82 | - */ |
|
| 83 | - do_action( 'tribe_events_inside_cost' ) |
|
| 84 | - ?> |
|
| 78 | + /** |
|
| 79 | + * Runs after cost is displayed in list style views |
|
| 80 | + * |
|
| 81 | + * @since 4.5 |
|
| 82 | + */ |
|
| 83 | + do_action( 'tribe_events_inside_cost' ) |
|
| 84 | + ?> |
|
| 85 | 85 | </div> |
| 86 | 86 | <?php endif; ?> |
| 87 | 87 | |
@@ -7,21 +7,21 @@ discard block |
||
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | if ( ! defined( 'ABSPATH' ) ) { |
| 10 | - exit; |
|
| 10 | + exit; |
|
| 11 | 11 | } |
| 12 | 12 | |
| 13 | 13 | if ( ! function_exists( 'lsx_activation_admin_notice_dismiss' ) ) : |
| 14 | 14 | |
| 15 | - /** |
|
| 16 | - * Dismiss the admin notice (successful activation). |
|
| 17 | - * |
|
| 18 | - * @package lsx |
|
| 19 | - * @subpackage welcome-page |
|
| 20 | - */ |
|
| 21 | - function lsx_activation_admin_notice_dismiss() { |
|
| 22 | - update_option( 'lsx-notice-dismissed', '1' ); |
|
| 23 | - wp_die(); |
|
| 24 | - } |
|
| 15 | + /** |
|
| 16 | + * Dismiss the admin notice (successful activation). |
|
| 17 | + * |
|
| 18 | + * @package lsx |
|
| 19 | + * @subpackage welcome-page |
|
| 20 | + */ |
|
| 21 | + function lsx_activation_admin_notice_dismiss() { |
|
| 22 | + update_option( 'lsx-notice-dismissed', '1' ); |
|
| 23 | + wp_die(); |
|
| 24 | + } |
|
| 25 | 25 | |
| 26 | 26 | endif; |
| 27 | 27 | |
@@ -29,17 +29,17 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | if ( ! function_exists( 'lsx_activation_admin_notice' ) ) : |
| 31 | 31 | |
| 32 | - /** |
|
| 33 | - * Adds an admin notice upon successful activation. |
|
| 34 | - * |
|
| 35 | - * @package lsx |
|
| 36 | - * @subpackage welcome-page |
|
| 37 | - */ |
|
| 38 | - function lsx_activation_admin_notice() { |
|
| 39 | - if ( empty( get_option( 'lsx-notice-dismissed' ) ) ) { |
|
| 40 | - add_action( 'admin_notices', 'lsx_welcome_admin_notice', 99 ); |
|
| 41 | - } |
|
| 42 | - } |
|
| 32 | + /** |
|
| 33 | + * Adds an admin notice upon successful activation. |
|
| 34 | + * |
|
| 35 | + * @package lsx |
|
| 36 | + * @subpackage welcome-page |
|
| 37 | + */ |
|
| 38 | + function lsx_activation_admin_notice() { |
|
| 39 | + if ( empty( get_option( 'lsx-notice-dismissed' ) ) ) { |
|
| 40 | + add_action( 'admin_notices', 'lsx_welcome_admin_notice', 99 ); |
|
| 41 | + } |
|
| 42 | + } |
|
| 43 | 43 | |
| 44 | 44 | endif; |
| 45 | 45 | |
@@ -47,49 +47,49 @@ discard block |
||
| 47 | 47 | |
| 48 | 48 | if ( ! function_exists( 'lsx_welcome_admin_notice' ) ) : |
| 49 | 49 | |
| 50 | - /** |
|
| 51 | - * Display an admin notice linking to the welcome screen. |
|
| 52 | - * |
|
| 53 | - * @package lsx |
|
| 54 | - * @subpackage welcome-page |
|
| 55 | - */ |
|
| 56 | - function lsx_welcome_admin_notice() { |
|
| 57 | - ?> |
|
| 50 | + /** |
|
| 51 | + * Display an admin notice linking to the welcome screen. |
|
| 52 | + * |
|
| 53 | + * @package lsx |
|
| 54 | + * @subpackage welcome-page |
|
| 55 | + */ |
|
| 56 | + function lsx_welcome_admin_notice() { |
|
| 57 | + ?> |
|
| 58 | 58 | <div class="lsx-theme-notice notice notice-success is-dismissible"> |
| 59 | 59 | <p> |
| 60 | 60 | <?php |
| 61 | - printf( |
|
| 62 | - /* Translators: 1: HTML open tag link, 2: HTML close tag link */ |
|
| 63 | - esc_html_e( 'Thanks for choosing LSX! You can read hints and tips on how get the most out of your new theme on the %1$swelcome screen%2$s.', 'lsx' ), |
|
| 64 | - '<a href="' . esc_url( admin_url( 'themes.php?page=lsx-welcome' ) ) . '">', |
|
| 65 | - '</a>' |
|
| 66 | - ); |
|
| 67 | - ?> |
|
| 61 | + printf( |
|
| 62 | + /* Translators: 1: HTML open tag link, 2: HTML close tag link */ |
|
| 63 | + esc_html_e( 'Thanks for choosing LSX! You can read hints and tips on how get the most out of your new theme on the %1$swelcome screen%2$s.', 'lsx' ), |
|
| 64 | + '<a href="' . esc_url( admin_url( 'themes.php?page=lsx-welcome' ) ) . '">', |
|
| 65 | + '</a>' |
|
| 66 | + ); |
|
| 67 | + ?> |
|
| 68 | 68 | </p> |
| 69 | 69 | <p><a href="<?php echo esc_url( admin_url( 'themes.php?page=lsx-welcome' ) ); ?>" class="button" style="text-decoration: none;"><?php esc_html_e( 'Get started with LSX', 'lsx' ); ?></a></p> |
| 70 | 70 | </div> |
| 71 | 71 | <?php |
| 72 | - } |
|
| 72 | + } |
|
| 73 | 73 | |
| 74 | 74 | endif; |
| 75 | 75 | |
| 76 | 76 | if ( ! function_exists( 'lsx_welcome_style' ) ) : |
| 77 | 77 | |
| 78 | - /** |
|
| 79 | - * Load welcome screen css. |
|
| 80 | - * |
|
| 81 | - * @package lsx |
|
| 82 | - * @subpackage welcome-page |
|
| 83 | - * |
|
| 84 | - * @param string $hook_suffix the current page hook suffix. |
|
| 85 | - */ |
|
| 86 | - function lsx_welcome_style( $hook_suffix ) { |
|
| 87 | - if ( 'appearance_page_lsx-welcome' === $hook_suffix ) { |
|
| 88 | - wp_enqueue_style( 'lsx-welcome-screen-mailchimp', '//cdn-images.mailchimp.com/embedcode/classic-10_7.css', array(), LSX_VERSION ); |
|
| 89 | - wp_enqueue_style( 'lsx-welcome-screen', get_template_directory_uri() . '/assets/css/admin/welcome.css', array( 'lsx-welcome-screen-mailchimp' ), LSX_VERSION ); |
|
| 90 | - wp_style_add_data( 'lsx-welcome-screen', 'rtl', 'replace' ); |
|
| 91 | - } |
|
| 92 | - } |
|
| 78 | + /** |
|
| 79 | + * Load welcome screen css. |
|
| 80 | + * |
|
| 81 | + * @package lsx |
|
| 82 | + * @subpackage welcome-page |
|
| 83 | + * |
|
| 84 | + * @param string $hook_suffix the current page hook suffix. |
|
| 85 | + */ |
|
| 86 | + function lsx_welcome_style( $hook_suffix ) { |
|
| 87 | + if ( 'appearance_page_lsx-welcome' === $hook_suffix ) { |
|
| 88 | + wp_enqueue_style( 'lsx-welcome-screen-mailchimp', '//cdn-images.mailchimp.com/embedcode/classic-10_7.css', array(), LSX_VERSION ); |
|
| 89 | + wp_enqueue_style( 'lsx-welcome-screen', get_template_directory_uri() . '/assets/css/admin/welcome.css', array( 'lsx-welcome-screen-mailchimp' ), LSX_VERSION ); |
|
| 90 | + wp_style_add_data( 'lsx-welcome-screen', 'rtl', 'replace' ); |
|
| 91 | + } |
|
| 92 | + } |
|
| 93 | 93 | |
| 94 | 94 | endif; |
| 95 | 95 | |
@@ -97,15 +97,15 @@ discard block |
||
| 97 | 97 | |
| 98 | 98 | if ( ! function_exists( 'lsx_welcome_register_menu' ) ) : |
| 99 | 99 | |
| 100 | - /** |
|
| 101 | - * Creates the dashboard page. |
|
| 102 | - * |
|
| 103 | - * @package lsx |
|
| 104 | - * @subpackage welcome-page |
|
| 105 | - */ |
|
| 106 | - function lsx_welcome_register_menu() { |
|
| 107 | - add_theme_page( 'LSX', 'LSX', 'activate_plugins', 'lsx-welcome', 'lsx_welcome_screen' ); |
|
| 108 | - } |
|
| 100 | + /** |
|
| 101 | + * Creates the dashboard page. |
|
| 102 | + * |
|
| 103 | + * @package lsx |
|
| 104 | + * @subpackage welcome-page |
|
| 105 | + */ |
|
| 106 | + function lsx_welcome_register_menu() { |
|
| 107 | + add_theme_page( 'LSX', 'LSX', 'activate_plugins', 'lsx-welcome', 'lsx_welcome_screen' ); |
|
| 108 | + } |
|
| 109 | 109 | |
| 110 | 110 | endif; |
| 111 | 111 | |
@@ -113,45 +113,45 @@ discard block |
||
| 113 | 113 | |
| 114 | 114 | if ( ! function_exists( 'lsx_welcome_screen' ) ) : |
| 115 | 115 | |
| 116 | - /** |
|
| 117 | - * The welcome screen. |
|
| 118 | - * |
|
| 119 | - * @package lsx |
|
| 120 | - * @subpackage welcome-page |
|
| 121 | - */ |
|
| 122 | - function lsx_welcome_screen() { |
|
| 123 | - require_once ABSPATH . 'wp-load.php'; |
|
| 124 | - require_once ABSPATH . 'wp-admin/admin.php'; |
|
| 125 | - require_once ABSPATH . 'wp-admin/admin-header.php'; |
|
| 126 | - ?> |
|
| 116 | + /** |
|
| 117 | + * The welcome screen. |
|
| 118 | + * |
|
| 119 | + * @package lsx |
|
| 120 | + * @subpackage welcome-page |
|
| 121 | + */ |
|
| 122 | + function lsx_welcome_screen() { |
|
| 123 | + require_once ABSPATH . 'wp-load.php'; |
|
| 124 | + require_once ABSPATH . 'wp-admin/admin.php'; |
|
| 125 | + require_once ABSPATH . 'wp-admin/admin-header.php'; |
|
| 126 | + ?> |
|
| 127 | 127 | <div class="wrap about-wrap"> |
| 128 | 128 | <?php |
| 129 | - /** |
|
| 130 | - * Functions hooked into lsx_welcome action |
|
| 131 | - * |
|
| 132 | - * @hooked lsx_welcome_header - 10 |
|
| 133 | - * @hooked lsx_welcome_enhance - 20 |
|
| 134 | - * @hooked lsx_welcome_footer - 30 |
|
| 135 | - */ |
|
| 136 | - do_action( 'lsx_welcome' ); |
|
| 137 | - ?> |
|
| 129 | + /** |
|
| 130 | + * Functions hooked into lsx_welcome action |
|
| 131 | + * |
|
| 132 | + * @hooked lsx_welcome_header - 10 |
|
| 133 | + * @hooked lsx_welcome_enhance - 20 |
|
| 134 | + * @hooked lsx_welcome_footer - 30 |
|
| 135 | + */ |
|
| 136 | + do_action( 'lsx_welcome' ); |
|
| 137 | + ?> |
|
| 138 | 138 | </div> |
| 139 | 139 | <?php |
| 140 | - } |
|
| 140 | + } |
|
| 141 | 141 | |
| 142 | 142 | endif; |
| 143 | 143 | |
| 144 | 144 | if ( ! function_exists( 'lsx_welcome_header' ) ) : |
| 145 | 145 | |
| 146 | - /** |
|
| 147 | - * Welcome screen intro. |
|
| 148 | - * |
|
| 149 | - * @package lsx |
|
| 150 | - * @subpackage welcome-page |
|
| 151 | - */ |
|
| 152 | - function lsx_welcome_header() { |
|
| 153 | - require_once get_template_directory() . '/includes/admin/welcome-screen/component-header.php'; |
|
| 154 | - } |
|
| 146 | + /** |
|
| 147 | + * Welcome screen intro. |
|
| 148 | + * |
|
| 149 | + * @package lsx |
|
| 150 | + * @subpackage welcome-page |
|
| 151 | + */ |
|
| 152 | + function lsx_welcome_header() { |
|
| 153 | + require_once get_template_directory() . '/includes/admin/welcome-screen/component-header.php'; |
|
| 154 | + } |
|
| 155 | 155 | |
| 156 | 156 | endif; |
| 157 | 157 | |
@@ -159,15 +159,15 @@ discard block |
||
| 159 | 159 | |
| 160 | 160 | if ( ! function_exists( 'lsx_welcome_enhance' ) ) : |
| 161 | 161 | |
| 162 | - /** |
|
| 163 | - * Welcome screen enhance section. |
|
| 164 | - * |
|
| 165 | - * @package lsx |
|
| 166 | - * @subpackage welcome-page |
|
| 167 | - */ |
|
| 168 | - function lsx_welcome_enhance() { |
|
| 169 | - require_once get_template_directory() . '/includes/admin/welcome-screen/component-enhance.php'; |
|
| 170 | - } |
|
| 162 | + /** |
|
| 163 | + * Welcome screen enhance section. |
|
| 164 | + * |
|
| 165 | + * @package lsx |
|
| 166 | + * @subpackage welcome-page |
|
| 167 | + */ |
|
| 168 | + function lsx_welcome_enhance() { |
|
| 169 | + require_once get_template_directory() . '/includes/admin/welcome-screen/component-enhance.php'; |
|
| 170 | + } |
|
| 171 | 171 | |
| 172 | 172 | endif; |
| 173 | 173 | |
@@ -175,15 +175,15 @@ discard block |
||
| 175 | 175 | |
| 176 | 176 | if ( ! function_exists( 'lsx_welcome_footer' ) ) : |
| 177 | 177 | |
| 178 | - /** |
|
| 179 | - * Welcome screen contribute section. |
|
| 180 | - * |
|
| 181 | - * @package lsx |
|
| 182 | - * @subpackage welcome-page |
|
| 183 | - */ |
|
| 184 | - function lsx_welcome_footer() { |
|
| 185 | - require_once get_template_directory() . '/includes/admin/welcome-screen/component-footer.php'; |
|
| 186 | - } |
|
| 178 | + /** |
|
| 179 | + * Welcome screen contribute section. |
|
| 180 | + * |
|
| 181 | + * @package lsx |
|
| 182 | + * @subpackage welcome-page |
|
| 183 | + */ |
|
| 184 | + function lsx_welcome_footer() { |
|
| 185 | + require_once get_template_directory() . '/includes/admin/welcome-screen/component-footer.php'; |
|
| 186 | + } |
|
| 187 | 187 | |
| 188 | 188 | endif; |
| 189 | 189 | |
@@ -46,13 +46,13 @@ |
||
| 46 | 46 | |
| 47 | 47 | <p> |
| 48 | 48 | <?php |
| 49 | - printf( |
|
| 50 | - /* Translators: 1: HTML open tag link, 2: HTML close tag link */ |
|
| 51 | - esc_html__( 'Why not %1$sleave a review%2$s on WordPress.org? We\'re looking foward to all our users\' feedback!', 'lsx' ), |
|
| 52 | - '<a href="https://wordpress.org/themes/lsx" target="_blank rel="noopener noreferrer">', |
|
| 53 | - '</a>' |
|
| 54 | - ); |
|
| 55 | - ?> |
|
| 49 | + printf( |
|
| 50 | + /* Translators: 1: HTML open tag link, 2: HTML close tag link */ |
|
| 51 | + esc_html__( 'Why not %1$sleave a review%2$s on WordPress.org? We\'re looking foward to all our users\' feedback!', 'lsx' ), |
|
| 52 | + '<a href="https://wordpress.org/themes/lsx" target="_blank rel="noopener noreferrer">', |
|
| 53 | + '</a>' |
|
| 54 | + ); |
|
| 55 | + ?> |
|
| 56 | 56 | </p> |
| 57 | 57 | |
| 58 | 58 | <div class="more-button"> |
@@ -27,15 +27,15 @@ |
||
| 27 | 27 | |
| 28 | 28 | <p> |
| 29 | 29 | <?php |
| 30 | - printf( |
|
| 31 | - /* Translators: 1: HTML open tag link, 2: HTML close tag link, 3: HTML open tag link, 4: HTML close tag link */ |
|
| 32 | - esc_html__( 'You\'ll find information on how to use and customize the LSX theme in our %1$sdocumentation%2$s section. However, please do %3$scontact us%4$s for support should you still find yourself unable to achieve your needs.', 'lsx' ), |
|
| 33 | - '<a href="https://www.lsdev.biz/documentation/lsx/" target="_blank" rel="noreferrer noopener">', |
|
| 34 | - '</a>', |
|
| 35 | - '<a href="https://www.lsdev.biz/contact-us/" target="_blank" rel="noreferrer noopener">', |
|
| 36 | - '</a>' |
|
| 37 | - ); |
|
| 38 | - ?> |
|
| 30 | + printf( |
|
| 31 | + /* Translators: 1: HTML open tag link, 2: HTML close tag link, 3: HTML open tag link, 4: HTML close tag link */ |
|
| 32 | + esc_html__( 'You\'ll find information on how to use and customize the LSX theme in our %1$sdocumentation%2$s section. However, please do %3$scontact us%4$s for support should you still find yourself unable to achieve your needs.', 'lsx' ), |
|
| 33 | + '<a href="https://www.lsdev.biz/documentation/lsx/" target="_blank" rel="noreferrer noopener">', |
|
| 34 | + '</a>', |
|
| 35 | + '<a href="https://www.lsdev.biz/contact-us/" target="_blank" rel="noreferrer noopener">', |
|
| 36 | + '</a>' |
|
| 37 | + ); |
|
| 38 | + ?> |
|
| 39 | 39 | </p> |
| 40 | 40 | |
| 41 | 41 | <div class="more-button"> |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | 9 | if ( ! defined( 'ABSPATH' ) ) { |
| 10 | - exit; |
|
| 10 | + exit; |
|
| 11 | 11 | } |
| 12 | 12 | |
| 13 | 13 | |