Passed
Push — master ( 5d5472...574619 )
by Amit
02:47
created
inc/menu.php 1 patch
Spacing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -10,17 +10,17 @@  discard block
 block discarded – undo
10 10
 function podium_top_nav()
11 11
 {
12 12
     wp_nav_menu([
13
-        'container'       => false,                    // Remove nav container
14
-        'container_class' => '',                       // Class of container
13
+        'container'       => false, // Remove nav container
14
+        'container_class' => '', // Class of container
15 15
         'menu'            => 'The Top Menu', 'podium', // Menu name
16
-        'menu_class'      => 'dropdown menu',          // Adding custom nav class
17
-        'theme_location'  => 'main-nav',               // Where it's located in the theme
18
-        'before'          => '',                       // Before each link <a>
19
-        'after'           => '',                       // After each link </a>
20
-        'link_before'     => '',                       // Before each link text
21
-        'link_after'      => '',                       // After each link text
22
-        'depth'           => 3,                        // Limit the depth of the nav
23
-        'fallback_cb'     => false,                    // Fallback function (see below)
16
+        'menu_class'      => 'dropdown menu', // Adding custom nav class
17
+        'theme_location'  => 'main-nav', // Where it's located in the theme
18
+        'before'          => '', // Before each link <a>
19
+        'after'           => '', // After each link </a>
20
+        'link_before'     => '', // Before each link text
21
+        'link_after'      => '', // After each link text
22
+        'depth'           => 3, // Limit the depth of the nav
23
+        'fallback_cb'     => false, // Fallback function (see below)
24 24
         'walker'          => new Top_Bar_Walker()
25 25
     ]);
26 26
 }
@@ -30,17 +30,17 @@  discard block
 block discarded – undo
30 30
 function podium_off_canvas()
31 31
 {
32 32
     wp_nav_menu([
33
-        'container'       => false,             // Remove nav container
34
-        'container_class' => '',                // Class of container
35
-        'menu'            => '',                // Menu name
33
+        'container'       => false, // Remove nav container
34
+        'container_class' => '', // Class of container
35
+        'menu'            => '', // Menu name
36 36
         'menu_class'      => 'off-canvas-list', // Adding custom nav class
37
-        'theme_location'  => 'main-nav',        // Where it's located in the theme
38
-        'before'          => '',                // Before each link <a>
39
-        'after'           => '',                // After each link </a>
40
-        'link_before'     => '',                // Before each link text
41
-        'link_after'      => '',                // After each link text
42
-        'depth'           => 2,                 // Limit the depth of the nav
43
-        'fallback_cb'     => false,             // Fallback function (see below)
37
+        'theme_location'  => 'main-nav', // Where it's located in the theme
38
+        'before'          => '', // Before each link <a>
39
+        'after'           => '', // After each link </a>
40
+        'link_before'     => '', // Before each link text
41
+        'link_after'      => '', // After each link text
42
+        'depth'           => 2, // Limit the depth of the nav
43
+        'fallback_cb'     => false, // Fallback function (see below)
44 44
         'walker'          => new Offcanvas_Walker()
45 45
     ]);
46 46
 }
@@ -49,16 +49,16 @@  discard block
 block discarded – undo
49 49
 function podium_footer_links()
50 50
 {
51 51
     wp_nav_menu([
52
-        'container'       => '',                             // Remove nav container
53
-        'container_class' => 'footer-links clearfix',        // Class of container (should you choose to use it)
54
-        'menu'            => __('Footer Links', 'podium'),   // Nav name
55
-        'menu_class'      => 'sub-nav',                      // Adding custom nav class
56
-        'theme_location'  => 'footer-links',                 // Where it's located in the theme
57
-        'before'          => '',                             // Before the menu
58
-        'after'           => '',                             // After the menu
59
-        'link_before'     => '',                             // Before each link
60
-        'link_after'      => '',                             // After each link
61
-        'depth'           => 0,                              // Limit the depth of the nav
52
+        'container'       => '', // Remove nav container
53
+        'container_class' => 'footer-links clearfix', // Class of container (should you choose to use it)
54
+        'menu'            => __('Footer Links', 'podium'), // Nav name
55
+        'menu_class'      => 'sub-nav', // Adding custom nav class
56
+        'theme_location'  => 'footer-links', // Where it's located in the theme
57
+        'before'          => '', // Before the menu
58
+        'after'           => '', // After the menu
59
+        'link_before'     => '', // Before each link
60
+        'link_after'      => '', // After each link
61
+        'depth'           => 0, // Limit the depth of the nav
62 62
         'fallback_cb'     => 'podium_footer_links_fallback' // Fallback function
63 63
     ]);
64 64
 }
