sewmyheadon /
bitsy
| 1 | <?php |
||||||
| 2 | /** |
||||||
| 3 | * The template for displaying 404 pages (not found). |
||||||
| 4 | * |
||||||
| 5 | * @link https://codex.wordpress.org/Creating_an_Error_404_Page |
||||||
| 6 | * |
||||||
| 7 | * @package bitsy |
||||||
| 8 | */ |
||||||
| 9 | ?> |
||||||
| 10 | <section class="error-404 not-found"> |
||||||
| 11 | <header class="page-header"> |
||||||
| 12 | <h1 class="page-title"><?php esc_html_e( 'Oops! That page can’t be found.', 'bitsy' ); ?></h1> |
||||||
|
1 ignored issue
–
show
Bug
introduced
by
Loading history...
|
|||||||
| 13 | </header><!-- .page-header --> |
||||||
| 14 | |||||||
| 15 | <div class="page-content"> |
||||||
| 16 | <p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'bitsy' ); ?></p> |
||||||
| 17 | |||||||
| 18 | <?php |
||||||
| 19 | get_search_form(); |
||||||
|
1 ignored issue
–
show
The function
get_search_form was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 20 | |||||||
| 21 | the_widget( 'WP_Widget_Recent_Posts' ); |
||||||
|
1 ignored issue
–
show
The function
the_widget was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 22 | |||||||
| 23 | ?> |
||||||
| 24 | |||||||
| 25 | <div class="widget widget_categories"> |
||||||
| 26 | <h2 class="widget-title"><?php esc_html_e( 'Most Used Categories', 'bitsy' ); ?></h2> |
||||||
| 27 | <ul> |
||||||
| 28 | <?php |
||||||
| 29 | wp_list_categories( array( |
||||||
|
1 ignored issue
–
show
The function
wp_list_categories was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 30 | 'orderby' => 'count', |
||||||
| 31 | 'order' => 'DESC', |
||||||
| 32 | 'show_count' => 1, |
||||||
| 33 | 'title_li' => '', |
||||||
| 34 | 'number' => 10, |
||||||
| 35 | ) ); |
||||||
| 36 | ?> |
||||||
| 37 | </ul> |
||||||
| 38 | </div><!-- .widget --> |
||||||
| 39 | |||||||
| 40 | <?php |
||||||
| 41 | /* translators: %1$s: smiley */ |
||||||
| 42 | $archive_content = '<p>' . sprintf( esc_html__( 'Try looking in the monthly archives. %1$s', 'bitsy' ), convert_smilies( ':)' ) ) . '</p>'; |
||||||
|
2 ignored issues
–
show
The function
convert_smilies was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
The function
esc_html__ was not found. Maybe you did not declare it correctly or list all dependencies?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||||
| 43 | the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" ); |
||||||
| 44 | |||||||
| 45 | the_widget( 'WP_Widget_Tag_Cloud' ); |
||||||
| 46 | ?> |
||||||
| 47 | |||||||
| 48 | </div><!-- .page-content --> |
||||||
| 49 | </section><!-- .error-404 --> |
||||||
| 50 |