added WP snippets