All lines in post running together instead of breaks. (3 posts)

  1. bethcamp
    Posted 4 years ago #

    I am using the posts with a featured image to create a directory for my website. The image shows up just fine, but when I type several lines of information beside the photo, it is displayed on the web page in a run on fashion, so that name, address, etc., are showing on one line instead of separate lines. http://www.jupiterlhtg.com/?cat=7 I have even tried double spacing the lines and they still do the same thing. When I go to View Page, it looks fine, but when I navigate to it on Firefox or Safari, it is all run together.


  2. peredur
    Posted 4 years ago #

    The theme is probably using the_excerpt() with posts without specific 'more' tags. This will display the excerpt stripped of all formatting.



    You could change your theme (in a Child Theme if you don't have complete control over your theme's code) to use the_content(). Or you could put 'more' tags in your posts.

    When you view the page, you are in single page view and so the_excerpt() is not used.



  3. silverks
    Theme Author

    Posted 4 years ago #

    Correct, the_excerpt() is used instead of the_content() for archive pages, and WordPress strips all HTML tags for excerpts.

    However, the theme does provide an option to retain HTML tags for excerpts. Go to WP Admin > Appearance > Graphene Options > Display > Excerpts Display Options, and insert the following into the "Retain these HTML tags in excerpts" option:


Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic