File tree Expand file tree Collapse file tree 3 files changed +4
-34
lines changed
Expand file tree Collapse file tree 3 files changed +4
-34
lines changed Original file line number Diff line number Diff line change 2222
2323 <?php
2424 get_search_form ();
25-
26- the_widget ( 'WP_Widget_Recent_Posts ' );
27-
28- // Only show the widget if site has multiple categories.
29- if ( shapely_categorized_blog () ) :
30- ?>
31-
32- <div class="widget widget_categories">
33- <h2 class="widget-title"><?php esc_html_e ( 'Most Used Categories ' , 'shapely ' ); ?> </h2>
34- <ul>
35- <?php
36- wp_list_categories ( array (
37- 'orderby ' => 'count ' ,
38- 'order ' => 'DESC ' ,
39- 'show_count ' => 1 ,
40- 'title_li ' => '' ,
41- 'number ' => 10 ,
42- ) );
43- ?>
44- </ul>
45- </div><!-- .widget -->
46-
47- <?php
48- endif ;
49-
50- /* translators: %1$s: smiley */
51- $ archive_content = '<p> ' . sprintf ( esc_html__ ( 'Try looking in the monthly archives. %1$s ' , 'shapely ' ), convert_smilies ( ':) ' ) ) . '</p> ' ;
52- the_widget ( 'WP_Widget_Archives ' , 'dropdown=1 ' , "after_title=</h2> $ archive_content " );
53-
54- the_widget ( 'WP_Widget_Tag_Cloud ' );
5525 ?>
5626
5727 </div><!-- .page-content -->
Original file line number Diff line number Diff line change 5757 </div>
5858 </header><!-- #masthead -->
5959 <div id="content" class="main-container">
60- <?php if ( ! is_page_template ( 'page-templates/template-home.php ' ) ) : ?>
60+ <?php if ( ! is_page_template ( 'page-templates/template-home.php ' ) && ! is_404 () ) : ?>
6161 <div class="header-callout">
6262 <?php shapely_top_callout (); ?>
6363 </div>
Original file line number Diff line number Diff line change @@ -1763,19 +1763,19 @@ nav.fixed.scrolled {
17631763 width : 100% ;
17641764}
17651765
1766- .no-results form # s {
1766+ .not-found form # s {
17671767 max-width : 292px ;
17681768 width : 71% ;
17691769}
17701770
17711771.no-results form .searchsubmit {
17721772 margin : 0 ;
17731773}
1774- .no-results form .searchsubmit i {
1774+ .not-found form .searchsubmit i {
17751775 display : none;
17761776}
17771777
1778- .no-results form .searchsubmit span .screen-reader-text {
1778+ .not-found form .searchsubmit span .screen-reader-text {
17791779 clip : auto;
17801780 position : relative !important ;
17811781 height : auto;
You can’t perform that action at this time.
0 commit comments