Support » Fixing WordPress » Stripped HTML Formatting

  • Resolved RogersPTA



    I have been searching the internet for a solution to this problem, but everything has been way over my head. The main idea is that whenever I post, the post is stripped of all the HTML formatting I added, and images disappear. Right now, I have only one trial post up, “Pardon the Dust”. It should appear with a yellow and black caution tape line image at the top and bottom of the text, and the text should be centered. However, text is grouped and there are no images in sight. This is true on both the “News” page and the “Home” page, where the post appears. In both places, I am using the plugin Posts in Page to pull the posts where I want them, and I feel as though this isn’t where the problem is. I’ve been reading about Excerpt tags, but the codex link that keeps appearing is hard for me to understand. Could anyone explain/help/provide instructions on how to fix this? Also to note, the post appears as I want it in the visual editor.

    I am using the theme Catch Evolution, with WordPress 3.9.2, and my host is BlueHost. My site URL is

    Thank you to anyone who can help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • general, your theme might be using ‘the_excerpt()’ to show the posts in the front page;
    you might need to change that to ‘the_content()’;


    please post in your theme’s forum at to attract theme specific suggestions.

    My code in the loop looks like this:

    <?php /* Start the Loop */ ?>
    				<?php while ( have_posts() ) : the_post(); ?>
    					<?php get_template_part( 'content', get_post_format() ); ?>
    				<?php endwhile; ?>
    				<?php catchevolution_content_nav( 'nav-below' ); ?>
    			<?php else : ?>
    				<article id="post-0" class="post no-results not-found">
    					<header class="entry-header">
    						<h1 class="entry-title"><?php _e( 'Nothing Found', 'catchevolution' ); ?></h1>
    					</header><!-- .entry-header -->
    					<div class="entry-content">
    						<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'catchevolution' ); ?></p>
    						<?php get_search_form(); ?>
    					</div><!-- .entry-content -->
    				</article><!-- #post-0 -->
    			<?php endif; ?>
    			</div><!-- #content -->
    		</div><!-- #primary -->

    Where do I put “the_content()” and what goes in the parentheses of “the_content()”?

    this line <?php get_template_part( 'content', get_post_format() ); ?> calls either the template file content.php or some content-{postformat}.php; check those for the replacement.

    however, better post in your theme’s forum at to attract theme specific suggestions.

    I found a layout option in “Theme Options” that fixed the problem on the News page. The problem remains so far on the home though.

    Also, I’ve noticed that topics in the theme specific forums take a long time to get answered and that general help should be adequate for the time being.

    Aha! i fixed this by:

    1. The theme option mentioned above (Appearance> Theme Options> Layout)
    2. Editing this file: posts-in-page/posts_loop_template.php, and this line of code in that file:

    <!-- This is the output of the EXCERPT -->
    	<div class="entry-summary">
    		<?php the_content(); ?>

    Originally, “the_content()” was “the excerpt()”


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Stripped HTML Formatting’ is closed to new replies.