Version Description
- Banner added in plugins settings page
Download this release
Release Info
Developer | cybernetikz |
Plugin | Nofollow for external link |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.2
- css/admin-style.css +7 -0
- css/index.php +0 -0
- images/banner-1.jpg +0 -0
- images/banner-2.jpg +0 -0
- images/banner-3.jpg +0 -0
- images/index.php +0 -0
- nofollow-external-link.php +48 -1
- readme.txt +14 -21
css/admin-style.css
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.content_wrapper{ display:table; width:100%;}
|
2 |
+
.content_wrapper .left{ display:table-cell; float:none; vertical-align:top; }
|
3 |
+
.content_wrapper .right{ display:table-cell; float:none; vertical-align:top; width:261px; padding:0 0 0 20px; }
|
4 |
+
@media screen and (max-width: 1200px) {
|
5 |
+
.content_wrapper .left{ float:left; width:100%; }
|
6 |
+
.content_wrapper .right{ float:left; width:100%; padding:20px 0 0 0; }
|
7 |
+
}
|
css/index.php
ADDED
File without changes
|
images/banner-1.jpg
ADDED
Binary file
|
images/banner-2.jpg
ADDED
Binary file
|
images/banner-3.jpg
ADDED
Binary file
|
images/index.php
ADDED
File without changes
|
nofollow-external-link.php
CHANGED
@@ -3,12 +3,52 @@
|
|
3 |
Plugin Name: Nofollow for external link
|
4 |
Plugin URI: http://www.cybernetikz.com
|
5 |
Description: Just simple, if you activate this plugins, <code>rel="nofollow"</code> and <code>target="_blank"</code> will be added automatically, for all the external links of your website <strong>posts</strong> or <strong>pages</strong>. Also you can <strong>exclude domains</strong>, not to add <code>rel="nofollow"</code> for the selected external links.
|
6 |
-
Version: 1.1.
|
7 |
Author: CyberNetikz
|
8 |
Author URI: http://www.cybernetikz.com
|
9 |
License: GPL2
|
10 |
*/
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
add_action('admin_menu', 'cn_nf_plugin_menu');
|
13 |
add_action( 'admin_init', 'register_cn_nf_settings' );
|
14 |
|
@@ -25,6 +65,8 @@ function cn_nf_option_page_fn() {
|
|
25 |
?>
|
26 |
<div class="wrap">
|
27 |
<h2>Nofollow for external link Options</h2>
|
|
|
|
|
28 |
<form method="post" action="options.php" enctype="multipart/form-data">
|
29 |
<?php settings_fields( 'cn-nf-settings-group' ); ?>
|
30 |
<table class="form-table">
|
@@ -38,6 +80,11 @@ function cn_nf_option_page_fn() {
|
|
38 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
39 |
</p>
|
40 |
</form>
|
|
|
|
|
|
|
|
|
|
|
41 |
</div>
|
42 |
<?php
|
43 |
}
|
3 |
Plugin Name: Nofollow for external link
|
4 |
Plugin URI: http://www.cybernetikz.com
|
5 |
Description: Just simple, if you activate this plugins, <code>rel="nofollow"</code> and <code>target="_blank"</code> will be added automatically, for all the external links of your website <strong>posts</strong> or <strong>pages</strong>. Also you can <strong>exclude domains</strong>, not to add <code>rel="nofollow"</code> for the selected external links.
|
6 |
+
Version: 1.1.2
|
7 |
Author: CyberNetikz
|
8 |
Author URI: http://www.cybernetikz.com
|
9 |
License: GPL2
|
10 |
*/
|
11 |
|
12 |
+
function cn_nf_admin_sidebar() {
|
13 |
+
|
14 |
+
$banners = array(
|
15 |
+
array(
|
16 |
+
'url' => 'http://www.cybernetikz.com/wordpress-magento-plugins/wordpress-plugins/?utm_source=nofollow-for-external-link&utm_medium=banner&utm_campaign=wordpress-plugins',
|
17 |
+
'img' => 'banner-1.jpg',
|
18 |
+
'alt' => 'Banner 1',
|
19 |
+
),
|
20 |
+
array(
|
21 |
+
'url' => 'http://www.cybernetikz.com/portfolio/web-development/wordpress-website/?utm_source=nofollow-for-external-link&utm_medium=banner&utm_campaign=wordpress-plugins',
|
22 |
+
'img' => 'banner-2.jpg',
|
23 |
+
'alt' => 'Banner 2',
|
24 |
+
),
|
25 |
+
array(
|
26 |
+
'url' => 'http://www.cybernetikz.com/seo-consultancy/?utm_source=nofollow-for-external-link&utm_medium=banner&utm_campaign=wordpress-plugins',
|
27 |
+
'img' => 'banner-3.jpg',
|
28 |
+
'alt' => 'Banner 3',
|
29 |
+
),
|
30 |
+
);
|
31 |
+
//shuffle( $banners );
|
32 |
+
?>
|
33 |
+
<div class="cn_admin_banner">
|
34 |
+
<?php
|
35 |
+
$i = 0;
|
36 |
+
foreach ( $banners as $banner ) {
|
37 |
+
echo '<a target="_blank" href="' . esc_url( $banner['url'] ) . '"><img width="261" height="190" src="' . plugins_url( 'images/' . $banner['img'], __FILE__ ) . '" alt="' . esc_attr( $banner['alt'] ) . '"/></a><br/><br/>';
|
38 |
+
$i ++;
|
39 |
+
}
|
40 |
+
?>
|
41 |
+
</div>
|
42 |
+
<?php
|
43 |
+
}
|
44 |
+
|
45 |
+
function cn_nf_admin_style() {
|
46 |
+
global $pluginsURI;
|
47 |
+
wp_register_style( 'cn_nf_admin_css', plugins_url( 'nofollow-for-external-link/css/admin-style.css' ) , false, '1.0' );
|
48 |
+
wp_enqueue_style( 'cn_nf_admin_css' );
|
49 |
+
}
|
50 |
+
add_action( 'admin_enqueue_scripts', 'cn_nf_admin_style' );
|
51 |
+
|
52 |
add_action('admin_menu', 'cn_nf_plugin_menu');
|
53 |
add_action( 'admin_init', 'register_cn_nf_settings' );
|
54 |
|
65 |
?>
|
66 |
<div class="wrap">
|
67 |
<h2>Nofollow for external link Options</h2>
|
68 |
+
<div class="content_wrapper">
|
69 |
+
<div class="left">
|
70 |
<form method="post" action="options.php" enctype="multipart/form-data">
|
71 |
<?php settings_fields( 'cn-nf-settings-group' ); ?>
|
72 |
<table class="form-table">
|
80 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
81 |
</p>
|
82 |
</form>
|
83 |
+
</div>
|
84 |
+
<div class="right">
|
85 |
+
<?php cn_nf_admin_sidebar(); ?>
|
86 |
+
</div>
|
87 |
+
</div>
|
88 |
</div>
|
89 |
<?php
|
90 |
}
|
readme.txt
CHANGED
@@ -4,40 +4,30 @@ Contributors: cybernetikz
|
|
4 |
Donate link:
|
5 |
Tags: nofollow,link,rel=nofollow,rel nofollow,seo,nofollow links,external link,external links,nofollow for external link,nofollow external link,nofollow external links
|
6 |
Requires at least: 2.9.2
|
7 |
-
Tested up to: 4.
|
8 |
-
Stable tag: 1.1.
|
9 |
License: GPL2
|
10 |
|
11 |
Automatically insert `rel=nofollow` and `target=_blank` to all the external links into your website posts or pages. Support exclude domains.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
Just simple, if you use this
|
16 |
|
17 |
-
> <strong>
|
18 |
>
|
19 |
-
>
|
20 |
-
>
|
21 |
-
> <strong>a. Get the plugin installed </strong>
|
22 |
-
>
|
23 |
-
> <strong>b. Custom feature, custom theme </strong>
|
24 |
-
>
|
25 |
-
> <strong>c. Auditing your wordpress theme & hosting environment</strong>
|
26 |
-
>
|
27 |
-
> <strong>d. Google analytics & webmaster tools support</strong>
|
28 |
-
>
|
29 |
-
> please send an email to this address <a href="mailto:support@cybernetikz.com">support@cybernetikz.com</a>
|
30 |
|
31 |
= Feature =
|
32 |
-
* Add `rel=nofollow` for all the external
|
33 |
-
* Add `target=_blank` for all the external
|
34 |
* You can <strong>exclude domains</strong>, not to add `rel=nofollow` for the selected external links.
|
35 |
* Support WordPress multisite.
|
36 |
* Also works for custom post type content.
|
37 |
-
* This
|
38 |
-
* This
|
39 |
-
* If you already added `rel=dofollow` or `rel=nofollow` to any post manually, this
|
40 |
-
* If you already added `target=_blank` to any post manually, this
|
41 |
|
42 |
You can visit our website <a href="http://www.cybernetikz.com/blog/wordpress-plugins-external-links-relnofollow/">cybernetikz.com</a>
|
43 |
|
@@ -65,6 +55,9 @@ Ans: Yes it does.
|
|
65 |
|
66 |
== Changelog ==
|
67 |
|
|
|
|
|
|
|
68 |
= 1.1.1 =
|
69 |
* PHP notice/warning remove/fix.
|
70 |
|
4 |
Donate link:
|
5 |
Tags: nofollow,link,rel=nofollow,rel nofollow,seo,nofollow links,external link,external links,nofollow for external link,nofollow external link,nofollow external links
|
6 |
Requires at least: 2.9.2
|
7 |
+
Tested up to: 4.5
|
8 |
+
Stable tag: 1.1.2
|
9 |
License: GPL2
|
10 |
|
11 |
Automatically insert `rel=nofollow` and `target=_blank` to all the external links into your website posts or pages. Support exclude domains.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
Just simple, if you use this plugin, `rel=nofollow` and `target=_blank` will be inserted automatically, for all the external links of your website posts or pages. Also you can <strong>exclude domains</strong>, not to add `rel=nofollow` for the selected external links.
|
16 |
|
17 |
+
> <strong>Paid Support</strong> ( $30 / Hour, We accept PayPal )
|
18 |
>
|
19 |
+
> Email us if you need <strong>paid support</strong>, <a href="mailto:support@cybernetikz.com">support@cybernetikz.com</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
= Feature =
|
22 |
+
* Add `rel=nofollow` for all the external links of your website posts/pages.
|
23 |
+
* Add `target=_blank` for all the external links of your website posts/pages.
|
24 |
* You can <strong>exclude domains</strong>, not to add `rel=nofollow` for the selected external links.
|
25 |
* Support WordPress multisite.
|
26 |
* Also works for custom post type content.
|
27 |
+
* This plugin will not add `rel=nofollow` or `target=_blank` to any `href=#read-more` or `href=#gotop` type links.
|
28 |
+
* This plugin will not add `rel=nofollow` or `target=_blank` any of the internal link on your website posts/pages.
|
29 |
+
* If you already added `rel=dofollow` or `rel=nofollow` to any post manually, this plugin will not add `rel=nofollow` for that post.
|
30 |
+
* If you already added `target=_blank` to any post manually, this plugin will not add `target=_blank` for that post.
|
31 |
|
32 |
You can visit our website <a href="http://www.cybernetikz.com/blog/wordpress-plugins-external-links-relnofollow/">cybernetikz.com</a>
|
33 |
|
55 |
|
56 |
== Changelog ==
|
57 |
|
58 |
+
= 1.1.2 =
|
59 |
+
* Banner added in plugins settings page
|
60 |
+
|
61 |
= 1.1.1 =
|
62 |
* PHP notice/warning remove/fix.
|
63 |
|