The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Paragraph tage everywhere!! (2 posts)

  1. danmerk
    Posted 11 years ago #

    Is there a way to eliminate the "P" tags that are in every post? I am trying (in 2 places) to pull data from my db and WP places a "p" tag around every one. I have the piece ofo code like this:

    <p class="navigation">Photography Blog<br><?php the_excerpt(); ?>...</p>

    Thought it would look like this in the source:

    <p class="naviagation">Photography Blog<br>Today I took some pictures...</p>

    But this is what is happening:

    <p class="naviagation">Photography Blog<br><p>Today I took some pictures</p>...</p>

    Can't I do something about this? I looked everywhere.

  2. Beel
    Posted 11 years ago #

    Hmm, and the difference is?

    There are plenty of threads to "disable autop", just look 'em up

    Edit: Ah, you fixed it. Figured that was your problem. Do a search on what I gave you as there are different options.

Topic Closed

This topic has been closed to new replies.

About this Topic