Need help? Check out our Support site, then

Separate text from content

  1. Hello

    I am creating a website which i need to have my text separated from the image. I now have my single.php with two boxes, one for text and the other one for an image (using lightbox gallery). The problem is that the code I have right now does not allow me to separate the image and text.

    This is the code I have:

    BOX 1
    <div class="img-work">



    BOX 2
    <div class="text-work">

    <h2><?php the_title(); ?></h2>

    <p><?php the_content(); ?></p>


    I have an image and text in the contet and that is why both appear in the same box. I dont really want to use custom fields to separate them.

    Is there any other way??

    Many thanks

  2. You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at If your question is about a self-hosted WordPress blog then you'll find help at the forums.

    If you don't understand the difference between and, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It'll help people to answer your question.

    This is an automated message.

Topic Closed

This topic has been closed to new replies.

About this Topic