Changeset 298664 for lms-education-study/0.2.6/search.php
- Timestamp:
- 11/17/2025 06:12:54 AM (7 days ago)
- Location:
- lms-education-study/0.2.6
- Files:
-
- 1 edited
- 1 copied
-
. (copied) (copied from lms-education-study/0.2.5)
-
search.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lms-education-study/0.2.6/search.php
r268727 r298664 10 10 11 11 <div id="skip-content" class="container"> 12 <div class="row"> 13 <?php if (get_theme_mod('lms_education_study_blog_sidebar_position','Right Side') == 'Left Side'){?> 14 <?php get_sidebar(); ?> 15 <?php }?> 16 <div id="primary" class="content-area col-lg-9 col-md-8"> 17 <main id="main" class="site-main module-border-wrap mb-4"> 18 <div class="row"> 19 <?php if (have_posts()) { ?> 20 <header class="page-header"> 21 <h4 class="page-title"> 22 <?php 23 /* translators: %s: search query. */ 24 printf(esc_html__('Search Results for: %s', 'lms-education-study'), '<span>' . get_search_query() . '</span>'); 25 ?> 26 </h4> 27 </header> 28 <?php 29 /* Start the Loop */ 30 while (have_posts()) : the_post(); 12 <div id="primary" class="content-area"> 13 <main id="main" class="site-main module-border-wrap mb-4"> 14 <div class="row"> 15 <?php if (have_posts()) { ?> 16 17 <?php 18 19 /** 20 * Run the loop for the search to output the results. 21 * If you want to overload this in a child theme then include a file 22 * called content-search.php and that will be used instead. 23 */ 24 get_template_part( 'template-parts/patterns'); 31 25 32 /** 33 * Run the loop for the search to output the results. 34 * If you want to overload this in a child theme then include a file 35 * called content-search.php and that will be used instead. 36 */ 37 get_template_part( 'template-parts/content',get_post_format()); 26 }else { 38 27 39 endwhile;28 get_template_part('template-parts/content', 'none'); 40 29 41 if( get_theme_mod('lms_education_study_post_page_pagination',1) == 1){ 42 lms_education_study_blog_posts_pagination(); 43 } 44 45 }else { 46 47 get_template_part('template-parts/content', 'none'); 48 49 } ?> 50 </div> 51 </main> 52 </div> 53 <?php if (get_theme_mod('lms_education_study_blog_sidebar_position','Right Side') == 'Right Side'){?> 54 <?php get_sidebar(); ?> 55 <?php }?> 30 } ?> 31 </div> 32 </main> 56 33 </div> 57 34 </div>
Note: See TracChangeset
for help on using the changeset viewer.