All posts by

How To Hide Widgets For Logged In WordPress Users

While working on the backend for a membership site we are launching later this year, we wanted to find a way with WordPress to hide widgets for logged in wordpress users, and vice-verse.

After several Google searches, I found the solution.

The plugin you need is (drum roll please……):

Widget Logic (click for link to plugin download)

Once you have downloaded and activated the plugin, you’ll notice a new input text field has shown up when you look at the widgets you have active in your blog:

The widget logic text field is what allows you to tell WordPress when, or where to show this widget. In this case, we don’t want to show the Facebook like box to our logged in members, but we do want to show it to our blog visitors. By inserting the !is_user_logged_in() conditional tag, we are telling wordpress to show this when the user is not (the ! is the opposite of the conditional tag) logged in.

I hope this helps anyone with membership sites out there control what widgets show up for their logged in members. If you have other solutions you’ve used on your membership site, please hit up the comments below and let me know.

How To Auto Tweet Your New Blog Posts

In an effort to save time getting your message out to all your social media channels, I came across a WordPress Plugin that I wanted you to know about.

Twitter Tools

Have you ever thought:

Wouldn’t it be great if when I created a new blog post, my twitter account would automatically tweet that I have a new blog post?

Well, I have good news. Twitter Tools does just that. It also does a couple of other things, like auto shortening your links using bit.ly so you can track the number of clicks you get to your blog post, but I’ll get into that later.

I recorded a quick video to show you how to get Twitter Tools up and running in no time flat. Click on the Play button below, and leave me a comment if you wound up installing this Plugin.

PS — I missed one plugin that you’ll need in the video above to add the bit.ly short-link functionality:

Twitter Tools Bit.ly Links

Just install, and activate and you’ll have the bit.ly options in the Twitter Tools Settings menu.