• Resolved LittleBlogger

    (@littleblogger)


    All formatting disappears when a post is displayed in the blog. So there are no paragraphs or bold text or italic text or anything like that. Just one big lump of a paragraph.

    This is a problem, particularly if one wants most of the post to appear on the front page. If, say, I have a blog with lots of news.

    I’m not a programmer, but it seems to be coming from the loop.php which loads content using:
    <?php supernova_content(); ?>
    which strips all the formatting.

    Replacing that code with something like:
    <?php the_content(); ?>
    retains all the formatting, but also loads an additional thumbnail image (so there are two!).

    I considered using this version and deleting the code which pulls in the thumbnail in loop.php (<?php supernova_thumbnail(get_the_ID()); ?>), but this loses the nice border around the featured image and is probably too much playing around with the code for a non-programmer.

    At the moment, I am having to live with this lack of formatting on my posts. But would love to know if you are able to fix this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • When you show excerpt, WordPress removes all the formatting by itself so its not a theme related problem if you want the content with formatting you should show the content from advanced tab > post settings.

    You can also remove the thumbnail from showing on the home page when the_content is selected, so this way it wont show two images but it wont show borders.

    But I think you are right about not showing featured image when full content is being displayed , so I removed it now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Formatting disappearing in posts’ is closed to new replies.