Alright, I'm trying to do an if elseif type statement but it needs to output div's, span's, the_title() and the_content(). Perhaps I should just post my code:
This is just a section of it:
<?php
if (is_page('cleansers')) {
echo '<div id="pagetop-cleansers"><div id="toptextContainer"><span class="toptextTitle-cleansers"> the_title(); </span><br />
<span class="toptextBody-cleansers"> the_content(); </span>';
} elseif (is_page('exfoliants')) {
echo '<div id="pagetop-exfoliants"><div id="toptextContainer"><span class="toptextTitle-exfoliants"> the_title(); </span><br />
<span class="toptextBody-exfoliants"> the_content(); ?></span>';
This doesn't work, it just outputs the strings "the_title()" and "the_content()" and not the actual title or content. I'm not much of a programmer so I'm sort of lost.