Pages and word wrap…
-
Hi all,
I did a bit of searching and couldn’t find it, but this is the current code I have for a page template:
<?php
/*
Template Name: Universal
*/
?><?php get_header(); ?>
<?php get_sidebar(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post();?>
<h2 id=”post-<?php the_ID(); ?>”><?php the_title();?></h2>
<?php the_content(‘<p class=”serif”>Read the rest of this page »’); ?>
<?php endwhile; endif; ?>However anything that I post on the page in one long line of text is not wrapped automatically. I have to manually return to the next line when editing the page. I have tried most switches like
<div class=”post”>
</div> etc. But none of them wrap the word or keep the text in the main posting area. Thanks for your help! ??
- The topic ‘Pages and word wrap…’ is closed to new replies.