• Hello,

    My posts only uses the PRE tag from start to the end of the article.

    Example:

    This is the article's first paragraph
    This is the article's first paragraph
    This is the article's first paragraph
    
    This is the article's second paragraph
    This is the article's second paragraph
    This is the article's second paragraph
    
    This is the article's third paragraph
    This is the article's third paragraph
    This is the article's third paragraph
    

    As you can see, there is no <p> tag nor <br> tag. So when I put “p” on “paragraphs with tags” the ads does not appear. When I put in “pre” the ad will appear at the very bottom of the article since I only use one pre tag for the whole article.

    Please somebody help me. I’m going nuts with trying to figure out this problem. I have 1000+ articles that have this kind of format (due to my niche). I really need to find a way to make the ad appear after 1st paragraph and another ad after 2nd paragraph.

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author Spacetime

    (@spacetime)

    pre tags are used when displaying preformated computer code.

    You don’t have any tags inside the article so automatic insertion would be difficult.

    If your paragraphs are separated with \r\n\r\n characters you can try to use # as paragraph tag. Of course, you may have these charcters also outside article so you’ll have to adjust paragraph numbers accordingly.

    But it is not a good idea to isert html/javascript code inside pre tags.

    I would suggest you to find a way to convert all those articles to standard WP post format with p tags.

    • This reply was modified 9 years, 6 months ago by Spacetime. Reason: pre tag interpreted as html tag
    • This reply was modified 9 years, 6 months ago by Spacetime. Reason: typo
Viewing 1 replies (of 1 total)

The topic ‘Problem with PRE tag.’ is closed to new replies.