Please login to merge, or discard this patch.
inc/menu-walkers.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -80,14 +80,14 @@
 block discarded – undo
80 80
  */
81 81
 final class Offcanvas_Walker extends Walker_Nav_Menu
82 82
 {
83
-                                                             /**
84
-     * @param $element
85
-     * @param $children_elements
86
-     * @param $max_depth
87
-     * @param $depth
88
-     * @param $args
89
-     * @param $output
90
-     */
83
+                                                                /**
84
+                                                                 * @param $element
85
+                                                                 * @param $children_elements
86
+                                                                 * @param $max_depth
87
+                                                                 * @param $depth
88
+                                                                 * @param $args
89
+                                                                 * @param $output
90
+                                                                 */
91 91
     public function display_element($element, &$children_elements, $max_depth, $depth = 0, $args, &$output)
92 92
     {
93 93
         $element->has_children = !empty($children_elements[$element->ID]);
Please login to merge, or discard this patch.
inc/tgm.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -103,15 +103,15 @@
 block discarded – undo
103 103
      * Only uncomment the strings in the config array if you want to customize the strings.
104 104
      */
105 105
     $config = [
106
-        'id'           => 'podium-tgmpa',                 // Unique ID for hashing notices for multiple instances of TGMPA.
107
-        'default_path' => '',                             // Default absolute path to bundled plugins.
106
+        'id'           => 'podium-tgmpa', // Unique ID for hashing notices for multiple instances of TGMPA.
107
+        'default_path' => '', // Default absolute path to bundled plugins.
108 108
         'menu'         => 'podium-tgmpa-install-plugins', // Menu slug.
109
-        'parent_slug'  => 'themes.php',                   // Parent menu slug.
110
-        'capability'   => 'edit_theme_options',           // Capability needed to view plugin install page, should be a capability associated with the parent menu used.
111
-        'has_notices'  => true,                           // Show admin notices or not.
112
-        'dismissable'  => false,                          // If false, a user cannot dismiss the nag message.
113
-        'dismiss_msg'  => '',                             // If 'dismissable' is false, this message will be output at top of nag.
114
-        'is_automatic' => false,                          // Automatically activate plugins after installation or not.
109
+        'parent_slug'  => 'themes.php', // Parent menu slug.
110
+        'capability'   => 'edit_theme_options', // Capability needed to view plugin install page, should be a capability associated with the parent menu used.
111
+        'has_notices'  => true, // Show admin notices or not.
112
+        'dismissable'  => false, // If false, a user cannot dismiss the nag message.
113
+        'dismiss_msg'  => '', // If 'dismissable' is false, this message will be output at top of nag.
114
+        'is_automatic' => false, // Automatically activate plugins after installation or not.
115 115
         'message'      => ''                             // Message to output right before the plugins table.
116 116
 
117 117
         /*
Please login to merge, or discard this patch.
functions.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -8,23 +8,23 @@
 block discarded – undo
8 8
 
9 9
 // require array list
10 10
 $reqire_files = [
11
-    '/inc/enqueue-scripts.php',  // Enqueue scripts and styles.
12
-    '/inc/cleanup.php',          // cleanup & setup theme.
13
-    '/inc/widgets.php',          // Implement Custom widgets.
14
-    '/inc/template-tags.php',    // Custom template tags for this theme.
15
-    '/inc/extras.php',           // Custom functions that act independently of the theme templates.
16
-    '/inc/customizer.php',       // Customizer additions.
17
-    '/inc/menu-walkers.php',     // TODO -> make comment describing the functionality of the page
18
-    '/inc/menu.php',             // TODO -> make comment describing the functionality of the page
19
-    '/inc/admin.php',            // Code for better handaling the admin area
20
-    '/inc/custom-fields.php',    // Inintialize custom fields (if you prefer to do this without ACF)
11
+    '/inc/enqueue-scripts.php', // Enqueue scripts and styles.
12
+    '/inc/cleanup.php', // cleanup & setup theme.
13
+    '/inc/widgets.php', // Implement Custom widgets.
14
+    '/inc/template-tags.php', // Custom template tags for this theme.
15
+    '/inc/extras.php', // Custom functions that act independently of the theme templates.
16
+    '/inc/customizer.php', // Customizer additions.
17
+    '/inc/menu-walkers.php', // TODO -> make comment describing the functionality of the page
18
+    '/inc/menu.php', // TODO -> make comment describing the functionality of the page
19
+    '/inc/admin.php', // Code for better handaling the admin area
20
+    '/inc/custom-fields.php', // Inintialize custom fields (if you prefer to do this without ACF)
21 21
     '/inc/custom-post-type.php', // Inintialize unique CPT's and taxonomies for this project
22
-    '/inc/pagination.php',       // More flexible pagination function
23
-    '/inc/clean-filenames.php',  // Custom functions to clean filenames from Unicode to ASCII
24
-    '/inc/config.php',           // get the settings for the wordpress theme.
25
-    '/inc/media.php',            // Media functions.
26
-    '/inc/vendor/autoload.php',  // Load Composer packages
27
-    '/inc/tgm.php',              // Plugin installation and activation for Podium based themes.
22
+    '/inc/pagination.php', // More flexible pagination function
23
+    '/inc/clean-filenames.php', // Custom functions to clean filenames from Unicode to ASCII
24
+    '/inc/config.php', // get the settings for the wordpress theme.
25
+    '/inc/media.php', // Media functions.
26
+    '/inc/vendor/autoload.php', // Load Composer packages
27
+    '/inc/tgm.php', // Plugin installation and activation for Podium based themes.
28 28
     '/inc/editor-caps.php'       // Configure editor role capabilities
29 29
 
30 30
     // '/inc/disable-feeds.php'  //   Remove fedds content and links
Please login to merge, or discard this patch.
inc/admin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,10 +7,10 @@
 block discarded – undo
7 7
 {
8 8
 
9 9
     remove_meta_box('dashboard_recent_comments', 'dashboard', 'core'); // Comments Widget
10
-    remove_meta_box('dashboard_incoming_links', 'dashboard', 'core');  // Incoming Links Widget
11
-    remove_meta_box('dashboard_plugins', 'dashboard', 'core');         // Plugins Widget
12
-    remove_meta_box('dashboard_quick_press', 'dashboard', 'core');     // Quick Press Widget
13
-    remove_meta_box('dashboard_recent_drafts', 'dashboard', 'core');   // Recent Drafts Widget
10
+    remove_meta_box('dashboard_incoming_links', 'dashboard', 'core'); // Incoming Links Widget
11
+    remove_meta_box('dashboard_plugins', 'dashboard', 'core'); // Plugins Widget
12
+    remove_meta_box('dashboard_quick_press', 'dashboard', 'core'); // Quick Press Widget
13
+    remove_meta_box('dashboard_recent_drafts', 'dashboard', 'core'); // Recent Drafts Widget
14 14
     remove_meta_box('dashboard_primary', 'dashboard', 'core');
15 15
     remove_meta_box('dashboard_secondary', 'dashboard', 'core');
16 16
     remove_meta_box('yoast_db_widget', 'dashboard', 'normal'); // Yoast's SEO Plugin Widget
Please login to merge, or discard this patch.
page-template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,4 +54,4 @@
 block discarded – undo
54 54
 ?>
55 55
 </div><!-- #content -->
56 56
 </div><!-- .grid-container -->
57
-<?php get_footer();?>
57
+<?php get_footer(); ?>
Please login to merge, or discard this patch.
index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,4 +71,4 @@
 block discarded – undo
71 71
 </div><!-- #content -->
72 72
 </div><!-- .grid-container -->
73 73
 
74
-<?php get_footer();?>
74
+<?php get_footer(); ?>
Please login to merge, or discard this patch.
footer.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
    </a>
17 17
    <span class="sep"> | </span>
18 18
    <?php
19
-   printf(esc_html__('Theme: %1$s by %2$s.', 'podium'), 'podium', '<a href="http://win-site.co.il/" rel="designer">Amit Tal</a>');
20
-   ?>
19
+    printf(esc_html__('Theme: %1$s by %2$s.', 'podium'), 'podium', '<a href="http://win-site.co.il/" rel="designer">Amit Tal</a>');
20
+    ?>
21 21
  </div><!-- .site-info -->
22 22
 </footer><!-- #colophon -->
23 23
 </div><!-- .grid-container -->
Please login to merge, or discard this patch.
page.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,4 +54,4 @@
 block discarded – undo
54 54
 ?>
55 55
 </div><!-- #content -->
56 56
 </div><!-- .grid-container -->
57
-<?php get_footer();?>
57
+<?php get_footer(); ?>
Please login to merge, or discard this patch.