Pasting code into WordPress post – LFs being eaten

This almost certainly appears to be a Google Chrome issue (though the bug is still probably within WordPress, since Chrome does preserve all tabs and linebreaks when pasting into the Paste Text or Paste from Word areas, so Chrome is not itself stripping out the linebreaks.) I’m recommending we close this cause it probably doesn’t … Read more

Shift-Enter in tinyMCE (wp 3.3.1) not working

It’s working for me — have you checked your source code on the published post to see if <br> tags are being inserted? If so, you may want to check your CSS to make sure nothing is over-riding the tags. One of the biggest culprits can be float: left being applied to the line breaks.

How to prevent pages from automatically adding line breaks?

Try using get_the_content(); in your page template loop instead of the_content(); EDIT 05/24/2012 – Try this: <div id=”main-content”> <?php while( have_posts() ) : the_post() ?> <h1 id=”pagetitle”><?php the_title(); ?></h1> <div class=”pagecontent”> <?php echo get_the_content(); ?> </div> <?php endwhile ?> </div> P.S. You will also need to consider the rest of your more “normal” wordpress pages … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)