Logged in shortcode test
Use an image in the post restricted message
This post will show you how to get a little more advanced with your post restricted message (the message that displays above the login form when a user accesses a page or a post that is blocked.
In this example, we will be using an image in the dialog and will also put some links to the anchors. This technique can also be extended to other plugin dialogs, and is a nice touch for your site. Also, it doesn’t require any php, so for those of you that are hesitant to wade into the world of filter and action hooks, this is still something that you can do without much under-the-hood knowledge. Continue reading Use an image in the post restricted message
Remove the name# anchor from the ‘more’ link
This particular code snippet isn’t necessarily part of the plugin itself. But since the plugin relies on post excerpts, it can help fix a what can be a minor annoyance on some sites. WordPress automatically puts in an anchor link to where the ‘more’ tag is. So when you click “read more” the browser will not only load the full post, it will jump to the location where the ‘more’ tag is.Depending on the length of your excerpt and the header of your site, this can make browsing awkward; especially if your average reader is like me – wanting to read the entire post from the beginning.
Continue reading Remove the name# anchor from the ‘more’ linkCreating menus based on login status
In this example, I will show you how to display a different menu for users based on their login status for the WordPress TwentyTen theme. This process can be adapted to any theme (and using the same principles, could be adapted to use anywhere on your WP site).
Note: There is an alternate (and easier) method of doing this posted here. That post displays the method currently used on this site.