Website Summary Files Commits Branches @commit @diff @stats
path: root / wp-content / themes / carmag / templates / starter-allsections.php
blob: c98d7b833d4a04d16922f880c9d9109b068c49b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
/**
 * Template Name: >> All sections <<
 *
 * Use this for reference when developing your themes. There
 * are comments to help you out setitng up these sections. Feel free
 * to use get_template_part or copy-paste the markup for more freedom.
 *
 * @since  v1.0.0
 * @package CarMag
 */

get_header(); ?>

<!-- This is a large background image with text overlaying it. -->
<?php get_template_part( 'snippets/section', 'hero' ); ?>

<div class="section-fullwidth inverted">
	<div class="row">
		<div class="columns">
			<?php get_template_part( 'snippets/flex', 'grid' ); ?>
		</div><!-- .columns -->
	</div><!-- .row -->
</div><!-- .section-fullwidth -->

<!-- Left and right aligned image with text next to them -->
<section class="section-fullwidth">
	<div class="row">
		<div class="column">
			<?php get_template_part( 'snippets/section', 'heading' ); ?>
			<?php get_template_part( 'snippets/section', 'halfsplit' ); ?>
		</div><!-- .column -->
	</div><!-- .row -->
</section><!-- .section-fullwidth -->

<div class="section-fullwidth border-top border-bottom">
	<div class="row">
		<div class="columns">
			<?php get_template_part( 'snippets/flex', 'grid' ); ?>
		</div><!-- .columns -->
	</div><!-- .row -->
</div><!-- .section-fullwidth -->

<!-- Basic fullwidth view. Open the file and grab what you need from there -->
<?php get_template_part( 'snippets/section', 'fullwidth-basic' ); ?>
<?php get_template_part( 'snippets/section', 'faq-large' ); ?>
<?php get_template_part( 'snippets/section', 'features-grid' ); ?>
<?php get_template_part( 'snippets/section', 'call-to-action' ); ?>
<?php get_template_part( 'snippets/section', 'welcome' ); ?>

<?php get_footer(); ?>