diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-07-27 10:05:23 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-07-27 10:05:23 +0200 |
| commit | 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab (patch) | |
| tree | 39a1a4629749056191c05dfd899f931701b7acf3 /srcs/wordpress/wp-content/themes/twentyseventeen/front-page.php | |
| parent | 5afd237bbd22028b85532b8c0b3fcead49a00764 (diff) | |
| download | ft_server-master.tar.gz ft_server-master.tar.bz2 ft_server-master.zip | |
Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my famillyHEADmaster
Diffstat (limited to 'srcs/wordpress/wp-content/themes/twentyseventeen/front-page.php')
| -rw-r--r-- | srcs/wordpress/wp-content/themes/twentyseventeen/front-page.php | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/srcs/wordpress/wp-content/themes/twentyseventeen/front-page.php b/srcs/wordpress/wp-content/themes/twentyseventeen/front-page.php deleted file mode 100644 index 86078ad..0000000 --- a/srcs/wordpress/wp-content/themes/twentyseventeen/front-page.php +++ /dev/null @@ -1,59 +0,0 @@ -<?php -/** - * The front page template file - * - * If the user has selected a static page for their homepage, this is what will - * appear. - * Learn more: https://developer.wordpress.org/themes/basics/template-hierarchy/ - * - * @package WordPress - * @subpackage Twenty_Seventeen - * @since 1.0 - * @version 1.0 - */ - -get_header(); ?> - -<div id="primary" class="content-area"> - <main id="main" class="site-main" role="main"> - - <?php - // Show the selected front page content. - if ( have_posts() ) : - while ( have_posts() ) : - the_post(); - get_template_part( 'template-parts/page/content', 'front-page' ); - endwhile; - else : - get_template_part( 'template-parts/post/content', 'none' ); - endif; - ?> - - <?php - // Get each of our panels and show the post data. - if ( 0 !== twentyseventeen_panel_count() || is_customize_preview() ) : // If we have pages to show. - - /** - * Filter number of front page sections in Twenty Seventeen. - * - * @since Twenty Seventeen 1.0 - * - * @param int $num_sections Number of front page sections. - */ - $num_sections = apply_filters( 'twentyseventeen_front_page_sections', 4 ); - global $twentyseventeencounter; - - // Create a setting and control for each of the sections available in the theme. - for ( $i = 1; $i < ( 1 + $num_sections ); $i++ ) { - $twentyseventeencounter = $i; - twentyseventeen_front_page_section( null, $i ); - } - - endif; // The if ( 0 !== twentyseventeen_panel_count() ) ends here. - ?> - - </main><!-- #main --> -</div><!-- #primary --> - -<?php -get_footer(); |
