solid v3 setup, wip

This commit is contained in:
Lukas Juhas 2017-06-06 15:23:36 +01:00
parent b02b2f2519
commit 7e87836ada
62 changed files with 665 additions and 4867 deletions

View file

38
templates/README.MD Normal file
View file

@ -0,0 +1,38 @@
# Templates
Create a file caleld template-{template_name}.php. Make sure you include template
name, e.g.:
```
<?php
/**
* Template Name: Contact Page
*/
get_header();
?>
<main class="main" role="main">
<div class="container">
<?php while ( have_posts() ) : the_post(); ?>
<div class="row flex">
<div class="col col--xs-12 col--sm-12 col--md-8 col--lg-8">
<div class="content <?php the_field('colour'); ?>">
<?php the_content(); ?>
</div>
</div>
<div class="col col--xs-12 col--sm-12 col--md-4 col--lg-4">
<?php get_sidebar('university'); ?>
</div>
</div>
<?php endwhile; ?>
</div>
</main>
<?php get_footer(); ?>
```