Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: rendering pages & the_content

Discussion in 'Misc WordPress Requests' started by gozzle, Jan 8, 2018.

  1. gozzle


    Reply To: rendering pages & the_content, by gozzle

    Hi Steve, the page.php file is so small, I can paste it here:

    <?php get_header(); ?>

    <div id=”content” class=”narrowcolumn”>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h2><?php the_title(); ?></h2>
    <div class=”entry”>
    <?php the_content(‘<p class=”serif”>Read the rest of this page »</p>’); ?>
    <?php wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>
    <?php endwhile; endif; ?>
    <?php edit_post_link(‘Edit this entry.’, ‘<p>’, ‘</p>’); ?>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    Or do you mean another .php file?

    Reply To: rendering pages & the_content

Share This Page

Monarch Social Sharing Plugin