Completed
Push — master ( 283548...e14da1 )
by Md. Mozahidur
06:15 queued 02:17
created
page-template/page-divisions.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template Name: Divisions
4
- *
5
- * @package Lighthouse
6
- */
3
+		 * Template Name: Divisions
4
+		 *
5
+		 * @package Lighthouse
6
+		 */
7 7
 get_header(); ?>
8 8
 
9 9
 <?php while ( have_posts() ) : the_post(); 	
Please login to merge, or discard this patch.
page-template/page-home.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template Name: Home
4
- *
5
- * @package Lighthouse
6
- */
3
+		 * Template Name: Home
4
+		 *
5
+		 * @package Lighthouse
6
+		 */
7 7
 ?><!DOCTYPE html>
8 8
 <html <?php language_attributes(); ?>>
9 9
 <head>
Please login to merge, or discard this patch.
page-template/page-blog.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template Name: Blog
4
- *
5
- * @package Lighthouse
6
- */
3
+	 * Template Name: Blog
4
+	 *
5
+	 * @package Lighthouse
6
+	 */
7 7
 get_header(); ?>
8 8
     <div class="title-area">
9 9
     <h1 class="page-title">Blog</h1>
@@ -41,37 +41,37 @@  discard block
 block discarded – undo
41 41
                 }
42 42
             }
43 43
             echo '<li><a href="javascript:void(0)" title="" data-filter=".all" class="active">All</a></li>';
44
-        **/ ?>
44
+	 **/ ?>
45 45
     </ul>
46 46
 
47 47
 
48 48
 <div id="blogContent">
49 49
               <?php 
50
-       $args = array( 'post_type' => 'post', 'posts_per_page' => -1 );
51
-       $loop = new WP_Query( $args );
52
-         while ( $loop->have_posts() ) : $loop->the_post(); 
50
+	   $args = array( 'post_type' => 'post', 'posts_per_page' => -1 );
51
+	   $loop = new WP_Query( $args );
52
+		 while ( $loop->have_posts() ) : $loop->the_post(); 
53 53
  
54
-       $terms = get_the_terms( $post->ID, 'category' );           
55
-            if ( $terms && ! is_wp_error( $terms ) ) : 
54
+	   $terms = get_the_terms( $post->ID, 'category' );           
55
+			if ( $terms && ! is_wp_error( $terms ) ) : 
56 56
  
57
-                $links = array();
57
+				$links = array();
58 58
  
59
-                foreach ( $terms as $term ) {
60
-                    $links[] = $term->name;
61
-                }
59
+				foreach ( $terms as $term ) {
60
+					$links[] = $term->name;
61
+				}
62 62
  
63
-                $tax_links = join( " ", str_replace(' ', '-', $links));          
64
-                $tax = strtolower($tax_links);
65
-            else :  
66
-          $tax = '';          
67
-            endif; ?>
63
+				$tax_links = join( " ", str_replace(' ', '-', $links));          
64
+				$tax = strtolower($tax_links);
65
+			else :  
66
+		  $tax = '';          
67
+			endif; ?>
68 68
  
69 69
         <div class="all blog-item <?php echo $tax; ?>">
70 70
         <a href="<?php the_permalink() ?>" title="<?php  the_title_attribute() ?>">
71 71
           <?php
72
-          $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), 'blog-listing');
73
-          $url = $thumb[0];
74
-          ?>
72
+		  $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), 'blog-listing');
73
+		  $url = $thumb[0];
74
+		  ?>
75 75
         <div class="thumbnail blog-item-img load-fadeInUp" style="background-image:url('<?php echo $url; ?>'); background-color:<?php the_field('post_background_color'); ?>">
76 76
           <img class="img-responsive" src="<?php echo $url; ?>">
77 77
         </div>
Please login to merge, or discard this patch.
template-parts/content-none.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template part for displaying a message that posts cannot be found.
4
- *
5
- * @link https://codex.wordpress.org/Template_Hierarchy
6
- *
7
- * @package Lighthouse
8
- */
3
+		 * Template part for displaying a message that posts cannot be found.
4
+		 *
5
+		 * @link https://codex.wordpress.org/Template_Hierarchy
6
+		 *
7
+		 * @package Lighthouse
8
+		 */
9 9
 
10 10
 ?>
11 11
 
Please login to merge, or discard this patch.
template-parts/content-search.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Template part for displaying results in search pages.
4
- *
5
- * @link https://codex.wordpress.org/Template_Hierarchy
6
- *
7
- * @package Lighthouse
8
- */
3
+		 * Template part for displaying results in search pages.
4
+		 *
5
+		 * @link https://codex.wordpress.org/Template_Hierarchy
6
+		 *
7
+		 * @package Lighthouse
8
+		 */
9 9
 
10 10
 ?>
11 11
 
Please login to merge, or discard this patch.
single.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The template for displaying all single posts.
4
- *
5
- * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
6
- *
7
- * @package Lighthouse
8
- */
3
+	 * The template for displaying all single posts.
4
+	 *
5
+	 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
6
+	 *
7
+	 * @package Lighthouse
8
+	 */
9 9
 
10 10
 get_header(); ?>
11 11
 
Please login to merge, or discard this patch.
footer.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The template for displaying the footer.
4
- *
5
- * Contains the closing of the #content div and all content after.
6
- *
7
- * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
8
- *
9
- * @package Lighthouse
10
- */
3
+		 * The template for displaying the footer.
4
+		 *
5
+		 * Contains the closing of the #content div and all content after.
6
+		 *
7
+		 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
8
+		 *
9
+		 * @package Lighthouse
10
+		 */
11 11
 
12 12
 ?>
13 13
 
Please login to merge, or discard this patch.
inc/customizer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Lighthouse Theme Customizer.
4
- *
5
- * @package Lighthouse
6
- */
3
+	 * Lighthouse Theme Customizer.
4
+	 *
5
+	 * @package Lighthouse
6
+	 */
7 7
 
8 8
 /**
9 9
  * Add postMessage support for site title and description for the Theme Customizer.
Please login to merge, or discard this patch.
inc/custom-header.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,19 +1,19 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Sample implementation of the Custom Header feature.
4
- *
5
- * You can add an optional custom header image to header.php like so ...
6
- *
3
+	 * Sample implementation of the Custom Header feature.
4
+	 *
5
+	 * You can add an optional custom header image to header.php like so ...
6
+	 *
7 7
 	<?php if ( get_header_image() ) : ?>
8 8
 	<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
9 9
 		<img src="<?php header_image(); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="">
10 10
 	</a>
11 11
 	<?php endif; // End header image check. ?>
12
- *
13
- * @link https://developer.wordpress.org/themes/functionality/custom-headers/
14
- *
15
- * @package Lighthouse
16
- */
12
+	 *
13
+	 * @link https://developer.wordpress.org/themes/functionality/custom-headers/
14
+	 *
15
+	 * @package Lighthouse
16
+	 */
17 17
 
18 18
 /**
19 19
  * Set up the WordPress core custom header feature.
Please login to merge, or discard this patch.