Results 1 to 9 of 9
  1. #1
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,056
    Thanks
    34
    Thanked 178 Times in 130 Posts

    Default Wordpress and "P" tags

    I've noticed the wordpress templete I am using is not inserting p tags into my paragraphs. P tags are important as far as I know so should I go in manually and insert these or does anyone know of a plugin that does this. I wish I would have noticed this earlier. Why in world would this templete not do this?
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play at USA online casinos and find the best USA online casino and USA legal slots. https://mobileslotslisting.com

  2. #2
    Chips's Avatar
    Chips is offline Private Member
    Join Date
    October 2007
    Location
    God's Country
    Posts
    3,618
    Thanks
    1,040
    Thanked 1,202 Times in 886 Posts

    Default

    As far as I can recall when composing a post or page, use the html option over the wysiwyg editor. In the html mode I manually add the p tags and they stay in place. I recall the wysiwyg mode not inserting them. I believe it is a WP issue and not tied to the template.
    --
    "People who are unable to motivate themselves must be content with mediocrity." ~Andrew Carnegie~

  3. #3
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,056
    Thanks
    34
    Thanked 178 Times in 130 Posts

    Default

    Thanks Chips! Guess I have some work to do now updating all the pages.
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play at USA online casinos and find the best USA online casino and USA legal slots. https://mobileslotslisting.com

  4. #4
    DaftDog's Avatar
    DaftDog is offline Private Member
    Join Date
    October 2008
    Location
    RSA
    Posts
    1,952
    Thanks
    595
    Thanked 682 Times in 400 Posts

    Default

    View the code of your published article via your browser and you will see that the p tags are there. (cntrl +u in Firefox).

  5. #5
    ddm
    ddm is offline Former Member
    Join Date
    July 2006
    Posts
    1,125
    Thanks
    418
    Thanked 470 Times in 287 Posts

    Default

    if you need to convert content w/ linebreaks etc to content with paragraphs, you can use the wpautop function in your theme page templates.

    http://codex.wordpress.org/Function_Reference/wpautop

  6. #6
    Peter Willis's Avatar
    Peter Willis is offline Private Member
    Join Date
    July 2009
    Posts
    95
    Thanks
    8
    Thanked 12 Times in 6 Posts

    Default

    The Wordpress WYSIWIG doesn't "show" you the p tags, but they are there. Unless your template is stripping them out, which seems illogical and highly unlikely.

    If you paste content from something like Microsoft Word it can also play havoc. If you do need to paste, I'd always recommend either using the built in Word paste button, or simply copy it into Notepad first which removes any hidden formatting.
    You can find me on LinkedIn or Twitter.

  7. #7
    ddm
    ddm is offline Former Member
    Join Date
    July 2006
    Posts
    1,125
    Thanks
    418
    Thanked 470 Times in 287 Posts

    Default

    as chips said, use the html editor LDO.

    you can check to see if the paragraphs are really trhere initially by right clicking on a paragraph and inspect element using chrome.. u will prolly see the P's as Peter suggested above.

    if you're importing data into posts [eg from a datafeed] and they only contain linebreaks, then that function i pasted is the business..

  8. #8
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,056
    Thanks
    34
    Thanked 178 Times in 130 Posts

    Default

    Thanks guys. Yes I couldn't see them in HTML in wordpress but when I look at the view code they are there.

    Thanks again!
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play at USA online casinos and find the best USA online casino and USA legal slots. https://mobileslotslisting.com

  9. #9
    Jennytaketheworld's Avatar
    Jennytaketheworld is offline Public Member
    Join Date
    February 2012
    Location
    UK
    Posts
    35
    Thanks
    8
    Thanked 4 Times in 4 Posts

    Default

    I have to say that your answers and willing to help is a very nice thing !
    I learn allot from these answers
    Thanx !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •