Using wordpress shortcodes to show members-only content

Using wordpress shortcodes to show members-only content

May 14, 2009 · 1 Comment 

This tutorial will cover three methods for setting up shortcodes to use in your posts and pages that will allow you to hide or show content depending on who’s viewing it. Content for users that are not logged in Many people want to focus on hiding content from this group of users, but you want to start by showing them content. Most traffic to your site will likely be through non-logged in users, so make sure you give this group of people something. Open your theme’s functions.php file in your favorite text editor. Add... [Read the full story]

Technology

Top 25 PHP template engines

Top 25 PHP template engines

After searching the Internet for a good template engine, I have compiled the following list: Smarty Smarty is a template engine that compiles the templates into PHP scripts, then... [Read more]


Leap ahead

Wordpress

Showing the post password form for excerpts in WordPress

Showing the post password form for excerpts in WordPress

Many WordPress themes show excerpts on the front page and other archive-type views. When viewing a password-protected post, this message is displayed: There is no excerpt because... [Read more]


Inspire