Changeset 1135602
- Timestamp:
- 04/15/2015 05:44:20 PM (11 years ago)
- Location:
- wp-content-protection/trunk
- Files:
-
- 5 edited
-
include/wpcp-content-protection-mechanism.php (modified) (1 diff)
-
include/wpcp-initfunctions.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
screenshot-1.png (modified) (previous)
-
wp-content-protection.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-content-protection/trunk/include/wpcp-content-protection-mechanism.php
r1121478 r1135602 63 63 if(in_array(1,$avail_prot_mech)){ 64 64 $message = $objFun->wpcp_get_protection_msg($avail_prot_mech); 65 $content = $message;65 $content = '<div class="wpcp">'.$message.'</div>'; 66 66 } 67 67 return $content; -
wp-content-protection/trunk/include/wpcp-initfunctions.php
r1121478 r1135602 10 10 11 11 function __construct() { 12 add_action('admin_enqueue_scripts',array($this,' admin_scripts_styles'));13 12 add_action('admin_enqueue_scripts',array($this,'wpcp_admin_scripts_styles')); 13 add_action('wp_enqueue_scripts',array($this,'wpcp_scripts_styles')); 14 14 //wp-admin 15 15 //Create an menu for settings. … … 23 23 *Adding the scripts and style in admin 24 24 */ 25 function admin_scripts_styles(){25 function wpcp_admin_scripts_styles(){ 26 26 wp_enqueue_script('adminwpcpscriptsjs', WPCP__PLUGIN_URL.'assets/js/admin-wpcp-script.js',array('jquery'),'',TRUE); 27 27 wp_enqueue_style('adminwpcpscriptscss', WPCP__PLUGIN_URL.'assets/css/admin-wpcp-style.css'); 28 } 29 30 function wpcp_scripts_styles(){ 31 wp_enqueue_style('wpcp.style.css', WPCP__PLUGIN_URL.'assets/css/wpcp-style.css'); 28 32 } 29 33 -
wp-content-protection/trunk/readme.txt
r1127533 r1135602 1 1 === WP Content Protection === 2 2 Contributors:shankaranand12 3 Tags: Content protection,Membership content,content membership,Protection,login protection,Password protection,protection password,user role protection,protection user roles,protection plugin,Content protection plugin 3 Tags: Content protection,Membership content,content membership,Protection,login protection,Password protection,protection password,user role protection,protection user roles,protection plugin,Content protection plugin,premium content 4 4 Requires at least: 3.1 5 5 Tested up to: 4.1.1 … … 26 26 Follow : Settings => wp content protection . 27 27 28 28 <a href="https://shankaranandmaurya.wordpress.com/my-developed-plugin/wp-content-protection/">Click here </a> for plugin settins. 29 29 30 30 == Installation == … … 33 33 2. Activate the plugin through the 'Plugins' menu in WordPress 34 34 3. After activating check all the settings on below path : Settings => wp content protection . 35 <a href="https://shankaranandmaurya.wordpress.com/my-developed-plugin/wp-content-protection/">Click here </a> for plugin settins. 35 36 36 37 == Screenshots == -
wp-content-protection/trunk/wp-content-protection.php
r1126743 r1135602 2 2 /* 3 3 *Plugin Name:WP Content Protection 4 *Plugin uri: 4 *Plugin uri:https://shankaranandmaurya.wordpress.com/my-developed-plugin/wp-content-protection/ 5 5 *Author:Shankaranand 6 *Description:This plugin(WP Content Protection : No membership required) is used to protect the content. No membership is required to protect the content.Content protection can be done by PASSWORD,USER ROLES and SPECIFIC AREA.6 *Description:This plugin(WP Content Protection : No membership required) is used to protect the content.Content protection is done by (i)-LoggedIn Security,(ii)-Password Security,(iii)-User Role security. 7 7 *Version:1.2 8 *Author uri:http ://about.me/shankaranand8 *Author uri:https://shankaranandmaurya.wordpress.com/ 9 9 *Text Domain:WPCP 10 10 */
Note: See TracChangeset
for help on using the changeset viewer.