contact us
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
<?php
|
||||
// First, render the page header. You'll likely do this on every custom theme
|
||||
// php file.
|
||||
get_header();
|
||||
|
||||
// Next, gather any data that you want, and pass it to the render method to bind
|
||||
// your data to a template file. In the example below, the ./tpl/index.tpl file
|
||||
// will be given the current page content, and today's timestamp.
|
||||
echo site()->render("index", site()->getCurrentPost(["content", "title"]));
|
||||
echo site()->render("index", site()->getCurrentPost(["content", "title", "thumbnail"]));
|
||||
|
||||
// ...and finally, make sure you close out your page render the WordPress way!
|
||||
get_footer();
|
||||
|
||||
@@ -1,8 +1,17 @@
|
||||
<section class="intro_block" style="background-image: url({{ thumbnail }})">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h1 class="watch-vp">Contact Us</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="default-content">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h1>{{ title }}</h1>
|
||||
{{{ content }}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user