post template
-
i would like to make a custom post template with the following in the body.
<img class="aligncenter wp-image-64 size-full" src="https://www.simplelifeaustralia.com/wp-content/uploads/2017/07/hr1.jpg" alt="" width="800" height="100" /> <table class=" aligncenter"> <tbody> <tr> <td style="text-align: left; vertical-align: top; width: 78.65625px;"><img class="alignnone wp-image-60" style="font-family: inherit; font-size: inherit;" src="https://www.simplelifeaustralia.com/wp-content/uploads/2017/07/Screen-Shot-2017-06-23-at-12.51.45.png" alt="" width="88" height="73" /></td> <td style="width: 662.71875px;"><span style="font-size: large;">INSERT SLOW-BITES TEXT HERE</span></td> <td style="text-align: right; vertical-align: bottom; width: 78.65625px;"><img class="alignnone wp-image-59" src="https://www.simplelifeaustralia.com/wp-content/uploads/2017/07/Screen-Shot-2017-06-23-at-12.51.59.png" alt="" width="88" height="73" /></td> </tr> </tbody> </table>
I am thinking that I need to put it in the midst of the following code, but I don’t know where!
<?php /* ?* Template Name: Slow Bites ?* Template Post Type: post, page, product ?*/ ?? ?get_header();? ?> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'single' ); ?> <?php qwerty_post_nav(); ?> <?php // If comments are open or we have at least one comment, load up the comment template if ( comments_open() || '0' != get_comments_number() ) : comments_template(); endif; ?> <?php endwhile; // end of the loop. ?> </main><!-- #main --> </div><!-- #primary --> <?php get_footer(); ?>
Can someone please help?
Thanks in advance :)))The page I need help with: [log in to see the link]
- The topic ‘post template’ is closed to new replies.