initial commit
This commit is contained in:
44
template-process.php
Executable file
44
template-process.php
Executable file
@@ -0,0 +1,44 @@
|
||||
<?php /* Template Name: Process template */ get_header(); ?>
|
||||
|
||||
<main role="main">
|
||||
<!-- section -->
|
||||
<section>
|
||||
|
||||
|
||||
<?php if (have_posts()): while (have_posts()) : the_post(); ?>
|
||||
|
||||
<!-- article -->
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
||||
|
||||
<?php the_content(); ?>
|
||||
|
||||
</article>
|
||||
<!-- /article -->
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<!-- article -->
|
||||
<article>
|
||||
|
||||
<h2>
|
||||
<?php _e( 'Sorry, nothing to display.', 'iotheme' ); ?>
|
||||
</h2>
|
||||
|
||||
</article>
|
||||
<!-- /article -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</section>
|
||||
<!-- /section -->
|
||||
</main>
|
||||
|
||||
<a class="theArrow">
|
||||
<object data="<?php echo get_template_directory_uri(); ?>/img/arrow.svg" type="image/svg+xml">
|
||||
<img src="<?php echo get_template_directory_uri(); ?>/img/arrow.png" />
|
||||
</object>
|
||||
</a>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user