@@ -21,9 +21,9 @@ |
||
21 | 21 | |
22 | 22 | <?php lsx_content_top(); ?> |
23 | 23 | |
24 | - <?php while ( have_posts() ) : the_post(); ?> |
|
24 | + <?php while (have_posts()) : the_post(); ?> |
|
25 | 25 | |
26 | - <?php get_template_part( 'content', 'portfolio-single' ); ?> |
|
26 | + <?php get_template_part('content', 'portfolio-single'); ?> |
|
27 | 27 | |
28 | 28 | <?php endwhile; ?> |
29 | 29 |
@@ -12,17 +12,17 @@ discard block |
||
12 | 12 | |
13 | 13 | <?php |
14 | 14 | $format = get_post_format(); |
15 | - if ( false === $format ) { |
|
15 | + if (false === $format) { |
|
16 | 16 | $format = 'standard'; |
17 | 17 | } |
18 | 18 | $format_link = get_post_format_link($format); |
19 | 19 | $format = lsx_translate_format_to_fontawesome($format); |
20 | 20 | ?> |
21 | 21 | |
22 | - <?php if ( ! is_single() ) { ?> |
|
22 | + <?php if ( ! is_single()) { ?> |
|
23 | 23 | <header class="entry-header"> |
24 | 24 | <h1 class="entry-title"> |
25 | - <?php if ( has_post_thumbnail() ) { ?> |
|
25 | + <?php if (has_post_thumbnail()) { ?> |
|
26 | 26 | <a href="<?php echo esc_url($format_link) ?>" class="format-link has-thumb fa fa-<?php echo $format ?>"></a> |
27 | 27 | <?php } else { ?> |
28 | 28 | <a href="<?php echo esc_url($format_link) ?>" class="format-link fa fa-<?php echo $format ?>"></a> |
@@ -39,37 +39,37 @@ discard block |
||
39 | 39 | |
40 | 40 | <div class="entry-content"> |
41 | 41 | <?php |
42 | - if ( ! is_singular() ) { |
|
42 | + if ( ! is_singular()) { |
|
43 | 43 | the_excerpt(); |
44 | 44 | } else { |
45 | 45 | the_content(); |
46 | 46 | |
47 | - wp_link_pages( array( |
|
47 | + wp_link_pages(array( |
|
48 | 48 | 'before' => '<div class="lsx-postnav-wrapper"><div class="lsx-postnav">', |
49 | 49 | 'after' => '</div></div>', |
50 | 50 | 'link_before' => '<span>', |
51 | 51 | 'link_after' => '</span>' |
52 | - ) ); |
|
52 | + )); |
|
53 | 53 | } ?> |
54 | 54 | </div><!-- .entry-content --> |
55 | 55 | |
56 | 56 | <footer class="footer-meta"> |
57 | - <?php if ( has_tag() || ( function_exists( 'sharing_display' ) || class_exists( 'Jetpack_Likes' ) ) ) : ?> |
|
57 | + <?php if (has_tag() || (function_exists('sharing_display') || class_exists('Jetpack_Likes'))) : ?> |
|
58 | 58 | <div class="post-tags-wrapper"> |
59 | - <?php if ( has_tag() ) : ?> |
|
59 | + <?php if (has_tag()) : ?> |
|
60 | 60 | <div class="post-tags"> |
61 | - <span><?php _e('Tagged as:','lsx'); ?></span> <?php echo get_the_tag_list(''); ?> |
|
61 | + <span><?php _e('Tagged as:', 'lsx'); ?></span> <?php echo get_the_tag_list(''); ?> |
|
62 | 62 | </div> |
63 | 63 | <?php endif ?> |
64 | 64 | |
65 | 65 | <?php |
66 | - if ( function_exists( 'sharing_display' ) ) { |
|
67 | - sharing_display( '', true ); |
|
66 | + if (function_exists('sharing_display')) { |
|
67 | + sharing_display('', true); |
|
68 | 68 | } |
69 | 69 | |
70 | - if ( class_exists( 'Jetpack_Likes' ) ) { |
|
70 | + if (class_exists('Jetpack_Likes')) { |
|
71 | 71 | $custom_likes = new Jetpack_Likes; |
72 | - echo $custom_likes->post_likes( '' ); |
|
72 | + echo $custom_likes->post_likes(''); |
|
73 | 73 | } |
74 | 74 | ?> |
75 | 75 | </div> |
@@ -77,8 +77,8 @@ discard block |
||
77 | 77 | |
78 | 78 | <?php |
79 | 79 | // If comments are open or we have at least one comment, load up the comment template |
80 | - if ( comments_open() || '0' != get_comments_number() ) : ?> |
|
81 | - <a class="comments-link post-meta-link" data-toggle="collapse" href="#comments-collapse"><strong><?php echo get_comments_number() ?></strong> <?php _e('Comments','lsx'); ?> <span class="fa fa-chevron-down"></span></a> |
|
80 | + if (comments_open() || '0' != get_comments_number()) : ?> |
|
81 | + <a class="comments-link post-meta-link" data-toggle="collapse" href="#comments-collapse"><strong><?php echo get_comments_number() ?></strong> <?php _e('Comments', 'lsx'); ?> <span class="fa fa-chevron-down"></span></a> |
|
82 | 82 | |
83 | 83 | <div class="collapse" id="comments-collapse"> |
84 | 84 | <?php |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | <?php endif; ?> |
89 | 89 | </footer><!-- .footer-meta --> |
90 | 90 | |
91 | - <?php edit_post_link( __( 'Edit', 'lsx' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?> |
|
91 | + <?php edit_post_link(__('Edit', 'lsx'), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>'); ?> |
|
92 | 92 | |
93 | 93 | <?php lsx_portfolio_related_posts(); ?> |
94 | 94 |
@@ -6,8 +6,8 @@ discard block |
||
6 | 6 | */ |
7 | 7 | |
8 | 8 | // Allow Plugins and themes to disable the sidebar incase of very customized layouts. |
9 | -$sidebar_enabled = apply_filters('lsx_sidebar_enable',true); |
|
10 | -if(true !== $sidebar_enabled){return true;} |
|
9 | +$sidebar_enabled = apply_filters('lsx_sidebar_enable', true); |
|
10 | +if (true !== $sidebar_enabled) {return true; } |
|
11 | 11 | ?> |
12 | 12 | <?php |
13 | 13 | $show_on_front = get_option('show_on_front'); |
@@ -17,16 +17,16 @@ discard block |
||
17 | 17 | $sidebar = 'home'; |
18 | 18 | } else { |
19 | 19 | |
20 | - $layout = get_theme_mod('lsx_layout','2cr'); |
|
21 | - $layout = apply_filters( 'lsx_layout', $layout ); |
|
20 | + $layout = get_theme_mod('lsx_layout', '2cr'); |
|
21 | + $layout = apply_filters('lsx_layout', $layout); |
|
22 | 22 | |
23 | - if('posts' == $show_on_front && is_home()){ |
|
23 | + if ('posts' == $show_on_front && is_home()) { |
|
24 | 24 | $sidebar = 'home'; |
25 | - }else{ |
|
25 | + } else { |
|
26 | 26 | $sidebar = 'sidebar-1'; |
27 | 27 | } |
28 | 28 | } |
29 | - if ( $layout !== '1c' ) : ?> |
|
29 | + if ($layout !== '1c') : ?> |
|
30 | 30 | |
31 | 31 | <?php lsx_sidebars_before(); ?> |
32 | 32 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | |
35 | 35 | <div id="secondary" class="widget-area <?php echo esc_attr(lsx_home_sidebar_class()); ?>" role="complementary"> |
36 | 36 | |
37 | - <?php elseif ( is_page_template('page-templates/template-blog.php') ) : ?> |
|
37 | + <?php elseif (is_page_template('page-templates/template-blog.php')) : ?> |
|
38 | 38 | |
39 | 39 | <div id="secondary" class="widget-area <?php echo esc_attr(lsx_sidebar_class()); ?>" role="complementary"> |
40 | 40 | |
@@ -42,25 +42,25 @@ discard block |
||
42 | 42 | |
43 | 43 | <div id="secondary" class="widget-area <?php echo esc_attr(lsx_sidebar_class()); ?>" role="complementary"> |
44 | 44 | |
45 | - <?php endif ; ?> |
|
45 | + <?php endif; ?> |
|
46 | 46 | |
47 | 47 | <?php lsx_sidebar_top(); ?> |
48 | 48 | |
49 | - <?php if ( ! dynamic_sidebar( $sidebar ) ) : ?> |
|
49 | + <?php if ( ! dynamic_sidebar($sidebar)) : ?> |
|
50 | 50 | |
51 | 51 | <aside id="search" class="widget widget_search"> |
52 | 52 | <?php get_search_form(); ?> |
53 | 53 | </aside> |
54 | 54 | |
55 | 55 | <aside id="archives" class="widget"> |
56 | - <h1 class="widget-title"><?php _e( 'Archives', 'lsx' ); ?></h1> |
|
56 | + <h1 class="widget-title"><?php _e('Archives', 'lsx'); ?></h1> |
|
57 | 57 | <ul> |
58 | - <?php wp_get_archives( array( 'type' => 'monthly' ) ); ?> |
|
58 | + <?php wp_get_archives(array('type' => 'monthly')); ?> |
|
59 | 59 | </ul> |
60 | 60 | </aside> |
61 | 61 | |
62 | 62 | <aside id="meta" class="widget"> |
63 | - <h1 class="widget-title"><?php _e( 'Meta', 'lsx' ); ?></h1> |
|
63 | + <h1 class="widget-title"><?php _e('Meta', 'lsx'); ?></h1> |
|
64 | 64 | <ul> |
65 | 65 | <?php wp_register(); ?> |
66 | 66 | <li><?php wp_loginout(); ?></li> |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | |
23 | 23 | if('posts' == $show_on_front && is_home()){ |
24 | 24 | $sidebar = 'home'; |
25 | - }else{ |
|
25 | + } else{ |
|
26 | 26 | $sidebar = 'sidebar-1'; |
27 | 27 | } |
28 | 28 | } |
@@ -38,9 +38,12 @@ discard block |
||
38 | 38 | |
39 | 39 | <div id="secondary" class="widget-area <?php echo esc_attr(lsx_sidebar_class()); ?>" role="complementary"> |
40 | 40 | |
41 | - <?php else : ?> |
|
41 | + <?php else { |
|
42 | + : ?> |
|
42 | 43 | |
43 | - <div id="secondary" class="widget-area <?php echo esc_attr(lsx_sidebar_class()); ?>" role="complementary"> |
|
44 | + <div id="secondary" class="widget-area <?php echo esc_attr(lsx_sidebar_class()); |
|
45 | +} |
|
46 | +?>" role="complementary"> |
|
44 | 47 | |
45 | 48 | <?php endif ; ?> |
46 | 49 |
@@ -9,21 +9,21 @@ |
||
9 | 9 | <?php |
10 | 10 | $show_on_front = get_option('show_on_front'); |
11 | 11 | |
12 | - $layout = get_theme_mod('lsx_layout','2cr'); |
|
13 | - if('posts' == $show_on_front && is_home()){ |
|
12 | + $layout = get_theme_mod('lsx_layout', '2cr'); |
|
13 | + if ('posts' == $show_on_front && is_home()) { |
|
14 | 14 | $sidebar = 'home'; |
15 | - }else{ |
|
15 | + } else { |
|
16 | 16 | $sidebar = 'sidebar-1'; |
17 | 17 | } |
18 | 18 | |
19 | - if ( $layout !== '1c' ) : ?> |
|
19 | + if ($layout !== '1c') : ?> |
|
20 | 20 | |
21 | 21 | <?php lsx_sidebars_before(); ?> |
22 | 22 | |
23 | 23 | <div id="secondary" class="widget-area <?php echo esc_attr(lsx_sidebar_class()); ?>" role="complementary"> |
24 | 24 | |
25 | 25 | <?php lsx_sidebar_top(); ?> |
26 | - <h2><?php _e('Categories','lsx'); ?></h2> |
|
26 | + <h2><?php _e('Categories', 'lsx'); ?></h2> |
|
27 | 27 | <aside id="categories" class="widget widget_categories"> |
28 | 28 | <?php echo wp_tag_cloud(array('taxonomy'=>'category')); ?> |
29 | 29 | </aside> |
@@ -12,7 +12,7 @@ |
||
12 | 12 | $layout = get_theme_mod('lsx_layout','2cr'); |
13 | 13 | if('posts' == $show_on_front && is_home()){ |
14 | 14 | $sidebar = 'home'; |
15 | - }else{ |
|
15 | + } else{ |
|
16 | 16 | $sidebar = 'sidebar-1'; |
17 | 17 | } |
18 | 18 |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | |
14 | 14 | <?php lsx_content_top(); ?> |
15 | 15 | |
16 | - <?php while ( have_posts() ) : the_post(); ?> |
|
16 | + <?php while (have_posts()) : the_post(); ?> |
|
17 | 17 | |
18 | 18 | <?php lsx_entry_before(); ?> |
19 | 19 | |
@@ -22,28 +22,28 @@ discard block |
||
22 | 22 | <?php lsx_entry_top(); ?> |
23 | 23 | |
24 | 24 | <div class="entry-content"> |
25 | - <h2><?php _e( 'The Last 30 Posts', 'lsx' ); ?></h3> |
|
25 | + <h2><?php _e('The Last 30 Posts', 'lsx'); ?></h3> |
|
26 | 26 | <ul> |
27 | - <?php $loop = new WP_Query( array( 'posts_per_page' => 30 ) ); ?> |
|
28 | - <?php if ( $loop->have_posts() ) { while ( $loop->have_posts() ) { $loop->the_post(); ?> |
|
27 | + <?php $loop = new WP_Query(array('posts_per_page' => 30)); ?> |
|
28 | + <?php if ($loop->have_posts()) { while ($loop->have_posts()) { $loop->the_post(); ?> |
|
29 | 29 | <?php $loop->is_home = false; ?> |
30 | - <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> - <?php the_time( get_option( 'date_format' ) ); ?> - <?php echo $post->comment_count; ?> <?php _e( 'comments', 'lsx' ); ?></li> |
|
30 | + <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> - <?php the_time(get_option('date_format')); ?> - <?php echo $post->comment_count; ?> <?php _e('comments', 'lsx'); ?></li> |
|
31 | 31 | <?php } } wp_reset_postdata(); ?> |
32 | 32 | </ul> |
33 | 33 | |
34 | - <h2><?php _e( 'Categories', 'lsx' ); ?></h3> |
|
34 | + <h2><?php _e('Categories', 'lsx'); ?></h3> |
|
35 | 35 | |
36 | 36 | <ul> |
37 | - <?php wp_list_categories( 'title_li=&hierarchical=0&show_count=1' ); ?> |
|
37 | + <?php wp_list_categories('title_li=&hierarchical=0&show_count=1'); ?> |
|
38 | 38 | </ul> |
39 | 39 | |
40 | - <h2><?php _e( 'Monthly Archives', 'lsx' ); ?></h3> |
|
40 | + <h2><?php _e('Monthly Archives', 'lsx'); ?></h3> |
|
41 | 41 | |
42 | 42 | <ul> |
43 | - <?php wp_get_archives( 'type=monthly&show_post_count=1' ); ?> |
|
43 | + <?php wp_get_archives('type=monthly&show_post_count=1'); ?> |
|
44 | 44 | </ul> |
45 | 45 | </div><!-- .entry-content --> |
46 | - <?php edit_post_link( __( 'Edit', 'lsx' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?> |
|
46 | + <?php edit_post_link(__('Edit', 'lsx'), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>'); ?> |
|
47 | 47 | |
48 | 48 | <?php lsx_entry_bottom(); ?> |
49 | 49 |
@@ -13,9 +13,9 @@ discard block |
||
13 | 13 | |
14 | 14 | <?php lsx_content_top(); ?> |
15 | 15 | |
16 | - <?php if(have_posts() && !class_exists('Lsx_Banners')) : ?> |
|
16 | + <?php if (have_posts() && ! class_exists('Lsx_Banners')) : ?> |
|
17 | 17 | |
18 | - <?php while ( have_posts() ) : the_post(); ?> |
|
18 | + <?php while (have_posts()) : the_post(); ?> |
|
19 | 19 | |
20 | 20 | <?php lsx_entry_before(); ?> |
21 | 21 | |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | |
37 | 37 | <div id="home-widgets"> |
38 | 38 | |
39 | - <?php if ( ! dynamic_sidebar( 'sidebar-home' ) ) : ?> |
|
39 | + <?php if ( ! dynamic_sidebar('sidebar-home')) : ?> |
|
40 | 40 | |
41 | 41 | |
42 | 42 | <?php endif; // end sidebar widget area ?> |
@@ -13,9 +13,9 @@ discard block |
||
13 | 13 | |
14 | 14 | <?php lsx_content_top(); ?> |
15 | 15 | |
16 | - <?php while ( have_posts() ) : the_post(); ?> |
|
16 | + <?php while (have_posts()) : the_post(); ?> |
|
17 | 17 | |
18 | - <?php get_template_part( 'content', 'page' ); ?> |
|
18 | + <?php get_template_part('content', 'page'); ?> |
|
19 | 19 | |
20 | 20 | <?php endwhile; // end of the loop. ?> |
21 | 21 | |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | <?php |
25 | 25 | // If comments are open or we have at least one comment, load up the comment template |
26 | - if ( comments_open() || '0' != get_comments_number() ) : |
|
26 | + if (comments_open() || '0' != get_comments_number()) : |
|
27 | 27 | comments_template(); |
28 | 28 | endif; |
29 | 29 | ?> |
@@ -13,9 +13,9 @@ discard block |
||
13 | 13 | |
14 | 14 | <?php lsx_content_top(); ?> |
15 | 15 | |
16 | - <?php while ( have_posts() ) : the_post(); ?> |
|
16 | + <?php while (have_posts()) : the_post(); ?> |
|
17 | 17 | |
18 | - <?php get_template_part( 'content', 'page' ); ?> |
|
18 | + <?php get_template_part('content', 'page'); ?> |
|
19 | 19 | |
20 | 20 | <?php endwhile; // end of the loop. ?> |
21 | 21 | |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | <?php |
25 | 25 | // If comments are open or we have at least one comment, load up the comment template |
26 | - if ( comments_open() || '0' != get_comments_number() ) : |
|
26 | + if (comments_open() || '0' != get_comments_number()) : |
|
27 | 27 | comments_template(); |
28 | 28 | endif; |
29 | 29 | ?> |
@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | |
18 | 18 | <?php lsx_content_top(); ?> |
19 | 19 | |
20 | - <?php if(have_posts()) { ?> |
|
21 | - <?php while(have_posts()) { the_post(); ?> |
|
20 | + <?php if (have_posts()) { ?> |
|
21 | + <?php while (have_posts()) { the_post(); ?> |
|
22 | 22 | <div class="entry-content"> |
23 | 23 | |
24 | 24 | <?php the_content(); ?> |
@@ -29,10 +29,10 @@ discard block |
||
29 | 29 | <?php } ?> |
30 | 30 | |
31 | 31 | <?php |
32 | - if ( get_query_var( 'paged' ) ) : |
|
33 | - $paged = get_query_var( 'paged' ); |
|
34 | - elseif ( get_query_var( 'page' ) ) : |
|
35 | - $paged = get_query_var( 'page' ); |
|
32 | + if (get_query_var('paged')) : |
|
33 | + $paged = get_query_var('paged'); |
|
34 | + elseif (get_query_var('page')) : |
|
35 | + $paged = get_query_var('page'); |
|
36 | 36 | else : |
37 | 37 | $paged = 1; |
38 | 38 | endif; |
@@ -41,18 +41,18 @@ discard block |
||
41 | 41 | 'post_type' => 'jetpack-portfolio', |
42 | 42 | 'posts_per_page' => -1, |
43 | 43 | ); |
44 | - $project_query = new WP_Query ( $args ); |
|
45 | - if ( post_type_exists( 'jetpack-portfolio' ) && $project_query -> have_posts() ) : |
|
44 | + $project_query = new WP_Query($args); |
|
45 | + if (post_type_exists('jetpack-portfolio') && $project_query -> have_posts()) : |
|
46 | 46 | ?> |
47 | 47 | |
48 | 48 | <?php lsx_portfolio_sorter(); ?> |
49 | 49 | |
50 | 50 | <div class="filter-items-wrapper lsx-portfolio-wrapper"> |
51 | 51 | <div class="filter-items-container lsx-portfolio masonry"> |
52 | - <?php while ( $project_query -> have_posts() ) : $project_query -> the_post(); ?> |
|
52 | + <?php while ($project_query -> have_posts()) : $project_query -> the_post(); ?> |
|
53 | 53 | |
54 | - <?php if(has_post_thumbnail()) { ?> |
|
55 | - <?php get_template_part( 'content', 'portfolio' ); ?> |
|
54 | + <?php if (has_post_thumbnail()) { ?> |
|
55 | + <?php get_template_part('content', 'portfolio'); ?> |
|
56 | 56 | <?php } ?> |
57 | 57 | |
58 | 58 | <?php endwhile; ?> |
@@ -63,17 +63,17 @@ discard block |
||
63 | 63 | |
64 | 64 | <section class="no-results not-found"> |
65 | 65 | <header class="page-header"> |
66 | - <h1 class="page-title"><?php _e( 'Nothing Found', 'lsx' ); ?></h1> |
|
66 | + <h1 class="page-title"><?php _e('Nothing Found', 'lsx'); ?></h1> |
|
67 | 67 | </header><!-- .page-header --> |
68 | 68 | |
69 | 69 | <div class="page-content"> |
70 | - <?php if ( current_user_can( 'publish_posts' ) ) : ?> |
|
70 | + <?php if (current_user_can('publish_posts')) : ?> |
|
71 | 71 | |
72 | - <p><?php printf( __( 'Ready to publish your first project? <a href="%1$s">Get started here</a>.', 'lsx' ), esc_url( admin_url( 'post-new.php?post_type=jetpack-portfolio' ) ) ); ?></p> |
|
72 | + <p><?php printf(__('Ready to publish your first project? <a href="%1$s">Get started here</a>.', 'lsx'), esc_url(admin_url('post-new.php?post_type=jetpack-portfolio'))); ?></p> |
|
73 | 73 | |
74 | 74 | <?php else : ?> |
75 | 75 | |
76 | - <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'lsx' ); ?></p> |
|
76 | + <p><?php _e('It seems we can’t find what you’re looking for. Perhaps searching can help.', 'lsx'); ?></p> |
|
77 | 77 | <?php get_search_form(); ?> |
78 | 78 | |
79 | 79 | <?php endif; ?> |
@@ -33,8 +33,10 @@ discard block |
||
33 | 33 | $paged = get_query_var( 'paged' ); |
34 | 34 | elseif ( get_query_var( 'page' ) ) : |
35 | 35 | $paged = get_query_var( 'page' ); |
36 | - else : |
|
36 | + else { |
|
37 | + : |
|
37 | 38 | $paged = 1; |
39 | + } |
|
38 | 40 | endif; |
39 | 41 | |
40 | 42 | $args = array( |
@@ -59,11 +61,14 @@ discard block |
||
59 | 61 | </div> |
60 | 62 | </div><!-- .portfolio-wrapper --> |
61 | 63 | |
62 | - <?php else : ?> |
|
64 | + <?php else { |
|
65 | + : ?> |
|
63 | 66 | |
64 | 67 | <section class="no-results not-found"> |
65 | 68 | <header class="page-header"> |
66 | - <h1 class="page-title"><?php _e( 'Nothing Found', 'lsx' ); ?></h1> |
|
69 | + <h1 class="page-title"><?php _e( 'Nothing Found', 'lsx' ); |
|
70 | +} |
|
71 | +?></h1> |
|
67 | 72 | </header><!-- .page-header --> |
68 | 73 | |
69 | 74 | <div class="page-content"> |
@@ -71,9 +76,12 @@ discard block |
||
71 | 76 | |
72 | 77 | <p><?php printf( __( 'Ready to publish your first project? <a href="%1$s">Get started here</a>.', 'lsx' ), esc_url( admin_url( 'post-new.php?post_type=jetpack-portfolio' ) ) ); ?></p> |
73 | 78 | |
74 | - <?php else : ?> |
|
79 | + <?php else { |
|
80 | + : ?> |
|
75 | 81 | |
76 | - <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'lsx' ); ?></p> |
|
82 | + <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'lsx' ); |
|
83 | +} |
|
84 | +?></p> |
|
77 | 85 | <?php get_search_form(); ?> |
78 | 86 | |
79 | 87 | <?php endif; ?> |