-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #180 from mediasanctuary/eat-qrcode-final-touches
Eco Art Trail / qrcode final touches
- Loading branch information
Showing
4 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
wp-content/themes/mediasanctuary/css/pages/_eco-art-trail.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
body.page-template-eco-art-trail { | ||
background-color: $c-asphalt; | ||
color: $c-white; | ||
|
||
.content { | ||
max-width: 700px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
@import 'search'; | ||
@import '404'; | ||
@import 'events'; | ||
@import 'eco-art-trail'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
wp-content/themes/mediasanctuary/page-templates/eco-art-trail.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
/* | ||
Template Name: Eco Art Trail | ||
*/ | ||
?> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com"> | ||
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:ital,wght@0,300;0,400;1,400&family=Noto+Sans:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="<?php asset_url('dist/main.css'); ?>"> | ||
<link rel="shortcut icon" href="<?php asset_url('img/favicon.ico'); ?>"> | ||
<?php wp_head(); ?> | ||
</head> | ||
<body <?php body_class(); ?>> | ||
<div id="content" class="main eco-art-trail"> | ||
<section class="p40"> | ||
<div class="container "> | ||
<article class="post post--single"> | ||
<div class="content"> | ||
<?php | ||
|
||
if (have_posts()) { | ||
while(have_posts()) { | ||
the_post(); | ||
?> | ||
<h1><?php the_title(); ?></h1> | ||
<?php the_content(); ?> | ||
<?php | ||
} | ||
} else { | ||
echo "Not found."; | ||
} | ||
|
||
?> | ||
</div> | ||
</article> | ||
</div> | ||
</section> | ||
<?php wp_footer(); ?> | ||
</div> | ||
</body> | ||
</html> |