Auto Add TOS & Privacy Policy in WordPress Blog
- tech2blog.com
- Jun 12, 2013
- 3 min read
You must have seen terms of service (TOS) and privacy policy pages on almost every website and blog. TOS and privacy policy are very important for every website as they set certain rules to use the website services and how websites collect user information. When it comes to write terms of service (TOS) and privacy policy for blog/website, it may become very time consuming and problematic. So we can make this process automatic in WordPress blog by use of a plugin.

What is Terms of Service (TOS)?
Terms of Service [TOS] is a set of protocol, which we have to accept for using a website services. It is also known as terms of use and terms of condition. In terms of website we can also called it as disclaimer.
Recommended Article: Essential Plugin for Niche Blog
What is Privacy Policy?
In website terms, Privacy policy is a legal statement that how visitor’s data is stored, used, disclosed and manged. Every website has its privacy policy and they have clearly write that how the website is storing the information.
The plugin for inserting auto TOS and privacy policy is called “Auto Terms of Service and Privacy Policy” and is freely available at WordPress plugin store and can be used for different types of websites like single sites, subscription sites, blog networks etc.
Note : TOS and privacy policy used here are from version of Automattic’s Terms of Service and Privacy Policy, both available under the Creative Commons Sharealike license.
Steps to Auto Add TOS & Privacy Policy in WordPress Blog
1. Go to your website WP dashboard and go to plugin and click add new. Now here you can add new plugin in two ways.
i) You can upload plugin directly from your hard drive after downloading it. ii) You can go to plugin and directly search the plugin within your dashboard.
2. After installing the plugin, you will have to edit the plugin file. Go to plugin page and click edit on Auto Terms of Service and Privacy Policy plugin.

3. Now search for // STEP 1 on file and start editing it by putting your company details, website details and all. Example of it is given in the file itself. Below is the sample code.
// STEP 1
// Enter your own or your website client's information here
$tcpp_termsheading = "Terms of Service"; // e.g. "Terms of Service"
$tcpp_privacypolicyheading = "Privacy Policy"; // e.g. "Privacy Policy"
$tcpp_biznamefull = "Tech2blog.com"; // e.g. "Automattic, Inc." or "Automattic Inc."
$tcpp_bizname = "Tech2blog"; // e.g. "Automattic"
$tcpp_biznamepossessive = "Tech2blog's"; // e.g. "Automattic's"
$tcpp_domainname = "Tech2blog.com"; // e.g. "WordPress.com"
$tcpp_websiteurl = "http://tech2blog.com"; // e.g. "http://www.wordpress.com/"
// Leave the field above blank if you want to retrieve it automatically...
if(empty($tcpp_websiteurl)) { $tcpp_websiteurl = get_site_url(); }
$tcpp_minimumage = "30"; // e.g. "13"
$tcpp_timeperiodforchangingfeesandfornotifications = ""; // e.g. "thirty (30) days"
$tcpp_timeperiodtoreplytopriorityemail = ""; // e.g. "one business day"
4. Now in this step search of // STEP 2 and change the value of below code to 1 from 0, when you have filled all the details above step and save the file.
$tcpp_publish = 0;
5. Now create two pages with name Terms of Service and Privacy policy and use below short codes in page and publish the page.
For Terms of Service : [my_terms_of_service]
For Privacy policy : [my_privacy_policy]
Now you are all set and just test your TOS and privacy policy page by visiting it. If the page shows error or coming soon text, then you must check your information entered in step 3.
This is how you can add terms of service and privacy policy automatically on your blog by just using short codes. If you face any difficulty in setup and configuration, just let us know through your comments and email. If you like the post, do share it with your friends on social media. We publish very unique and useful articles, so don’t forget to subscribe to our Free Newsletter.
Comments