Last Updated: February 25, 2016
·
743
· gta5cheatsps3

How to Develop a Wordpress Plugin

Playing with WordPress is a fun. The best feature is the customization which can be done with it. Most of the time we don't like any of the developed ideas and start to work on our own. Because human needs never settles.
So if you are already a WordPress plugin developer, then this is not a right place for you. As we are going to develop a simplest working wordpress plugin.

Plugin Code

          <?php
                  /*
             Plugin Name: Anti-copy
             Plugin URI: http://topgravity.com/
             Description: A simple wordpress plugin to ensure that the content 
                                     of your site is safe and no one is able to copy it.
             Version: 1.0
             Author: Imran Khan
             License: GPL
              */
         ?>

<style type="text/css" media="all">

       * {
             -webkit-user-select: none;
             -khtml-user-select: none;
             -moz-user-select: none;
             -o-user-select: none;
              user-select: none; 
             }

    </style> 

<h3>Now what to do with this code</h3>
Simply copy this code in a new php file. Name the file as "anti-copy.php". And this file should be in folder of the same name. Convert the folder to zip file, and upload using "WordPress Add New Plugin" option.

<h2> What this Plugin is About</h2>
This super simple plugin will simply disable the copying of content from a site. In simple words no one will be able to copy anything from your site. You can edit this code and can do anything you want with it.

Source: <a href="http://topgravity.com/">Top Gravity</a>