Viewing 2 replies - 1 through 2 (of 2 total)
  • you could add a second loop (before the other custom loop in the template) to show the actual page content;

    example:

    <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
    <div class="intro-content"><?php the_content(); ?></div>
    <?php endwhile; endif; ?>

    so, for every page that you are using the page template on, you can write some intro text as usual in the page editor.

    Thread Starter Gustav820

    (@gustav820)

    Cool! Thank you!! Thats exactly what I wanted! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page template write at top of page?’ is closed to new replies.