@@ -29,8 +29,8 @@ |
||
29 | 29 | 'admin-preview-callback' => 'strip_admin_header_image', |
30 | 30 | ) ) ); |
31 | 31 | /** |
32 | - * Register default header image |
|
33 | - */ |
|
32 | + * Register default header image |
|
33 | + */ |
|
34 | 34 | register_default_headers( array( |
35 | 35 | 'default-image' => array( |
36 | 36 | 'url' => '%s/assets/images/Default-header.png', |
@@ -81,8 +81,8 @@ discard block |
||
81 | 81 | add_filter( 'the_content', 'filter_ptags_on_images' ); |
82 | 82 | |
83 | 83 | /** |
84 | - * This theme uses wp_nav_menu() in one location. |
|
85 | - */ |
|
84 | + * This theme uses wp_nav_menu() in one location. |
|
85 | + */ |
|
86 | 86 | register_nav_menus(array( |
87 | 87 | 'primary' => __( 'Primary Menu', 'strip' ), |
88 | 88 | )); |
@@ -101,8 +101,8 @@ discard block |
||
101 | 101 | ) ); |
102 | 102 | |
103 | 103 | /** |
104 | - * Enable support for Post Formats |
|
105 | - */ |
|
104 | + * Enable support for Post Formats |
|
105 | + */ |
|
106 | 106 | add_theme_support( 'post-formats', array( |
107 | 107 | 'image', |
108 | 108 | 'video', |
@@ -121,9 +121,9 @@ discard block |
||
121 | 121 | } |
122 | 122 | |
123 | 123 | /** |
124 | - * This theme styles the visual editor to resemble the theme style, |
|
125 | - * specifically font, colors, icons, and column width. |
|
126 | - */ |
|
124 | + * This theme styles the visual editor to resemble the theme style, |
|
125 | + * specifically font, colors, icons, and column width. |
|
126 | + */ |
|
127 | 127 | add_editor_style( array( '/assets/css/editor-style.css', '/assets/fonts/fenix.css' ) ); |
128 | 128 | |
129 | 129 | // Indicate widget sidebars can use selective refresh in the Customizer. |
@@ -418,8 +418,8 @@ discard block |
||
418 | 418 | 'query_var' => true, |
419 | 419 | 'rewrite' => array( 'slug' => 'story' ), |
420 | 420 | 'show_in_rest' => true, |
421 | - 'rest_base' => 'genre', |
|
422 | - 'rest_controller_class' => 'WP_REST_Terms_Controller', |
|
421 | + 'rest_base' => 'genre', |
|
422 | + 'rest_controller_class' => 'WP_REST_Terms_Controller', |
|
423 | 423 | ); |
424 | 424 | register_taxonomy( 'story', array( 'comic' ), $args ); |
425 | 425 | register_taxonomy_for_object_type( 'story', 'comic' ); |
@@ -71,14 +71,14 @@ discard block |
||
71 | 71 | // Get a SimplePie feed object from the specified feed source. |
72 | 72 | $rss = fetch_feed( $feed ); |
73 | 73 | if (!is_wp_error( $rss ) ) : // Checks that the object is created correctly |
74 | - // Figure out how many total items there are, and choose a limit |
|
75 | - $maxitems = $rss->get_item_quantity( 3 ); |
|
74 | + // Figure out how many total items there are, and choose a limit |
|
75 | + $maxitems = $rss->get_item_quantity( 3 ); |
|
76 | 76 | |
77 | - // Build an array of all the items, starting with element 0 (first element). |
|
78 | - $rss_items = $rss->get_items( 0, $maxitems ); |
|
77 | + // Build an array of all the items, starting with element 0 (first element). |
|
78 | + $rss_items = $rss->get_items( 0, $maxitems ); |
|
79 | 79 | |
80 | - // Get RSS title |
|
81 | - $rss_title = '<a href="'.$rss->get_permalink().'" target="_blank">'.strtoupper( $rss->get_title() ).'</a>'; |
|
80 | + // Get RSS title |
|
81 | + $rss_title = '<a href="'.$rss->get_permalink().'" target="_blank">'.strtoupper( $rss->get_title() ).'</a>'; |
|
82 | 82 | endif; |
83 | 83 | |
84 | 84 | // Display the container |
@@ -132,9 +132,9 @@ discard block |
||
132 | 132 | function strip_custom_dashboard_widgets() { |
133 | 133 | wp_add_dashboard_widget( 'strip_rss_dashboard_widget', __( 'SILENT COMICS blog', 'strip' ), 'strip_rss_dashboard_widget' ); |
134 | 134 | /** |
135 | - * Be sure to drop any other created Dashboard Widgets. |
|
136 | - * in this function and they will all load. |
|
137 | - */ |
|
135 | + * Be sure to drop any other created Dashboard Widgets. |
|
136 | + * in this function and they will all load. |
|
137 | + */ |
|
138 | 138 | } |
139 | 139 | // removing the dashboard widgets. |
140 | 140 | add_action( 'wp_dashboard_setup', 'disable_default_dashboard_widgets' ); |