@@ -8,51 +8,51 @@ discard block |
||
| 8 | 8 | * @version 4.6.3 |
| 9 | 9 | * |
| 10 | 10 | */ |
| 11 | -if ( ! defined( 'ABSPATH' ) ) { |
|
| 12 | - die( '-1' ); |
|
| 11 | +if ( ! defined('ABSPATH')) { |
|
| 12 | + die('-1'); |
|
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | // Setup an array of venue details for use later in the template |
| 16 | 16 | $venue_details = tribe_get_venue_details(); |
| 17 | 17 | |
| 18 | 18 | // Venue |
| 19 | -$has_venue_address = ( ! empty( $venue_details['address'] ) ) ? ' location' : ''; |
|
| 19 | +$has_venue_address = ( ! empty($venue_details['address'])) ? ' location' : ''; |
|
| 20 | 20 | |
| 21 | 21 | // Organizer |
| 22 | 22 | $organizer = tribe_get_organizer(); |
| 23 | 23 | |
| 24 | 24 | // Event Image |
| 25 | -echo tribe_event_featured_image( null, 'large' ); |
|
| 25 | +echo tribe_event_featured_image(null, 'large'); |
|
| 26 | 26 | ?> |
| 27 | 27 | |
| 28 | 28 | <div class="tribe-events-event-content"> |
| 29 | 29 | <!-- Event Title --> |
| 30 | - <?php do_action( 'tribe_events_before_the_event_title' ) ?> |
|
| 30 | + <?php do_action('tribe_events_before_the_event_title') ?> |
|
| 31 | 31 | <h2 class="tribe-events-list-event-title"> |
| 32 | - <a class="tribe-event-url" href="<?php echo esc_url( tribe_get_event_link() ); ?>" title="<?php the_title_attribute() ?>" rel="bookmark"> |
|
| 32 | + <a class="tribe-event-url" href="<?php echo esc_url(tribe_get_event_link()); ?>" title="<?php the_title_attribute() ?>" rel="bookmark"> |
|
| 33 | 33 | <?php the_title() ?> |
| 34 | 34 | </a> |
| 35 | 35 | |
| 36 | - <span class="label label-default"><?php esc_html_e( 'Featured', 'lsx' ) ?></span> |
|
| 36 | + <span class="label label-default"><?php esc_html_e('Featured', 'lsx') ?></span> |
|
| 37 | 37 | </h2> |
| 38 | - <?php do_action( 'tribe_events_after_the_event_title' ) ?> |
|
| 38 | + <?php do_action('tribe_events_after_the_event_title') ?> |
|
| 39 | 39 | |
| 40 | 40 | <!-- Event Meta --> |
| 41 | - <?php do_action( 'tribe_events_before_the_meta' ) ?> |
|
| 41 | + <?php do_action('tribe_events_before_the_meta') ?> |
|
| 42 | 42 | <div class="tribe-events-event-meta"> |
| 43 | - <div class="author <?php echo esc_attr( $has_venue_address ); ?>"> |
|
| 43 | + <div class="author <?php echo esc_attr($has_venue_address); ?>"> |
|
| 44 | 44 | |
| 45 | 45 | <!-- Schedule & Recurrence Details --> |
| 46 | 46 | <div class="tribe-event-schedule-details"> |
| 47 | 47 | <?php echo tribe_events_event_schedule_details() ?> |
| 48 | 48 | </div> |
| 49 | 49 | |
| 50 | - <?php if ( $venue_details ) : ?> |
|
| 50 | + <?php if ($venue_details) : ?> |
|
| 51 | 51 | <!-- Venue Display Info --> |
| 52 | 52 | <div class="tribe-events-venue-details"> |
| 53 | - <?php echo implode( ', ', $venue_details ); ?> |
|
| 53 | + <?php echo implode(', ', $venue_details); ?> |
|
| 54 | 54 | <?php |
| 55 | - if ( tribe_show_google_map_link() ) { |
|
| 55 | + if (tribe_show_google_map_link()) { |
|
| 56 | 56 | echo tribe_get_map_link_html(); |
| 57 | 57 | } |
| 58 | 58 | ?> |
@@ -61,26 +61,26 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | </div> |
| 63 | 63 | </div><!-- .tribe-events-event-meta --> |
| 64 | - <?php do_action( 'tribe_events_after_the_meta' ) ?> |
|
| 64 | + <?php do_action('tribe_events_after_the_meta') ?> |
|
| 65 | 65 | |
| 66 | 66 | <!-- Event Cost --> |
| 67 | - <?php if ( tribe_get_cost() ) : ?> |
|
| 67 | + <?php if (tribe_get_cost()) : ?> |
|
| 68 | 68 | <div class="tribe-events-event-cost featured-event"> |
| 69 | - <?php esc_html_e( 'Price:', 'lsx' ) ?> |
|
| 70 | - <span class="ticket-cost"><?php echo esc_html( tribe_get_cost( null, true ) ); ?></span> |
|
| 69 | + <?php esc_html_e('Price:', 'lsx') ?> |
|
| 70 | + <span class="ticket-cost"><?php echo esc_html(tribe_get_cost(null, true)); ?></span> |
|
| 71 | 71 | <?php |
| 72 | 72 | /** This action is documented in the-events-calendar/src/views/list/single-event.php */ |
| 73 | - do_action( 'tribe_events_inside_cost' ) |
|
| 73 | + do_action('tribe_events_inside_cost') |
|
| 74 | 74 | ?> |
| 75 | 75 | </div> |
| 76 | 76 | <?php endif; ?> |
| 77 | 77 | |
| 78 | 78 | <!-- Event Content --> |
| 79 | - <?php do_action( 'tribe_events_before_the_content' ) ?> |
|
| 79 | + <?php do_action('tribe_events_before_the_content') ?> |
|
| 80 | 80 | <div class="tribe-events-list-event-description tribe-events-content"> |
| 81 | - <?php echo tribe_events_get_the_excerpt( null, wp_kses_allowed_html( 'post' ) ); ?> |
|
| 82 | - <a href="<?php echo esc_url( tribe_get_event_link() ); ?>" class="tribe-events-read-more" rel="bookmark"><?php esc_html_e( 'Find out more', 'lsx' ) ?></a> |
|
| 81 | + <?php echo tribe_events_get_the_excerpt(null, wp_kses_allowed_html('post')); ?> |
|
| 82 | + <a href="<?php echo esc_url(tribe_get_event_link()); ?>" class="tribe-events-read-more" rel="bookmark"><?php esc_html_e('Find out more', 'lsx') ?></a> |
|
| 83 | 83 | </div><!-- .tribe-events-list-event-description --> |
| 84 | 84 | |
| 85 | - <?php do_action( 'tribe_events_after_the_content' ); ?> |
|
| 85 | + <?php do_action('tribe_events_after_the_content'); ?> |
|
| 86 | 86 | </div> |
@@ -10,30 +10,30 @@ discard block |
||
| 10 | 10 | <div class="row"> |
| 11 | 11 | <div class="col-md-6"> |
| 12 | 12 | <div class="box mailchimp"> |
| 13 | - <h2><?php esc_html_e( 'Newsletter', 'lsx' ); ?></h2> |
|
| 14 | - <p><?php esc_html_e( 'Subscribe to our mailing list.', 'lsx' ); ?></p> |
|
| 13 | + <h2><?php esc_html_e('Newsletter', 'lsx'); ?></h2> |
|
| 14 | + <p><?php esc_html_e('Subscribe to our mailing list.', 'lsx'); ?></p> |
|
| 15 | 15 | |
| 16 | 16 | <!-- Begin MailChimp Signup Form --> |
| 17 | 17 | <form action="//lsdev.us2.list-manage.com/subscribe/post?u=e50b2c5c82f4b42ea978af479&id=92c36218e5" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> |
| 18 | 18 | <div id="mc_embed_signup"> |
| 19 | 19 | <div id="mc_embed_signup_scroll"> |
| 20 | 20 | <div class="mc-field-group"> |
| 21 | - <label for="mce-EMAIL"><?php esc_html_e( 'Email Address', 'lsx' ); ?> <span class="asterisk">*</span></label> |
|
| 21 | + <label for="mce-EMAIL"><?php esc_html_e('Email Address', 'lsx'); ?> <span class="asterisk">*</span></label> |
|
| 22 | 22 | <input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL"> |
| 23 | 23 | </div> |
| 24 | 24 | <div class="mc-field-group"> |
| 25 | - <label for="mce-FNAME"><?php esc_html_e( 'First Name', 'lsx' ); ?> </label> |
|
| 25 | + <label for="mce-FNAME"><?php esc_html_e('First Name', 'lsx'); ?> </label> |
|
| 26 | 26 | <input type="text" value="" name="FNAME" class="" id="mce-FNAME"> |
| 27 | 27 | </div> |
| 28 | 28 | <div class="mc-field-group"> |
| 29 | - <label for="mce-LNAME"><?php esc_html_e( 'Last Name', 'lsx' ); ?> </label> |
|
| 29 | + <label for="mce-LNAME"><?php esc_html_e('Last Name', 'lsx'); ?> </label> |
|
| 30 | 30 | <input type="text" value="" name="LNAME" class="" id="mce-LNAME"> |
| 31 | 31 | </div> |
| 32 | 32 | </div> |
| 33 | 33 | <div style="position:absolute;left:-5000px;" aria-hidden="true"><input type="text" name="b_e50b2c5c82f4b42ea978af479_92c36218e5" tabindex="-1" value=""></div> |
| 34 | 34 | </div> |
| 35 | 35 | <div class="more-button"> |
| 36 | - <input type="submit" value="<?php esc_html_e( 'Subscribe', 'lsx' ); ?>" name="subscribe" class="button button-primary"> |
|
| 36 | + <input type="submit" value="<?php esc_html_e('Subscribe', 'lsx'); ?>" name="subscribe" class="button button-primary"> |
|
| 37 | 37 | </div> |
| 38 | 38 | </form> |
| 39 | 39 | <!--End mc_embed_signup--> |
@@ -42,13 +42,13 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | <div class="col-md-6"> |
| 44 | 44 | <div class="box suggest"> |
| 45 | - <h2><?php esc_html_e( 'Enjoying LSX?', 'lsx' ); ?></h2> |
|
| 45 | + <h2><?php esc_html_e('Enjoying LSX?', 'lsx'); ?></h2> |
|
| 46 | 46 | |
| 47 | 47 | <p> |
| 48 | 48 | <?php |
| 49 | 49 | printf( |
| 50 | 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' ), |
|
| 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 | 52 | '<a href="https://wordpress.org/themes/lsx" target="_blank rel="noopener noreferrer">', |
| 53 | 53 | '</a>' |
| 54 | 54 | ); |
@@ -16,12 +16,12 @@ |
||
| 16 | 16 | <?php |
| 17 | 17 | the_content(); |
| 18 | 18 | |
| 19 | - wp_link_pages( array( |
|
| 19 | + wp_link_pages(array( |
|
| 20 | 20 | 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
| 21 | 21 | 'after' => '</div></div>', |
| 22 | 22 | 'link_before' => '<span>', |
| 23 | 23 | 'link_after' => '</span>', |
| 24 | - ) ); |
|
| 24 | + )); |
|
| 25 | 25 | ?> |
| 26 | 26 | </div><!-- .entry-content --> |
| 27 | 27 | |
@@ -24,31 +24,31 @@ |
||
| 24 | 24 | <?php |
| 25 | 25 | the_content(); |
| 26 | 26 | |
| 27 | - wp_link_pages( array( |
|
| 27 | + wp_link_pages(array( |
|
| 28 | 28 | 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
| 29 | 29 | 'after' => '</div></div>', |
| 30 | 30 | 'link_before' => '<span>', |
| 31 | 31 | 'link_after' => '</span>', |
| 32 | - ) ); |
|
| 32 | + )); |
|
| 33 | 33 | ?> |
| 34 | 34 | </div><!-- .entry-content --> |
| 35 | 35 | |
| 36 | 36 | <footer class="footer-meta clearfix"> |
| 37 | - <?php if ( has_tag() || class_exists( 'LSX_Sharing' ) || ( function_exists( 'sharing_display' ) || class_exists( 'Jetpack_Likes' ) ) ) : ?> |
|
| 37 | + <?php if (has_tag() || class_exists('LSX_Sharing') || (function_exists('sharing_display') || class_exists('Jetpack_Likes'))) : ?> |
|
| 38 | 38 | <div class="post-tags-wrapper"> |
| 39 | 39 | <?php lsx_content_post_tags(); ?> |
| 40 | 40 | |
| 41 | 41 | <?php |
| 42 | - if ( class_exists( 'LSX_Sharing' ) ) { |
|
| 42 | + if (class_exists('LSX_Sharing')) { |
|
| 43 | 43 | lsx_content_sharing(); |
| 44 | 44 | } else { |
| 45 | - if ( function_exists( 'sharing_display' ) ) { |
|
| 46 | - sharing_display( '', true ); |
|
| 45 | + if (function_exists('sharing_display')) { |
|
| 46 | + sharing_display('', true); |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - if ( class_exists( 'Jetpack_Likes' ) ) { |
|
| 49 | + if (class_exists('Jetpack_Likes')) { |
|
| 50 | 50 | $custom_likes = new Jetpack_Likes; |
| 51 | - echo wp_kses_post( $custom_likes->post_likes( '' ) ); |
|
| 51 | + echo wp_kses_post($custom_likes->post_likes('')); |
|
| 52 | 52 | } |
| 53 | 53 | } |
| 54 | 54 | ?> |
@@ -16,12 +16,12 @@ |
||
| 16 | 16 | <?php |
| 17 | 17 | the_content(); |
| 18 | 18 | |
| 19 | - wp_link_pages( array( |
|
| 19 | + wp_link_pages(array( |
|
| 20 | 20 | 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
| 21 | 21 | 'after' => '</div></div>', |
| 22 | 22 | 'link_before' => '<span>', |
| 23 | 23 | 'link_after' => '</span>', |
| 24 | - ) ); |
|
| 24 | + )); |
|
| 25 | 25 | ?> |
| 26 | 26 | </div><!-- .entry-content --> |
| 27 | 27 | |
@@ -9,21 +9,21 @@ discard block |
||
| 9 | 9 | |
| 10 | 10 | <div class="row"> |
| 11 | 11 | <div class="col-md-12"> |
| 12 | - <h1><span class="logo"><?php echo esc_html__( 'LSX', 'lsx' ); ?></span> <sup class="version"><?php echo esc_html( LSX_VERSION ); ?></sup></h1> |
|
| 12 | + <h1><span class="logo"><?php echo esc_html__('LSX', 'lsx'); ?></span> <sup class="version"><?php echo esc_html(LSX_VERSION); ?></sup></h1> |
|
| 13 | 13 | </div> |
| 14 | 14 | </div> |
| 15 | 15 | |
| 16 | 16 | <div class="row"> |
| 17 | 17 | <div class="col-md-6"> |
| 18 | 18 | <div class="box enrich"> |
| 19 | - <h2><?php esc_html_e( 'Built to enrich your WordPress experience', 'lsx' ); ?></h2> |
|
| 20 | - <p><?php esc_html_e( 'Whether you\'re using LSX for your personal blog, as the platform for a powerful WooCommerce store or as the foundation for your own child-theme, you\'ll find it\'s the perfect fit for WordPress.', 'lsx' ); ?></p> |
|
| 19 | + <h2><?php esc_html_e('Built to enrich your WordPress experience', 'lsx'); ?></h2> |
|
| 20 | + <p><?php esc_html_e('Whether you\'re using LSX for your personal blog, as the platform for a powerful WooCommerce store or as the foundation for your own child-theme, you\'ll find it\'s the perfect fit for WordPress.', 'lsx'); ?></p> |
|
| 21 | 21 | |
| 22 | 22 | <p> |
| 23 | 23 | <?php |
| 24 | 24 | printf( |
| 25 | 25 | /* Translators: 1: HTML open tag link, 2: HTML close tag link */ |
| 26 | - esc_html__( 'Use LSX with our %1$sTour Operator Plugin%2$s to create the ultimate tour operators website!', 'lsx' ), |
|
| 26 | + esc_html__('Use LSX with our %1$sTour Operator Plugin%2$s to create the ultimate tour operators website!', 'lsx'), |
|
| 27 | 27 | '<a href="https://wordpress.org/plugins/tour-operator/ target="_blank" rel="noreferrer noopener">', |
| 28 | 28 | '</a>' |
| 29 | 29 | ); |
@@ -34,13 +34,13 @@ discard block |
||
| 34 | 34 | |
| 35 | 35 | <div class="col-md-6"> |
| 36 | 36 | <div class="box support"> |
| 37 | - <h2><?php esc_html_e( 'Get support', 'lsx' ); ?></h2> |
|
| 37 | + <h2><?php esc_html_e('Get support', 'lsx'); ?></h2> |
|
| 38 | 38 | |
| 39 | 39 | <p> |
| 40 | 40 | <?php |
| 41 | 41 | printf( |
| 42 | 42 | /* Translators: 1: HTML open tag link, 2: HTML close tag link, 3: HTML open tag link, 4: HTML close tag link */ |
| 43 | - 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' ), |
|
| 43 | + 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'), |
|
| 44 | 44 | '<a href="https://www.lsdev.biz/documentation/lsx/" target="_blank" rel="noreferrer noopener">', |
| 45 | 45 | '</a>', |
| 46 | 46 | '<a href="https://www.lsdev.biz/contact-us/" target="_blank" rel="noreferrer noopener">', |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | |
| 52 | 52 | <div class="more-button"> |
| 53 | 53 | <a href="https://www.lsdev.biz/contact-us/" target="_blank" rel="noreferrer" class="button button-primary" > |
| 54 | - <?php esc_html_e( 'Get in touch', 'lsx' ); ?> |
|
| 54 | + <?php esc_html_e('Get in touch', 'lsx'); ?> |
|
| 55 | 55 | </a> |
| 56 | 56 | </div> |
| 57 | 57 | </div> |
@@ -10,28 +10,28 @@ discard block |
||
| 10 | 10 | <div class="row"> |
| 11 | 11 | <div class="col-md-12"> |
| 12 | 12 | <div class="box enhance"> |
| 13 | - <h2><?php esc_html_e( 'Enhance LSX', 'lsx' ); ?></h2> |
|
| 14 | - <p><?php esc_html_e( 'Take a look at our range of extensions that add to the already rich functionality of the LSX WordPress theme.', 'lsx' ); ?></p> |
|
| 13 | + <h2><?php esc_html_e('Enhance LSX', 'lsx'); ?></h2> |
|
| 14 | + <p><?php esc_html_e('Take a look at our range of extensions that add to the already rich functionality of the LSX WordPress theme.', 'lsx'); ?></p> |
|
| 15 | 15 | |
| 16 | 16 | <div class="row"> |
| 17 | 17 | <div class="col-md-4"> |
| 18 | 18 | <div class="box-clean"> |
| 19 | - <a href="https://wordpress.org/plugins/lsx-banners/" target="_blank"><?php esc_html_e( 'Banners', 'lsx' ); ?></a> |
|
| 20 | - <p><?php esc_html_e( 'The LSX Banners extension adds advanced banner configuration options to your WordPress site running LSX theme.', 'lsx' ); ?></p> |
|
| 19 | + <a href="https://wordpress.org/plugins/lsx-banners/" target="_blank"><?php esc_html_e('Banners', 'lsx'); ?></a> |
|
| 20 | + <p><?php esc_html_e('The LSX Banners extension adds advanced banner configuration options to your WordPress site running LSX theme.', 'lsx'); ?></p> |
|
| 21 | 21 | </div> |
| 22 | 22 | </div> |
| 23 | 23 | |
| 24 | 24 | <div class="col-md-4"> |
| 25 | 25 | <div class="box-clean"> |
| 26 | - <a href="https://wordpress.org/plugins/lsx-currencies/" target="_blank"><?php esc_html_e( 'Currencies', 'lsx' ); ?></a> |
|
| 27 | - <p><?php esc_html_e( 'The LSX Currencies extension adds currency selection functionality to sites, allowing users to view your products in whatever currencies you choose to sell in.', 'lsx' ); ?></p> |
|
| 26 | + <a href="https://wordpress.org/plugins/lsx-currencies/" target="_blank"><?php esc_html_e('Currencies', 'lsx'); ?></a> |
|
| 27 | + <p><?php esc_html_e('The LSX Currencies extension adds currency selection functionality to sites, allowing users to view your products in whatever currencies you choose to sell in.', 'lsx'); ?></p> |
|
| 28 | 28 | </div> |
| 29 | 29 | </div> |
| 30 | 30 | |
| 31 | 31 | <div class="col-md-4"> |
| 32 | 32 | <div class="box-clean"> |
| 33 | - <a href="https://wordpress.org/plugins/lsx-blog-customizer/" target="_blank"><?php esc_html_e( 'Blog Customizer', 'lsx' ); ?></a> |
|
| 34 | - <p><?php esc_html_e( 'It allows you it to customize various aspects of the the appearance of your blog, posts widgets, archive pages and single posts so they looks exactly how you want.', 'lsx' ); ?></p> |
|
| 33 | + <a href="https://wordpress.org/plugins/lsx-blog-customizer/" target="_blank"><?php esc_html_e('Blog Customizer', 'lsx'); ?></a> |
|
| 34 | + <p><?php esc_html_e('It allows you it to customize various aspects of the the appearance of your blog, posts widgets, archive pages and single posts so they looks exactly how you want.', 'lsx'); ?></p> |
|
| 35 | 35 | </div> |
| 36 | 36 | </div> |
| 37 | 37 | </div> |
@@ -39,22 +39,22 @@ discard block |
||
| 39 | 39 | <div class="row"> |
| 40 | 40 | <div class="col-md-4"> |
| 41 | 41 | <div class="box-clean"> |
| 42 | - <a href="https://wordpress.org/plugins/lsx-customizer/" target="_blank"><?php esc_html_e( 'Customizer', 'lsx' ); ?></a> |
|
| 43 | - <p><?php esc_html_e( 'You\'ve installed LSX, so now why not make it all yours? Whether it\'s a small CSS tweak or changing the entire layout of pages, posts or archives, please make use of the Theme Customizer plugin.', 'lsx' ); ?></p> |
|
| 42 | + <a href="https://wordpress.org/plugins/lsx-customizer/" target="_blank"><?php esc_html_e('Customizer', 'lsx'); ?></a> |
|
| 43 | + <p><?php esc_html_e('You\'ve installed LSX, so now why not make it all yours? Whether it\'s a small CSS tweak or changing the entire layout of pages, posts or archives, please make use of the Theme Customizer plugin.', 'lsx'); ?></p> |
|
| 44 | 44 | </div> |
| 45 | 45 | </div> |
| 46 | 46 | |
| 47 | 47 | <div class="col-md-4"> |
| 48 | 48 | <div class="box-clean"> |
| 49 | - <a href="https://wordpress.org/plugins/lsx-login/" target="_blank"><?php esc_html_e( 'Login', 'lsx' ); ?></a> |
|
| 50 | - <p><?php esc_html_e( 'The LSX Login extension allows users to log into a dashboard and then see configurable content based on which users can access which content.', 'lsx' ); ?></p> |
|
| 49 | + <a href="https://wordpress.org/plugins/lsx-login/" target="_blank"><?php esc_html_e('Login', 'lsx'); ?></a> |
|
| 50 | + <p><?php esc_html_e('The LSX Login extension allows users to log into a dashboard and then see configurable content based on which users can access which content.', 'lsx'); ?></p> |
|
| 51 | 51 | </div> |
| 52 | 52 | </div> |
| 53 | 53 | |
| 54 | 54 | <div class="col-md-4"> |
| 55 | 55 | <div class="box-clean"> |
| 56 | - <a href="https://wordpress.org/plugins/lsx-mega-menus/" target="_blank"><?php esc_html_e( 'Mega Menus', 'lsx' ); ?></a> |
|
| 57 | - <p><?php esc_html_e( 'Create custom, full-width dropdown menus that contain images, widgets and more that seamlessly tie into your LSX WordPress site.', 'lsx' ); ?></p> |
|
| 56 | + <a href="https://wordpress.org/plugins/lsx-mega-menus/" target="_blank"><?php esc_html_e('Mega Menus', 'lsx'); ?></a> |
|
| 57 | + <p><?php esc_html_e('Create custom, full-width dropdown menus that contain images, widgets and more that seamlessly tie into your LSX WordPress site.', 'lsx'); ?></p> |
|
| 58 | 58 | </div> |
| 59 | 59 | </div> |
| 60 | 60 | </div> |
@@ -62,22 +62,22 @@ discard block |
||
| 62 | 62 | <div class="row"> |
| 63 | 63 | <div class="col-md-4"> |
| 64 | 64 | <div class="box-clean"> |
| 65 | - <a href="https://wordpress.org/plugins/lsx-team/" target="_blank"><?php esc_html_e( 'Team', 'lsx' ); ?></a> |
|
| 66 | - <p><?php esc_html_e( 'The LSX Team Extension provides a custom post type that allows you to easily show off the people that make up your business.', 'lsx' ); ?></p> |
|
| 65 | + <a href="https://wordpress.org/plugins/lsx-team/" target="_blank"><?php esc_html_e('Team', 'lsx'); ?></a> |
|
| 66 | + <p><?php esc_html_e('The LSX Team Extension provides a custom post type that allows you to easily show off the people that make up your business.', 'lsx'); ?></p> |
|
| 67 | 67 | </div> |
| 68 | 68 | </div> |
| 69 | 69 | |
| 70 | 70 | <div class="col-md-4"> |
| 71 | 71 | <div class="box-clean"> |
| 72 | - <a href="https://wordpress.org/plugins/lsx-testimonials/" target="_blank"><?php esc_html_e( 'Testimonials', 'lsx' ); ?></a> |
|
| 73 | - <p><?php esc_html_e( 'The LSX Testimonials extension adds the "Testimonials" post type, which you can display front-and-centre on your site.', 'lsx' ); ?></p> |
|
| 72 | + <a href="https://wordpress.org/plugins/lsx-testimonials/" target="_blank"><?php esc_html_e('Testimonials', 'lsx'); ?></a> |
|
| 73 | + <p><?php esc_html_e('The LSX Testimonials extension adds the "Testimonials" post type, which you can display front-and-centre on your site.', 'lsx'); ?></p> |
|
| 74 | 74 | </div> |
| 75 | 75 | </div> |
| 76 | 76 | |
| 77 | 77 | <div class="col-md-4"> |
| 78 | 78 | <div class="box-clean"> |
| 79 | - <a href="https://wordpress.org/plugins/lsx-geo-content/" target="_blank"><?php esc_html_e( 'Geo Content', 'lsx' ); ?></a> |
|
| 80 | - <p><?php esc_html_e( 'LSX Geo Content allows you to serve different content to users based on their automatically-detected IP address.', 'lsx' ); ?></p> |
|
| 79 | + <a href="https://wordpress.org/plugins/lsx-geo-content/" target="_blank"><?php esc_html_e('Geo Content', 'lsx'); ?></a> |
|
| 80 | + <p><?php esc_html_e('LSX Geo Content allows you to serve different content to users based on their automatically-detected IP address.', 'lsx'); ?></p> |
|
| 81 | 81 | </div> |
| 82 | 82 | </div> |
| 83 | 83 | </div> |
@@ -85,22 +85,22 @@ discard block |
||
| 85 | 85 | <div class="row"> |
| 86 | 86 | <div class="col-md-4"> |
| 87 | 87 | <div class="box-clean"> |
| 88 | - <a href="https://wordpress.org/plugins/lsx-videos/" target="_blank"><?php esc_html_e( 'Videos', 'lsx' ); ?></a> |
|
| 89 | - <p><?php esc_html_e( 'Adds the "Videos" post type to your LSX website which allows you to display and categorize videos.', 'lsx' ); ?></p> |
|
| 88 | + <a href="https://wordpress.org/plugins/lsx-videos/" target="_blank"><?php esc_html_e('Videos', 'lsx'); ?></a> |
|
| 89 | + <p><?php esc_html_e('Adds the "Videos" post type to your LSX website which allows you to display and categorize videos.', 'lsx'); ?></p> |
|
| 90 | 90 | </div> |
| 91 | 91 | </div> |
| 92 | 92 | |
| 93 | 93 | <div class="col-md-4"> |
| 94 | 94 | <div class="box-clean"> |
| 95 | - <a href="https://wordpress.org/plugins/lsx-projects/" target="_blank"><?php esc_html_e( 'Projects', 'lsx' ); ?></a> |
|
| 96 | - <p><?php esc_html_e( 'Show off your finest work with the LSX Projects Extension! It adds a "Project" post type, allowing you to categorize and display your Projects on your LSX website.', 'lsx' ); ?></p> |
|
| 95 | + <a href="https://wordpress.org/plugins/lsx-projects/" target="_blank"><?php esc_html_e('Projects', 'lsx'); ?></a> |
|
| 96 | + <p><?php esc_html_e('Show off your finest work with the LSX Projects Extension! It adds a "Project" post type, allowing you to categorize and display your Projects on your LSX website.', 'lsx'); ?></p> |
|
| 97 | 97 | </div> |
| 98 | 98 | </div> |
| 99 | 99 | |
| 100 | 100 | <div class="col-md-4"> |
| 101 | 101 | <div class="box-clean"> |
| 102 | - <a href="https://wordpress.org/plugins/lsx-sharing/" target="_blank"><?php esc_html_e( 'Sharing', 'lsx' ); ?></a> |
|
| 103 | - <p><?php esc_html_e( 'LSX Sharing adds buttons to your posts that your readers can use to share your content on Facebook, Twitter and Pinterest.', 'lsx' ); ?></p> |
|
| 102 | + <a href="https://wordpress.org/plugins/lsx-sharing/" target="_blank"><?php esc_html_e('Sharing', 'lsx'); ?></a> |
|
| 103 | + <p><?php esc_html_e('LSX Sharing adds buttons to your posts that your readers can use to share your content on Facebook, Twitter and Pinterest.', 'lsx'); ?></p> |
|
| 104 | 104 | </div> |
| 105 | 105 | </div> |
| 106 | 106 | </div> |
@@ -5,25 +5,25 @@ discard block |
||
| 5 | 5 | * @package lsx |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | -if ( isset( $GLOBALS['comment_depth'] ) ) { |
|
| 9 | - $depth = intval( $GLOBALS['comment_depth'] ); |
|
| 8 | +if (isset($GLOBALS['comment_depth'])) { |
|
| 9 | + $depth = intval($GLOBALS['comment_depth']); |
|
| 10 | 10 | } else { |
| 11 | 11 | $depth = 1; |
| 12 | 12 | } |
| 13 | 13 | |
| 14 | -$max_depth = intval( get_option( 'thread_comments_depth' ) ); |
|
| 14 | +$max_depth = intval(get_option('thread_comments_depth')); |
|
| 15 | 15 | |
| 16 | -echo get_avatar( $comment, '128' ); |
|
| 16 | +echo get_avatar($comment, '128'); |
|
| 17 | 17 | ?> |
| 18 | 18 | <div class="media-body"> |
| 19 | 19 | <h4 class="media-heading"><?php echo get_comment_author_link(); ?></h4> |
| 20 | 20 | |
| 21 | - <time datetime="<?php echo comment_date( 'c' ); ?>"> |
|
| 22 | - <a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"> |
|
| 21 | + <time datetime="<?php echo comment_date('c'); ?>"> |
|
| 22 | + <a href="<?php echo esc_url(get_comment_link($comment->comment_ID)); ?>"> |
|
| 23 | 23 | <?php |
| 24 | 24 | printf( |
| 25 | 25 | /* Translators: 1: post date, 2: post time */ |
| 26 | - esc_html__( '%1$s on %2$s', 'lsx' ), |
|
| 26 | + esc_html__('%1$s on %2$s', 'lsx'), |
|
| 27 | 27 | get_comment_date(), |
| 28 | 28 | get_comment_time() |
| 29 | 29 | ); |
@@ -31,11 +31,11 @@ discard block |
||
| 31 | 31 | </a> |
| 32 | 32 | </time> |
| 33 | 33 | |
| 34 | - <?php edit_comment_link( esc_html__( '(Edit)', 'lsx' ), '', '' ); ?> |
|
| 34 | + <?php edit_comment_link(esc_html__('(Edit)', 'lsx'), '', ''); ?> |
|
| 35 | 35 | |
| 36 | - <?php if ( ! $comment->comment_approved ) : ?> |
|
| 36 | + <?php if ( ! $comment->comment_approved) : ?> |
|
| 37 | 37 | <div class="alert alert-info"> |
| 38 | - <?php esc_html_e( 'Your comment is awaiting moderation.', 'lsx' ); ?> |
|
| 38 | + <?php esc_html_e('Your comment is awaiting moderation.', 'lsx'); ?> |
|
| 39 | 39 | </div> |
| 40 | 40 | <?php endif; ?> |
| 41 | 41 | |
@@ -6,7 +6,7 @@ discard block |
||
| 6 | 6 | * @subpackage hooks |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -if ( ! defined( 'ABSPATH' ) ) { |
|
| 9 | +if ( ! defined('ABSPATH')) { |
|
| 10 | 10 | exit; |
| 11 | 11 | } |
| 12 | 12 | |
@@ -17,11 +17,11 @@ discard block |
||
| 17 | 17 | */ |
| 18 | 18 | |
| 19 | 19 | function lsx_body_top() { |
| 20 | - do_action( 'lsx_body_top' ); |
|
| 20 | + do_action('lsx_body_top'); |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | function lsx_body_bottom() { |
| 24 | - do_action( 'lsx_body_bottom' ); |
|
| 24 | + do_action('lsx_body_bottom'); |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | /** |
@@ -31,11 +31,11 @@ discard block |
||
| 31 | 31 | */ |
| 32 | 32 | |
| 33 | 33 | function lsx_head_top() { |
| 34 | - do_action( 'lsx_head_top' ); |
|
| 34 | + do_action('lsx_head_top'); |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | function lsx_head_bottom() { |
| 38 | - do_action( 'lsx_head_bottom' ); |
|
| 38 | + do_action('lsx_head_bottom'); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
@@ -45,27 +45,27 @@ discard block |
||
| 45 | 45 | */ |
| 46 | 46 | |
| 47 | 47 | function lsx_header_before() { |
| 48 | - do_action( 'lsx_header_before' ); |
|
| 48 | + do_action('lsx_header_before'); |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | function lsx_header_after() { |
| 52 | - do_action( 'lsx_header_after' ); |
|
| 52 | + do_action('lsx_header_after'); |
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | function lsx_header_top() { |
| 56 | - do_action( 'lsx_header_top' ); |
|
| 56 | + do_action('lsx_header_top'); |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | function lsx_header_bottom() { |
| 60 | - do_action( 'lsx_header_bottom' ); |
|
| 60 | + do_action('lsx_header_bottom'); |
|
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | function lsx_nav_before() { |
| 64 | - do_action( 'lsx_nav_before' ); |
|
| 64 | + do_action('lsx_nav_before'); |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | function lsx_nav_after() { |
| 68 | - do_action( 'lsx_nav_after' ); |
|
| 68 | + do_action('lsx_nav_after'); |
|
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
@@ -75,15 +75,15 @@ discard block |
||
| 75 | 75 | */ |
| 76 | 76 | |
| 77 | 77 | function lsx_banner_content() { |
| 78 | - do_action( 'lsx_banner_content' ); |
|
| 78 | + do_action('lsx_banner_content'); |
|
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | function lsx_banner_inner_top() { |
| 82 | - do_action( 'lsx_banner_inner_top' ); |
|
| 82 | + do_action('lsx_banner_inner_top'); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | function lsx_banner_inner_bottom() { |
| 86 | - do_action( 'lsx_banner_inner_bottom' ); |
|
| 86 | + do_action('lsx_banner_inner_bottom'); |
|
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | */ |
| 94 | 94 | |
| 95 | 95 | function lsx_global_header_inner_bottom() { |
| 96 | - do_action( 'lsx_global_header_inner_bottom' ); |
|
| 96 | + do_action('lsx_global_header_inner_bottom'); |
|
| 97 | 97 | } |
| 98 | 98 | |
| 99 | 99 | /** |
@@ -103,35 +103,35 @@ discard block |
||
| 103 | 103 | */ |
| 104 | 104 | |
| 105 | 105 | function lsx_content_wrap_before() { |
| 106 | - do_action( 'lsx_content_wrap_before' ); |
|
| 106 | + do_action('lsx_content_wrap_before'); |
|
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | function lsx_content_wrap_after() { |
| 110 | - do_action( 'lsx_content_wrap_after' ); |
|
| 110 | + do_action('lsx_content_wrap_after'); |
|
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | function lsx_content_before() { |
| 114 | - do_action( 'lsx_content_before' ); |
|
| 114 | + do_action('lsx_content_before'); |
|
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | function lsx_content_after() { |
| 118 | - do_action( 'lsx_content_after' ); |
|
| 118 | + do_action('lsx_content_after'); |
|
| 119 | 119 | } |
| 120 | 120 | |
| 121 | 121 | function lsx_content_top() { |
| 122 | - do_action( 'lsx_content_top' ); |
|
| 122 | + do_action('lsx_content_top'); |
|
| 123 | 123 | } |
| 124 | 124 | |
| 125 | 125 | function lsx_content_bottom() { |
| 126 | - do_action( 'lsx_content_bottom' ); |
|
| 126 | + do_action('lsx_content_bottom'); |
|
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | function lsx_content_post_tags() { |
| 130 | - do_action( 'lsx_content_post_tags' ); |
|
| 130 | + do_action('lsx_content_post_tags'); |
|
| 131 | 131 | } |
| 132 | 132 | |
| 133 | 133 | function lsx_content_sharing() { |
| 134 | - do_action( 'lsx_content_sharing' ); |
|
| 134 | + do_action('lsx_content_sharing'); |
|
| 135 | 135 | } |
| 136 | 136 | |
| 137 | 137 | /** |
@@ -141,19 +141,19 @@ discard block |
||
| 141 | 141 | */ |
| 142 | 142 | |
| 143 | 143 | function lsx_entry_before() { |
| 144 | - do_action( 'lsx_entry_before' ); |
|
| 144 | + do_action('lsx_entry_before'); |
|
| 145 | 145 | } |
| 146 | 146 | |
| 147 | 147 | function lsx_entry_after() { |
| 148 | - do_action( 'lsx_entry_after' ); |
|
| 148 | + do_action('lsx_entry_after'); |
|
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | function lsx_entry_top() { |
| 152 | - do_action( 'lsx_entry_top' ); |
|
| 152 | + do_action('lsx_entry_top'); |
|
| 153 | 153 | } |
| 154 | 154 | |
| 155 | 155 | function lsx_entry_bottom() { |
| 156 | - do_action( 'lsx_entry_bottom' ); |
|
| 156 | + do_action('lsx_entry_bottom'); |
|
| 157 | 157 | } |
| 158 | 158 | |
| 159 | 159 | /** |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | */ |
| 162 | 162 | |
| 163 | 163 | function lsx_post_meta_top() { |
| 164 | - do_action( 'lsx_post_meta_top' ); |
|
| 164 | + do_action('lsx_post_meta_top'); |
|
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | /** |
@@ -171,27 +171,27 @@ discard block |
||
| 171 | 171 | */ |
| 172 | 172 | |
| 173 | 173 | function lsx_widget_entry_before() { |
| 174 | - do_action( 'lsx_widget_entry_before' ); |
|
| 174 | + do_action('lsx_widget_entry_before'); |
|
| 175 | 175 | } |
| 176 | 176 | |
| 177 | 177 | function lsx_widget_entry_after() { |
| 178 | - do_action( 'lsx_widget_entry_after' ); |
|
| 178 | + do_action('lsx_widget_entry_after'); |
|
| 179 | 179 | } |
| 180 | 180 | |
| 181 | 181 | function lsx_widget_entry_top() { |
| 182 | - do_action( 'lsx_widget_entry_top' ); |
|
| 182 | + do_action('lsx_widget_entry_top'); |
|
| 183 | 183 | } |
| 184 | 184 | |
| 185 | 185 | function lsx_widget_entry_bottom() { |
| 186 | - do_action( 'lsx_widget_entry_bottom' ); |
|
| 186 | + do_action('lsx_widget_entry_bottom'); |
|
| 187 | 187 | } |
| 188 | 188 | |
| 189 | 189 | function lsx_widget_entry_content_top() { |
| 190 | - do_action( 'lsx_widget_entry_content_top' ); |
|
| 190 | + do_action('lsx_widget_entry_content_top'); |
|
| 191 | 191 | } |
| 192 | 192 | |
| 193 | 193 | function lsx_widget_entry_content_bottom() { |
| 194 | - do_action( 'lsx_widget_entry_content_bottom' ); |
|
| 194 | + do_action('lsx_widget_entry_content_bottom'); |
|
| 195 | 195 | } |
| 196 | 196 | |
| 197 | 197 | /** |
@@ -201,11 +201,11 @@ discard block |
||
| 201 | 201 | */ |
| 202 | 202 | |
| 203 | 203 | function lsx_comments_before() { |
| 204 | - do_action( 'lsx_comments_before' ); |
|
| 204 | + do_action('lsx_comments_before'); |
|
| 205 | 205 | } |
| 206 | 206 | |
| 207 | 207 | function lsx_comments_after() { |
| 208 | - do_action( 'lsx_comments_after' ); |
|
| 208 | + do_action('lsx_comments_after'); |
|
| 209 | 209 | } |
| 210 | 210 | |
| 211 | 211 | /** |
@@ -215,19 +215,19 @@ discard block |
||
| 215 | 215 | */ |
| 216 | 216 | |
| 217 | 217 | function lsx_sidebars_before() { |
| 218 | - do_action( 'lsx_sidebars_before' ); |
|
| 218 | + do_action('lsx_sidebars_before'); |
|
| 219 | 219 | } |
| 220 | 220 | |
| 221 | 221 | function lsx_sidebars_after() { |
| 222 | - do_action( 'lsx_sidebars_after' ); |
|
| 222 | + do_action('lsx_sidebars_after'); |
|
| 223 | 223 | } |
| 224 | 224 | |
| 225 | 225 | function lsx_sidebar_top() { |
| 226 | - do_action( 'lsx_sidebar_top' ); |
|
| 226 | + do_action('lsx_sidebar_top'); |
|
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | function lsx_sidebar_bottom() { |
| 230 | - do_action( 'lsx_sidebar_bottom' ); |
|
| 230 | + do_action('lsx_sidebar_bottom'); |
|
| 231 | 231 | } |
| 232 | 232 | |
| 233 | 233 | /** |
@@ -237,17 +237,17 @@ discard block |
||
| 237 | 237 | */ |
| 238 | 238 | |
| 239 | 239 | function lsx_footer_before() { |
| 240 | - do_action( 'lsx_footer_before' ); |
|
| 240 | + do_action('lsx_footer_before'); |
|
| 241 | 241 | } |
| 242 | 242 | |
| 243 | 243 | function lsx_footer_after() { |
| 244 | - do_action( 'lsx_footer_after' ); |
|
| 244 | + do_action('lsx_footer_after'); |
|
| 245 | 245 | } |
| 246 | 246 | |
| 247 | 247 | function lsx_footer_top() { |
| 248 | - do_action( 'lsx_footer_top' ); |
|
| 248 | + do_action('lsx_footer_top'); |
|
| 249 | 249 | } |
| 250 | 250 | |
| 251 | 251 | function lsx_footer_bottom() { |
| 252 | - do_action( 'lsx_footer_bottom' ); |
|
| 252 | + do_action('lsx_footer_bottom'); |
|
| 253 | 253 | } |