Support » Fixing WordPress » [Theme: Graphene] All lines in post running together instead of breaks.

  • 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.

    http://wordpress.org/extend/themes/graphene/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The theme is probably using the_excerpt() with posts without specific ‘more’ tags. This will display the excerpt stripped of all formatting.

    See:

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

    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.

    HTH

    PAE

    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:

    <p><br>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Theme: Graphene] All lines in post running together instead of breaks.’ is closed to new replies.