Completed
Push — master ( 97c69b...0ad0d3 )
by Md. Mozahidur
02:08
created
page-template/page-services.php 1 patch
Indentation   +10 added lines, -10 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: Service
4
- *
5
- * @package Lighthouse
6
- */
3
+		 * Template Name: Service
4
+		 *
5
+		 * @package Lighthouse
6
+		 */
7 7
 get_header(); ?>
8 8
 
9 9
 <?php while ( have_posts() ) : the_post(); 	
@@ -37,9 +37,9 @@  discard block
 block discarded – undo
37 37
 <li class="blog-item shop-latest-item">
38 38
         <a href="<?php the_permalink() ?>" title="<?php  the_title_attribute() ?>">
39 39
           <?php
40
-          $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), 'blog-listing');
41
-          $url = $thumb[0];
42
-          ?>
40
+		  $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), 'blog-listing');
41
+		  $url = $thumb[0];
42
+		  ?>
43 43
         <div class="thumbnail blog-item-img" style="background-image:url('<?php echo $url; ?>'); background-color:<?php the_field('post_background_color'); ?>">
44 44
           <img class="img-responsive" src="<?php echo $url; ?>">
45 45
         </div>
@@ -57,9 +57,9 @@  discard block
 block discarded – undo
57 57
 <li class="blog-item shop-latest-item">
58 58
         <a href="<?php the_permalink() ?>" title="<?php  the_title_attribute() ?>">
59 59
           <?php
60
-          $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), 'blog-listing');
61
-          $url = $thumb[0];
62
-          ?>
60
+		  $thumb = wp_get_attachment_image_src( get_post_thumbnail_id(), 'blog-listing');
61
+		  $url = $thumb[0];
62
+		  ?>
63 63
         <div class="thumbnail blog-item-img" style="background-image:url('<?php echo $url; ?>'); background-color:<?php the_field('post_background_color'); ?>">
64 64
           <img class="img-responsive" src="<?php echo $url; ?>">
65 65
         </div>
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.
sidebar.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 sidebar containing the main widget area.
4
- *
5
- * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
6
- *
7
- * @package Lighthouse
8
- */
3
+		 * The sidebar containing the main widget area.
4
+		 *
5
+		 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
6
+		 *
7
+		 * @package Lighthouse
8
+		 */
9 9
 
10 10
 if ( ! is_active_sidebar( 'sidebar-1' ) ) {
11 11
 	return;
Please login to merge, or discard this patch.
template-parts/content-page.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 page content in page.php.
4
- *
5
- * @link https://codex.wordpress.org/Template_Hierarchy
6
- *
7
- * @package Lighthouse
8
- */
3
+		 * Template part for displaying page content in page.php.
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-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.
comments.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The template for displaying comments.
4
- *
5
- * This is the template that displays the area of the page that contains both the current comments
6
- * and the comment form.
7
- *
8
- * @link https://codex.wordpress.org/Template_Hierarchy
9
- *
10
- * @package Lighthouse
11
- */
3
+		 * The template for displaying comments.
4
+		 *
5
+		 * This is the template that displays the area of the page that contains both the current comments
6
+		 * and the comment form.
7
+		 *
8
+		 * @link https://codex.wordpress.org/Template_Hierarchy
9
+		 *
10
+		 * @package Lighthouse
11
+		 */
12 12
 
13 13
 /*
14 14
  * If the current post is protected by a password and
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.