@@ -9,47 +9,47 @@ discard block |
||
9 | 9 | |
10 | 10 | <div class="row"> |
11 | 11 | <div class="col-md-6"> |
12 | - <h1><?php echo esc_html__( 'LSX', 'lsx' ) . ' <sup class="version">' . esc_attr( LSX_VERSION ) . '</sup>'; ?></h1> |
|
12 | + <h1><?php echo esc_html__('LSX', 'lsx') . ' <sup class="version">' . esc_attr(LSX_VERSION) . '</sup>'; ?></h1> |
|
13 | 13 | </div> |
14 | 14 | |
15 | 15 | <div class="col-md-6"> |
16 | - <p class="review"><?php echo sprintf( esc_html__( '%sEnjoying LSX?%s Why not %sleave a review%s on WordPress.org? We\'re looking foward to all our users\' feedback!', 'lsx' ), '<strong>', '</strong>', '<a href="https://wordpress.org/themes/lsx" target="_blank">', '</a>' ); ?></p> |
|
16 | + <p class="review"><?php echo sprintf(esc_html__('%sEnjoying LSX?%s Why not %sleave a review%s on WordPress.org? We\'re looking foward to all our users\' feedback!', 'lsx'), '<strong>', '</strong>', '<a href="https://wordpress.org/themes/lsx" target="_blank">', '</a>'); ?></p> |
|
17 | 17 | </div> |
18 | 18 | </div> |
19 | 19 | |
20 | 20 | <div class="row"> |
21 | 21 | <div class="col-md-6"> |
22 | 22 | <div class="box enrich"> |
23 | - <h2><?php esc_html_e( 'Built to enrich your WordPress experience', 'lsx' ); ?></h2> |
|
24 | - <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> |
|
23 | + <h2><?php esc_html_e('Built to enrich your WordPress experience', 'lsx'); ?></h2> |
|
24 | + <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> |
|
25 | 25 | </div> |
26 | 26 | </div> |
27 | 27 | |
28 | 28 | <div class="col-md-6"> |
29 | 29 | <div class="box news"> |
30 | - <h2><?php esc_html_e( 'LSX News & Documentation', 'lsx' ); ?></h2> |
|
30 | + <h2><?php esc_html_e('LSX News & Documentation', 'lsx'); ?></h2> |
|
31 | 31 | |
32 | 32 | <div class="row"> |
33 | 33 | <div class="col-md-6 news"> |
34 | - <h3><?php esc_html_e( 'Recent News', 'lsx' ); ?></h3> |
|
34 | + <h3><?php esc_html_e('Recent News', 'lsx'); ?></h3> |
|
35 | 35 | |
36 | 36 | <ul> |
37 | 37 | <?php |
38 | - $rss = fetch_feed( 'https://www.lsdev.biz/lsx/feed/' ); |
|
38 | + $rss = fetch_feed('https://www.lsdev.biz/lsx/feed/'); |
|
39 | 39 | $rss_items = array(); |
40 | 40 | |
41 | - if ( ! is_wp_error( $rss ) ) { |
|
42 | - $maxitems = $rss->get_item_quantity( 1 ); |
|
43 | - $rss_items = $rss->get_items( 0, $maxitems ); |
|
41 | + if ( ! is_wp_error($rss)) { |
|
42 | + $maxitems = $rss->get_item_quantity(1); |
|
43 | + $rss_items = $rss->get_items(0, $maxitems); |
|
44 | 44 | } |
45 | 45 | |
46 | - foreach ( $rss_items as $item ) : ?> |
|
46 | + foreach ($rss_items as $item) : ?> |
|
47 | 47 | <li> |
48 | - <a href="<?php echo esc_url( $item->get_permalink() ); ?>" target="_blank"> |
|
49 | - <?php echo esc_html( $item->get_title() ); ?> |
|
48 | + <a href="<?php echo esc_url($item->get_permalink()); ?>" target="_blank"> |
|
49 | + <?php echo esc_html($item->get_title()); ?> |
|
50 | 50 | </a> |
51 | 51 | </li> |
52 | - <span class="date"><?php echo esc_attr( $item->get_date( 'j F Y' ) ); ?></span> |
|
52 | + <span class="date"><?php echo esc_attr($item->get_date('j F Y')); ?></span> |
|
53 | 53 | <?php |
54 | 54 | endforeach; |
55 | 55 | ?> |
@@ -57,11 +57,11 @@ discard block |
||
57 | 57 | </div> |
58 | 58 | |
59 | 59 | <div class="col-md-6 docs"> |
60 | - <h3><?php esc_html_e( 'Documentation', 'lsx' ); ?></h3> |
|
60 | + <h3><?php esc_html_e('Documentation', 'lsx'); ?></h3> |
|
61 | 61 | |
62 | 62 | <ul> |
63 | 63 | <li> |
64 | - <a href="https://www.lsdev.biz/documentation/lsx/" target="_blank"><?php esc_html_e( 'Installation & configuration', 'lsx' ); ?></a> |
|
64 | + <a href="https://www.lsdev.biz/documentation/lsx/" target="_blank"><?php esc_html_e('Installation & configuration', 'lsx'); ?></a> |
|
65 | 65 | </li> |
66 | 66 | </ul> |
67 | 67 | </div> |
@@ -10,12 +10,12 @@ discard block |
||
10 | 10 | <div class="row"> |
11 | 11 | <div class="col-md-4"> |
12 | 12 | <div class="box customise"> |
13 | - <h2><?php esc_html_e( 'Theme Customizer', 'lsx' ); ?> - <span class="price">$19.00</span></h2> |
|
14 | - <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. Click below to install and get custom!', 'lsx' ); ?></p> |
|
13 | + <h2><?php esc_html_e('Theme Customizer', 'lsx'); ?> - <span class="price">$19.00</span></h2> |
|
14 | + <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. Click below to install and get custom!', 'lsx'); ?></p> |
|
15 | 15 | |
16 | 16 | <div class="more-button"> |
17 | 17 | <a href="https://www.lsdev.biz/product/lsx-theme-customizer/" target="_blank" class="button button-primary"> |
18 | - <?php esc_html_e( 'Theme Customizer', 'lsx' ); ?> |
|
18 | + <?php esc_html_e('Theme Customizer', 'lsx'); ?> |
|
19 | 19 | </a> |
20 | 20 | </div> |
21 | 21 | </div> |
@@ -23,12 +23,12 @@ discard block |
||
23 | 23 | |
24 | 24 | <div class="col-md-4"> |
25 | 25 | <div class="box support"> |
26 | - <h2><?php esc_html_e( 'Get support', 'lsx' ); ?></h2> |
|
27 | - <p><?php printf( esc_html__( 'You\'ll find information on how to use and customize the LSX theme in our %sdocumentation%s section. However, please do %scontact us%s for support should you still find yourself unable to achieve your needs.', 'lsx' ), '<a href="https://www.lsdev.biz/documentation/lsx/" target="_blank">', '</a>', '<a href="https://www.lsdev.biz/contact-us/" target="_blank">', '</a>' ); ?></p> |
|
26 | + <h2><?php esc_html_e('Get support', 'lsx'); ?></h2> |
|
27 | + <p><?php printf(esc_html__('You\'ll find information on how to use and customize the LSX theme in our %sdocumentation%s section. However, please do %scontact us%s for support should you still find yourself unable to achieve your needs.', 'lsx'), '<a href="https://www.lsdev.biz/documentation/lsx/" target="_blank">', '</a>', '<a href="https://www.lsdev.biz/contact-us/" target="_blank">', '</a>'); ?></p> |
|
28 | 28 | |
29 | 29 | <div class="more-button"> |
30 | 30 | <a href="https://www.lsdev.biz/contact-us/" target="_blank" class="button button-primary"> |
31 | - <?php esc_html_e( 'Get in touch', 'lsx' ); ?> |
|
31 | + <?php esc_html_e('Get in touch', 'lsx'); ?> |
|
32 | 32 | </a> |
33 | 33 | </div> |
34 | 34 | </div> |
@@ -36,12 +36,12 @@ discard block |
||
36 | 36 | |
37 | 37 | <div class="col-md-4"> |
38 | 38 | <div class="box suggest"> |
39 | - <h2><?php esc_html_e( 'Suggest a feature', 'lsx' ); ?></h2> |
|
40 | - <p><?php printf( esc_html__( 'If you\'d like to suggest a feature for inclusion in upcoming releases of the LSX theme, please don\'t hesitate to %scontact us%s directly. We\'re always on the lookout for fresh ideas to help make LSX even better.', 'lsx' ), '<a href="https://www.lsdev.biz/contact-us/" target="_blank">', '</a>' ); ?></p> |
|
39 | + <h2><?php esc_html_e('Suggest a feature', 'lsx'); ?></h2> |
|
40 | + <p><?php printf(esc_html__('If you\'d like to suggest a feature for inclusion in upcoming releases of the LSX theme, please don\'t hesitate to %scontact us%s directly. We\'re always on the lookout for fresh ideas to help make LSX even better.', 'lsx'), '<a href="https://www.lsdev.biz/contact-us/" target="_blank">', '</a>'); ?></p> |
|
41 | 41 | |
42 | 42 | <div class="more-button"> |
43 | 43 | <a href="https://www.lsdev.biz/contact-us/" target="_blank" class="button button-primary"> |
44 | - <?php esc_html_e( 'Submit a request', 'lsx' ); ?> |
|
44 | + <?php esc_html_e('Submit a request', 'lsx'); ?> |
|
45 | 45 | </a> |
46 | 46 | </div> |
47 | 47 | </div> |