Loop is wrapping all my text in div tags

This support request was posted in Paeon by kevllar

Request ID #3979 Resolved
  • Hi Nice guys,

    The loop on the home page template is wrapping my content in div tags. How can I fix it so it uses tags instead? I’ve tried searching for any arrays or filters but I’m stumped. Can you help? I’m using a child-theme by the way.

    I added this code to the home page. But all I get are div tags.

    ” . __( ‘Pages:’, ‘nicethemes’ ), ‘after’ => ” ) ); ?>

    Thanks!

    The loop on the home page template is wrapping my content in div tags. How can I fix it so it uses P tags instead? I’ve tried searching for any arrays or filters but I’m stumped. Can you help? I’m using a child-theme by the way.

    I added this code to the home page. But all I get are div tags.

    `

    ” . __( ‘Pages:’, ‘nicethemes’ ), ‘after’ => ” ) ); ?>

    `

    Thanks!

    Juanfra Aldasoro

    Hello there,

    Thanks for writing. I can’t see the code.

    Have you added the code through the editor? Maybe you’ve copied the text directly from an editor that automatically generated the divs (like word, for example).

    If you’ve copied the content directly from there, I’d recommend you to check the “Text” view in the editor, and edit it directly from there.

    Best,
    Juan.

    Please check your email. I have sent my FTP login. Thanks.

    Juanfra Aldasoro

    Thank you.

    As I’ve said, it has to do with the content you’ve inserted in your page.

    Go to your site, when in the home page, click “Edit Page” on top.

    You’ll see the editor. In the content editor, you have two tabs: “Visual” and “Text”. Click “Text” and you’ll see the html of the content that you’re inserting. There you can find the divs.

    Best,
    Juan

    My gawd, you’re absolutely right. I didn’t even think to look there. I’m so tired. Feel like a turd. Sorry about Juan.

    Think I’ll take a nap now.

    Cheers,

    Kevin

    Juanfra Aldasoro

    Sweet dreams 🙂

    Have a nice day
    Juan

Viewing 7 posts - 1 through 7 (of 7 total)

This topic is marked as resolved

Only the topic author can re-open this thread.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server