Forums

[resolved] Line Breaks in Posts not appearing... (5 posts)

  1. teequillin
    Member
    Posted 6 years ago #

    I noticed while I was working on my site (http://www.mirroruptonature.com) that the line breaks are not appearing as designed in the Post Editor. I am using the Rich Text Editor.

    At first, I thought it might be a problem with the theme I was using, but it seems to be happening reglardless of the the theme.

    Any ideas?

  2. stew278
    Member
    Posted 6 years ago #

    I had the same problem when using c2c_get_custom... until someone pointed out wpautop.

    check out this thread: http://wordpress.org/support/topic/42024?replies=6

  3. teequillin
    Member
    Posted 6 years ago #

    From what I can tell, this seems like it's going to fix my problem, but I'm such a newbie to this that I can't figure out how to make the line breaks appear in every post regardless of author.

    Here is what the code looks like for the posts:

    <div class="post">
    <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" style="text-decoration:none;" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    <div class="meta"><?php the_time("l F dS Y") ?>, <?php the_time() ?> <?php edit_post_link(); ?><br>
    <?php _e("Filed under:"); ?> <?php the_category(',') ?></div>

    <?php the_content(); ?>

    I installed the plugin 'get-custom', but I can't figure out how to make it work.

    Thanks for your help!

  4. teequillin
    Member
    Posted 6 years ago #

    Okay...I've been researching until I can't see straight about this problem and it seems like I shouldn't need a plugin to make this work.

    According to the Codex, WordPress will automatically add the <p>, which should display as a line break when the post is displayed.

    I'm using the Rich Text Editor in v.2 and when I view the HTML for my posts, these tags are present, but they aren't being displayed.

    Any other ideas about how to correct this problem?

  5. teequillin
    Member
    Posted 6 years ago #

    FYI...I got it fixed. Some people on the IRC channel helped me. The only fix was to re-upload the default-filters.php file and the problem was solved.

    Thanks for the input!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.