Skip to content

Instantly share code, notes, and snippets.

@codeweberdotcom1
Last active March 22, 2022 21:24
Show Gist options
  • Save codeweberdotcom1/d779c7759fc80f07e5a625c69c567696 to your computer and use it in GitHub Desktop.
Save codeweberdotcom1/d779c7759fc80f07e5a625c69c567696 to your computer and use it in GitHub Desktop.
fff
<?php get_header(); ?>
<main id="content-wrapper">
<section id="section-hero" class="has-img-background" >
<?php
get_template_part( 'templates/sections/home', 'hero' );
?>
</section> <!-- #section-hero -->
<section id="section-services">
<?php
$args = array(
'post_type' => 'post',
'posts_per_page' => 3,
);
get_template_part( 'templates/sections/home', 'services', $args );
?>
</section> <!-- #section-services -->
<section id="section-slider">
<?php
$args = array(
'post_type' => 'post',
'posts_per_page' => 3,
);
get_template_part( 'templates/sections/home', 'slider', $args );
?>
</section> <!-- #section-slider -->
<section id="section-news">
<?php
$args = array(
'post_type' => 'post',
'posts_per_page' => 3,
);
get_template_part( 'templates/sections/home', 'news', $args );
?>
</section> <!-- #section-news -->
<section id="section-cta">
<?php
$args = array(
'post_type' => 'post',
'posts_per_page' => 1,
);
get_template_part( 'templates/sections/home', 'cta', $args );
?>
</section> <!-- #section-cta -->
</main> <!-- #content-wrapper -->
<?php
get_footer();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment