Blocking WordPress comment spam

For the last couple of weeks I’ve had some issues with getting lots of spam comments to my post.

Even though I replaced the, crappy, default WordPress comment system and instead use DISQUS (how is this not the default comment system for WordPress yet?), it still gets injected.

I managed to solve this by adding this piece of code to my functions.php that completely disables the default comment system.

function block_wp_comments() {
    wp_die( __('Sorry, comments are closed for this item.') );
}
add_action('pre_comment_on_post', 'block_wp_comments');

Did it work for you too? Let me know in the comments section below.

/Alex

Best tweets from An Event Apart Orlando 2014

An Event Apart has taken place again. This time in Orlando. The conference started on the 27th October and is wrapping up on the 29th.

I’ve followed the #aeaorl hashtag. There were so incredible many good tweets I had to divide them up into different categories. Here they are so far!

 Responsive images

Mobile First

Continue reading

Some good UX books you should read

Books about design and development in 2014!?

Yes! Apart from blogs, video tutorials and Twitter accounts you can still learn lots of great stuff about UX design by reading a book printed on paper.

Here are my favorite books I think you should read!

The A Book Apart Series

 

A Book Apart (@abookapart) is not a single book. It’s a series about everything related to web, from HTML markup to content strategy. I’ve (almost) read all of them and they are by far the best books to read if you are working with websites in any way.

The series cover the following:

  • The new stuff in HTML5
  • The new stuff in CSS3
  • Advice for you content strategy and mobile content strategy
  • Advice for working as a designer and dealing with clients
  • How to trigger certain emotions in a user
  • How to write great CSS with SASS
  • How to design great typography
  • How to do research for backing up your design
  • Everything code related to responsive web design
  • Everything not code related to mobile first

abookapart.com

Continue reading

Best tweets from An Event Apart Austin 2014

It’s fall and time for An Event Apart yet again! This time in Austin, Texas on the 22nd until the 24th of September. As usual, I’ve gone through the #aeaaus hashtag and saved my favorite tweets from the event.

Continue reading