Quantcast
Viewing all articles
Browse latest Browse all 147

Quick Tip: Changing the Password Protected Text in WordPress

When password protecting a post in WordPress, the default text is often not quite right. In this quick tip, you’ll learn how to easily change the password protected message in WordPress.Note that he following tutorial teaches you how to change the text as a plugin, however, the main code can be simply added to your theme’s functions.php file instead.Step 1You should create a new folder in your WordPress site’s plugins directory, and give it a title – I’ll call it protected-text.Step 2Create a new file, called protected-text.php and add the following plugin information to the file:<?php /* Plugin Name: Password Protected Text Plugin URI: http://code.tutsplus.com Description: This plugin changes the default password protected text

See the original article here:
Quick Tip: Changing the Password Protected Text in WordPress


Viewing all articles
Browse latest Browse all 147

Trending Articles