This is a post written for the iWeb Control blog. A super quick snippet useful for membership sites.

Membership plugins such as s2Member and ecommerce plugins like WooCommerce utilise the built-in WordPress user authentication system. If you run a WordPress site which allows users to login, you may wish to include a logout link within your page content…

Add a logout link shortcode to WordPress