Initial commit: gustavoo portfolio project
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* Portfolio landing page.
|
||||
*
|
||||
* @package Gustavo_Portfolio
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<main id="primary" class="site-main front-page">
|
||||
<?php get_template_part( 'template-parts/front/hero' ); ?>
|
||||
<?php get_template_part( 'template-parts/front/about' ); ?>
|
||||
<?php get_template_part( 'template-parts/front/services' ); ?>
|
||||
<?php get_template_part( 'template-parts/front/projects' ); ?>
|
||||
|
||||
<?php if ( is_page() && have_posts() ) : ?>
|
||||
<?php
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
$gustavoo_front_content = trim( (string) get_the_content() );
|
||||
|
||||
if ( $gustavoo_front_content ) {
|
||||
?>
|
||||
<div class="section section--custom-content">
|
||||
<div class="site-shell entry-content">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php get_template_part( 'template-parts/front/contact' ); ?>
|
||||
<?php get_template_part( 'template-parts/front/posts' ); ?>
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
Reference in New Issue
Block a user