• Resolved Laurent Duretz

    (@laurentduretz-1)


    Hello,

    I’m using Moesia 1.24 with wordpress 4.1.1 and I’d like to display the page content of the page used with employees template.

    I tried to call <?php the_content(); ?> in the page_employees.php template page without success.

    Any idea ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • vladff

    (@vladff)

    Hey,

    You mean to display the page content before listing the employees? You’ll need to do it in the loop:

    <?php while ( have_posts() ) : the_post(); ?>
         <?php the_content(); ?>
    <?php endwhile; ?>

    Thread Starter Laurent Duretz

    (@laurentduretz-1)

    Ok, it works fine.

    Just have to adjust the styles.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display page content in employees template’ is closed to new replies.