Completed
Branch master (155ad5)
by Md. Mozahidur
02:20
created
page.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The template for displaying all pages.
4
- *
5
- * This is the template that displays all pages by default.
6
- * Please note that this is the WordPress construct of pages
7
- * and that other 'pages' on your WordPress site may use a
8
- * different template.
9
- *
10
- * @link https://codex.wordpress.org/Template_Hierarchy
11
- *
12
- * @package Lighthouse
13
- */
3
+					 * The template for displaying all pages.
4
+					 *
5
+					 * This is the template that displays all pages by default.
6
+					 * Please note that this is the WordPress construct of pages
7
+					 * and that other 'pages' on your WordPress site may use a
8
+					 * different template.
9
+					 *
10
+					 * @link https://codex.wordpress.org/Template_Hierarchy
11
+					 *
12
+					 * @package Lighthouse
13
+					 */
14 14
 
15 15
 get_header(); ?>
16 16
 
Please login to merge, or discard this patch.
archive.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 archive pages.
4
- *
5
- * @link https://codex.wordpress.org/Template_Hierarchy
6
- *
7
- * @package Lighthouse
8
- */
3
+			 * The template for displaying archive pages.
4
+			 *
5
+			 * @link https://codex.wordpress.org/Template_Hierarchy
6
+			 *
7
+			 * @package Lighthouse
8
+			 */
9 9
 
10 10
 get_header(); ?>
11 11
 
Please login to merge, or discard this patch.
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-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-contact.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: Contact
4
- *
5
- * @package Lighthouse
6
- */
3
+				 * Template Name: Contact
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-affinity.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: Affinity
4
- *
5
- * @package Lighthouse
6
- */
3
+				 * Template Name: Affinity
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-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.
index.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * The main template file.
4
- *
5
- * This is the most generic template file in a WordPress theme
6
- * and one of the two required files for a theme (the other being style.css).
7
- * It is used to display a page when nothing more specific matches a query.
8
- * E.g., it puts together the home page when no home.php file exists.
9
- *
10
- * @link https://codex.wordpress.org/Template_Hierarchy
11
- *
12
- * @package Lighthouse
13
- */
3
+		   * The main template file.
4
+		   *
5
+		   * This is the most generic template file in a WordPress theme
6
+		   * and one of the two required files for a theme (the other being style.css).
7
+		   * It is used to display a page when nothing more specific matches a query.
8
+		   * E.g., it puts together the home page when no home.php file exists.
9
+		   *
10
+		   * @link https://codex.wordpress.org/Template_Hierarchy
11
+		   *
12
+		   * @package Lighthouse
13
+		   */
14 14
 
15 15
 get_header(); ?>
16 16
 
Please login to merge, or discard this patch.