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

WordPress Comment posting problem

You need to check all of the following options under Dashboard -> Settings -> Discussion: Before a comment appears Before a comment appears An administrator must always approve the comment Comment author must have a previously approved comment Comment Moderation Hold a comment in the queue if it contains _ or more links. (A common … Read more

Permalink doesn’t get displayed in Twitter button (Local WordPress problem?)

After sleeping over the problem I decided to the code and tried this: <a href=”https://twitter.com/share?url=&text=<?php the_title(); ?>: <?php echo urlencode(get_permalink($post->ID)); ?> &via=username&count=horizontal” class=”custom-tweet-button”>Tweet</a> All I can say is: it works as it should be. Next thing on my agenda is to incorporate a custom url shortener. PS: It’s worth a mention that if you use … Read more