Version Description
- Rebrand
Download this release
Release Info
Developer | sovrn |
Plugin | WordPress Related Posts |
Version | 3.6.3 |
Comparing to | |
See all releases |
Code changes from version 3.6.1 to 3.6.3
- config.php +20 -6
- init.php +13 -13
- readme.txt +20 -18
- static/img/arrow_down.png +0 -0
- static/img/arrow_right.png +0 -0
- static/img/promoted_arrow.png +0 -0
- static/img/up.png +0 -0
- views/connect_notice.php +2 -2
- views/settings.php +14 -20
- wp_related_posts.php +2 -3
- zemanta/img/logo.png +0 -0
- zemanta/img/menu_icon.png +0 -0
config.php
CHANGED
@@ -116,7 +116,7 @@ function wp_rp_set_global_notice() {
|
|
116 |
$wp_rp_meta = get_option('wp_rp_meta');
|
117 |
$wp_rp_meta['global_notice'] = array(
|
118 |
'title' => 'I\'ve installed Wordpress Related Posts plugin. Now what?',
|
119 |
-
'message' => 'Checkout how you can
|
120 |
);
|
121 |
update_option('wp_rp_meta', $wp_rp_meta);
|
122 |
}
|
@@ -256,6 +256,20 @@ function wp_rp_is_classic() {
|
|
256 |
return false;
|
257 |
}
|
258 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
259 |
function wp_rp_migrate_3_6() {
|
260 |
$meta = get_option('wp_rp_meta');
|
261 |
$meta['version'] = '3.6.1';
|
@@ -279,28 +293,28 @@ function wp_rp_migrate_3_5_3() {
|
|
279 |
$meta = get_option('wp_rp_meta');
|
280 |
$meta['version'] = '3.5.4';
|
281 |
$meta['new_user'] = false;
|
282 |
-
update_option('wp_rp_meta', $meta);
|
283 |
}
|
284 |
|
285 |
function wp_rp_migrate_3_5_2() {
|
286 |
$meta = get_option('wp_rp_meta');
|
287 |
$meta['version'] = '3.5.3';
|
288 |
$meta['new_user'] = false;
|
289 |
-
update_option('wp_rp_meta', $meta);
|
290 |
}
|
291 |
|
292 |
function wp_rp_migrate_3_5_1() {
|
293 |
$meta = get_option('wp_rp_meta');
|
294 |
$meta['version'] = '3.5.2';
|
295 |
$meta['new_user'] = false;
|
296 |
-
update_option('wp_rp_meta', $meta);
|
297 |
}
|
298 |
|
299 |
function wp_rp_migrate_3_5() {
|
300 |
$meta = get_option('wp_rp_meta');
|
301 |
$meta['version'] = '3.5.1';
|
302 |
$meta['new_user'] = false;
|
303 |
-
update_option('wp_rp_meta', $meta);
|
304 |
}
|
305 |
|
306 |
function wp_rp_migrate_3_4_3() {
|
@@ -318,7 +332,7 @@ function wp_rp_migrate_3_4_3() {
|
|
318 |
}
|
319 |
}
|
320 |
|
321 |
-
|
322 |
$meta['subscribed'] = false;
|
323 |
update_option('wp_rp_meta', $meta);
|
324 |
|
116 |
$wp_rp_meta = get_option('wp_rp_meta');
|
117 |
$wp_rp_meta['global_notice'] = array(
|
118 |
'title' => 'I\'ve installed Wordpress Related Posts plugin. Now what?',
|
119 |
+
'message' => 'Checkout how you can create awesome content. Hint: it\'s not all about YOU ;-)'
|
120 |
);
|
121 |
update_option('wp_rp_meta', $wp_rp_meta);
|
122 |
}
|
256 |
return false;
|
257 |
}
|
258 |
|
259 |
+
function wp_rp_migrate_3_6_2() {
|
260 |
+
$meta = get_option('wp_rp_meta');
|
261 |
+
$meta['version'] = '3.6.3';
|
262 |
+
$meta['new_user'] = false;
|
263 |
+
update_option('wp_rp_meta', $meta);
|
264 |
+
}
|
265 |
+
|
266 |
+
function wp_rp_migrate_3_6_1() {
|
267 |
+
$meta = get_option('wp_rp_meta');
|
268 |
+
$meta['version'] = '3.6.2';
|
269 |
+
$meta['new_user'] = false;
|
270 |
+
update_option('wp_rp_meta', $meta);
|
271 |
+
}
|
272 |
+
|
273 |
function wp_rp_migrate_3_6() {
|
274 |
$meta = get_option('wp_rp_meta');
|
275 |
$meta['version'] = '3.6.1';
|
293 |
$meta = get_option('wp_rp_meta');
|
294 |
$meta['version'] = '3.5.4';
|
295 |
$meta['new_user'] = false;
|
296 |
+
update_option('wp_rp_meta', $meta);
|
297 |
}
|
298 |
|
299 |
function wp_rp_migrate_3_5_2() {
|
300 |
$meta = get_option('wp_rp_meta');
|
301 |
$meta['version'] = '3.5.3';
|
302 |
$meta['new_user'] = false;
|
303 |
+
update_option('wp_rp_meta', $meta);
|
304 |
}
|
305 |
|
306 |
function wp_rp_migrate_3_5_1() {
|
307 |
$meta = get_option('wp_rp_meta');
|
308 |
$meta['version'] = '3.5.2';
|
309 |
$meta['new_user'] = false;
|
310 |
+
update_option('wp_rp_meta', $meta);
|
311 |
}
|
312 |
|
313 |
function wp_rp_migrate_3_5() {
|
314 |
$meta = get_option('wp_rp_meta');
|
315 |
$meta['version'] = '3.5.1';
|
316 |
$meta['new_user'] = false;
|
317 |
+
update_option('wp_rp_meta', $meta);
|
318 |
}
|
319 |
|
320 |
function wp_rp_migrate_3_4_3() {
|
332 |
}
|
333 |
}
|
334 |
|
335 |
+
|
336 |
$meta['subscribed'] = false;
|
337 |
update_option('wp_rp_meta', $meta);
|
338 |
|
init.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
define('WP_RP_VERSION', '3.6.
|
3 |
|
4 |
define('WP_RP_PLUGIN_FILE', plugin_basename(__FILE__));
|
5 |
|
@@ -39,13 +39,13 @@ function wp_rp_admin_style() {
|
|
39 |
wp_enqueue_style('wp_rp_admin_style', plugins_url('static/css/dashboard.css', __FILE__));
|
40 |
}
|
41 |
add_action( 'admin_enqueue_scripts', 'wp_rp_admin_style');
|
42 |
-
|
43 |
function wp_rp_global_notice() {
|
44 |
global $pagenow, $wp_rp_global_notice_pages;
|
45 |
if (!current_user_can('delete_users')) {
|
46 |
return;
|
47 |
}
|
48 |
-
|
49 |
$meta = wp_rp_get_meta();
|
50 |
$close_url = add_query_arg( array(
|
51 |
'page' => 'wordpress-related-posts',
|
@@ -57,7 +57,7 @@ function wp_rp_global_notice() {
|
|
57 |
}
|
58 |
}
|
59 |
add_action('all_admin_notices', 'wp_rp_global_notice' );
|
60 |
-
|
61 |
function wp_rp_extend_adminbar() {
|
62 |
global $wp_admin_bar;
|
63 |
|
@@ -75,11 +75,11 @@ global $wp_rp_output;
|
|
75 |
$wp_rp_output = array();
|
76 |
function wp_rp_add_related_posts_hook($content) {
|
77 |
global $wp_rp_output, $post;
|
78 |
-
|
79 |
if( !is_object($post) ) {
|
80 |
return $content;
|
81 |
}
|
82 |
-
|
83 |
$options = wp_rp_get_options();
|
84 |
|
85 |
if ($content != "" && $post->post_type === 'post' && (($options["on_single_post"] && is_single()) || (is_feed() && $options["on_rss"]))) {
|
@@ -123,7 +123,7 @@ function wp_rp_ajax_load_articles_callback() {
|
|
123 |
global $post;
|
124 |
|
125 |
$platform_options = wp_rp_get_platform_options();
|
126 |
-
|
127 |
$getdata = stripslashes_deep($_GET);
|
128 |
if (!isset($getdata['post_id'])) {
|
129 |
die('error');
|
@@ -168,7 +168,7 @@ function wp_rp_ajax_load_articles_callback() {
|
|
168 |
|
169 |
foreach (array_slice($related_posts, $from) as $related_post) {
|
170 |
$excerpt_max_length = $platform_options["excerpt_max_length"];
|
171 |
-
|
172 |
$excerpt = $related_post->post_excerpt;
|
173 |
if (!$excerpt) {
|
174 |
$excerpt = strip_shortcodes(strip_tags($related_post->post_content));
|
@@ -281,7 +281,7 @@ function wp_rp_text_shorten($text, $max_chars) {
|
|
281 |
}
|
282 |
return $shortened_text . WP_RP_EXCERPT_SHORTENED_SYMBOL; //'...';
|
283 |
}
|
284 |
-
|
285 |
function wp_rp_generate_related_posts_list_items($related_posts, $selected_related_posts, $post_categories) {
|
286 |
$options = wp_rp_get_options();
|
287 |
$platform_options = wp_rp_get_platform_options();
|
@@ -447,7 +447,7 @@ function wp_rp_head_resources() {
|
|
447 |
|
448 |
$static_url = plugins_url('static/', __FILE__);
|
449 |
$theme_url = plugins_url(WP_RP_STATIC_THEMES_PATH, __FILE__);
|
450 |
-
|
451 |
if ($options['enable_themes']) {
|
452 |
if ($platform_options['theme_name'] !== 'plain.css' && $platform_options['theme_name'] !== 'm-plain.css') {
|
453 |
$output .= '<link rel="stylesheet" href="' . $theme_url . $platform_options['theme_name'] . '?version=' . WP_RP_VERSION . '" />' . "\n";
|
@@ -529,7 +529,7 @@ function wp_rp_get_related_posts($before_title = '', $after_title = '') {
|
|
529 |
$posts_footer .= '<div class="wp_rp_footer"><a class="wp_rp_edit" href="#" id="wp_rp_edit_related_posts">Edit Related Posts</a></div>';
|
530 |
}
|
531 |
if ($options['display_zemanta_linky']) {
|
532 |
-
$posts_footer .= '<div class="wp_rp_footer"><a class="wp_rp_backlink" target="_blank" href="http://www.
|
533 |
}
|
534 |
|
535 |
$css_classes = 'related_post wp_rp';
|
@@ -545,13 +545,13 @@ function wp_rp_get_related_posts($before_title = '', $after_title = '') {
|
|
545 |
$wp_rp_is_first_widget = false;
|
546 |
$first_id_attr = 'id="wp_rp_first"';
|
547 |
}
|
548 |
-
|
549 |
$wrap_style = '';
|
550 |
//error_log('test group when content:' . $wp_rp_test_group);
|
551 |
if ($wp_rp_test_group == 2) {
|
552 |
$wrap_style = ' style="display:none;"';
|
553 |
}
|
554 |
-
|
555 |
$output = '<div class="wp_rp_wrap ' . $css_classes_wrap . '" ' . $first_id_attr . $wrap_style . '>' .
|
556 |
'<div class="wp_rp_content">' .
|
557 |
$related_posts_title .
|
1 |
<?php
|
2 |
+
define('WP_RP_VERSION', '3.6.3');
|
3 |
|
4 |
define('WP_RP_PLUGIN_FILE', plugin_basename(__FILE__));
|
5 |
|
39 |
wp_enqueue_style('wp_rp_admin_style', plugins_url('static/css/dashboard.css', __FILE__));
|
40 |
}
|
41 |
add_action( 'admin_enqueue_scripts', 'wp_rp_admin_style');
|
42 |
+
|
43 |
function wp_rp_global_notice() {
|
44 |
global $pagenow, $wp_rp_global_notice_pages;
|
45 |
if (!current_user_can('delete_users')) {
|
46 |
return;
|
47 |
}
|
48 |
+
|
49 |
$meta = wp_rp_get_meta();
|
50 |
$close_url = add_query_arg( array(
|
51 |
'page' => 'wordpress-related-posts',
|
57 |
}
|
58 |
}
|
59 |
add_action('all_admin_notices', 'wp_rp_global_notice' );
|
60 |
+
|
61 |
function wp_rp_extend_adminbar() {
|
62 |
global $wp_admin_bar;
|
63 |
|
75 |
$wp_rp_output = array();
|
76 |
function wp_rp_add_related_posts_hook($content) {
|
77 |
global $wp_rp_output, $post;
|
78 |
+
|
79 |
if( !is_object($post) ) {
|
80 |
return $content;
|
81 |
}
|
82 |
+
|
83 |
$options = wp_rp_get_options();
|
84 |
|
85 |
if ($content != "" && $post->post_type === 'post' && (($options["on_single_post"] && is_single()) || (is_feed() && $options["on_rss"]))) {
|
123 |
global $post;
|
124 |
|
125 |
$platform_options = wp_rp_get_platform_options();
|
126 |
+
|
127 |
$getdata = stripslashes_deep($_GET);
|
128 |
if (!isset($getdata['post_id'])) {
|
129 |
die('error');
|
168 |
|
169 |
foreach (array_slice($related_posts, $from) as $related_post) {
|
170 |
$excerpt_max_length = $platform_options["excerpt_max_length"];
|
171 |
+
|
172 |
$excerpt = $related_post->post_excerpt;
|
173 |
if (!$excerpt) {
|
174 |
$excerpt = strip_shortcodes(strip_tags($related_post->post_content));
|
281 |
}
|
282 |
return $shortened_text . WP_RP_EXCERPT_SHORTENED_SYMBOL; //'...';
|
283 |
}
|
284 |
+
|
285 |
function wp_rp_generate_related_posts_list_items($related_posts, $selected_related_posts, $post_categories) {
|
286 |
$options = wp_rp_get_options();
|
287 |
$platform_options = wp_rp_get_platform_options();
|
447 |
|
448 |
$static_url = plugins_url('static/', __FILE__);
|
449 |
$theme_url = plugins_url(WP_RP_STATIC_THEMES_PATH, __FILE__);
|
450 |
+
|
451 |
if ($options['enable_themes']) {
|
452 |
if ($platform_options['theme_name'] !== 'plain.css' && $platform_options['theme_name'] !== 'm-plain.css') {
|
453 |
$output .= '<link rel="stylesheet" href="' . $theme_url . $platform_options['theme_name'] . '?version=' . WP_RP_VERSION . '" />' . "\n";
|
529 |
$posts_footer .= '<div class="wp_rp_footer"><a class="wp_rp_edit" href="#" id="wp_rp_edit_related_posts">Edit Related Posts</a></div>';
|
530 |
}
|
531 |
if ($options['display_zemanta_linky']) {
|
532 |
+
$posts_footer .= '<div class="wp_rp_footer"><a class="wp_rp_backlink" target="_blank" href="http://www.sovrn.com/" rel="nofollow">Sovrn</a></div>';
|
533 |
}
|
534 |
|
535 |
$css_classes = 'related_post wp_rp';
|
545 |
$wp_rp_is_first_widget = false;
|
546 |
$first_id_attr = 'id="wp_rp_first"';
|
547 |
}
|
548 |
+
|
549 |
$wrap_style = '';
|
550 |
//error_log('test group when content:' . $wp_rp_test_group);
|
551 |
if ($wp_rp_test_group == 2) {
|
552 |
$wrap_style = ' style="display:none;"';
|
553 |
}
|
554 |
+
|
555 |
$output = '<div class="wp_rp_wrap ' . $css_classes_wrap . '" ' . $first_id_attr . $wrap_style . '>' .
|
556 |
'<div class="wp_rp_content">' .
|
557 |
$related_posts_title .
|
readme.txt
CHANGED
@@ -1,23 +1,19 @@
|
|
1 |
-
===
|
2 |
Contributors: sovrn, zemanta
|
3 |
-
Tags: related,posts,post,related posts,plugin,seo
|
4 |
License: GPLv2
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 4.6
|
7 |
-
Stable tag: 3.6.
|
8 |
|
9 |
WordPress Related Posts - the plugin for related posts with thumbnails. Caching included.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
Quickly increase your readers' engagement with your posts by adding Related Posts in the footer of your content. Automatically added Related Posts can increase your internal traffic up to 10%. Just install and activate. To attract attention and improve SEO, link out to Related Posts across the web from your compose screen. Search for posts and hand-pick them with ease. Recommendations are provided by
|
14 |
|
15 |
After installation, go to Settings -> Related Posts in your plugins list and Turn on Advanced Features!
|
16 |
|
17 |
-
|
18 |
-
[Click here to read more about this plugin.](http://zem.si/1kc5j9Z)
|
19 |
-
|
20 |
-
|
21 |
**Share the Link Love**
|
22 |
|
23 |
[vimeo http://vimeo.com/91619827]
|
@@ -27,7 +23,7 @@ After installation, go to Settings -> Related Posts in your plugins list and Tur
|
|
27 |
|
28 |
= What does this plugin do? =
|
29 |
|
30 |
-
It places a list of links with thumbnails at the bottom of your posts. It increases
|
31 |
|
32 |
= Why should I use this plugin and not any other? =
|
33 |
|
@@ -48,15 +44,15 @@ Yes, related posts are responsive so they adapt to the screen size to ensure max
|
|
48 |
|
49 |
= Can I customize the widget? =
|
50 |
|
51 |
-
Yes,
|
52 |
|
53 |
-
= Will
|
54 |
|
55 |
-
No,
|
56 |
|
57 |
= What about Terms of Service and Privacy Policy? =
|
58 |
-
|
59 |
-
Before using the plugin please read the full version of [
|
60 |
|
61 |
== Installation ==
|
62 |
|
@@ -80,8 +76,8 @@ Before using the plugin please read the full version of [Zemanta Terms of Servic
|
|
80 |
1. WordPress Related Posts Default Theme.
|
81 |
2. WordPress Related Posts responsive theme on a Galaxy Nexus and iPhone 4s.
|
82 |
|
83 |
-
== Terms of service ==
|
84 |
-
The plugin source code is released under GPLv2. Usage of our service is governed by [
|
85 |
|
86 |
== Upgrade Notice ==
|
87 |
|
@@ -93,6 +89,12 @@ Fix for security vulnerability. Upgrade immediately.
|
|
93 |
|
94 |
== Changelog ==
|
95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
= 3.6.1 =
|
97 |
* Removed a deprecated feature for which some users reported performance issues
|
98 |
|
@@ -150,7 +152,7 @@ Fix for security vulnerability. Upgrade immediately.
|
|
150 |
= 3.3.2 =
|
151 |
* Changed default thumbnail title to image file name
|
152 |
* Bug fixes for thumbnailer
|
153 |
-
* Fixed compatibility issues with Open Graph plugins
|
154 |
|
155 |
= 3.3.1 =
|
156 |
* Added setting for admins to restrict the ability to edit automatically added Related posts to admins only
|
@@ -286,7 +288,7 @@ Fix for security vulnerability. Upgrade immediately.
|
|
286 |
= 1.2.1 =
|
287 |
* Sane defaults
|
288 |
|
289 |
-
= 1.2 =
|
290 |
* Compatible with WordPress 3.0
|
291 |
|
292 |
= 1.1 =
|
1 |
+
=== WordPress Related Posts ===
|
2 |
Contributors: sovrn, zemanta
|
3 |
+
Tags: related,posts,post,related posts,plugin,seo,sovrn
|
4 |
License: GPLv2
|
5 |
Requires at least: 3.6
|
6 |
Tested up to: 4.6
|
7 |
+
Stable tag: 3.6.3
|
8 |
|
9 |
WordPress Related Posts - the plugin for related posts with thumbnails. Caching included.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
Quickly increase your readers' engagement with your posts by adding Related Posts in the footer of your content. Automatically added Related Posts can increase your internal traffic up to 10%. Just install and activate. To attract attention and improve SEO, link out to Related Posts across the web from your compose screen. Search for posts and hand-pick them with ease. Recommendations are provided by Sovrn's world-class semantic service. Plugin supports different styles, thumbnails, is fully customizable and includes caching for improved performance.
|
14 |
|
15 |
After installation, go to Settings -> Related Posts in your plugins list and Turn on Advanced Features!
|
16 |
|
|
|
|
|
|
|
|
|
17 |
**Share the Link Love**
|
18 |
|
19 |
[vimeo http://vimeo.com/91619827]
|
23 |
|
24 |
= What does this plugin do? =
|
25 |
|
26 |
+
It places a list of links with thumbnails at the bottom of your posts. It increases page views and engages readers to stay on your site longer and discover more of your content. It also recommends related posts from across the web and in turn promotes your posts to other users. In this way you get new unique visitors to your site and improve SEO.
|
27 |
|
28 |
= Why should I use this plugin and not any other? =
|
29 |
|
44 |
|
45 |
= Can I customize the widget? =
|
46 |
|
47 |
+
Yes, Sovrn is offered in different themes which you can also customize with simple CSS.
|
48 |
|
49 |
+
= Will Sovrn steal my "link-juice"? =
|
50 |
|
51 |
+
No, Sovrn does not use redirects and is juice friendly. :)
|
52 |
|
53 |
= What about Terms of Service and Privacy Policy? =
|
54 |
+
|
55 |
+
Before using the plugin please read the full version of [Sovrn Terms of Service](http://www.sovrn.com/editorial-network-terms-of-service/) and [Sovrn Privacy Policy](http://www.sovrn.com/privacy-policy/).
|
56 |
|
57 |
== Installation ==
|
58 |
|
76 |
1. WordPress Related Posts Default Theme.
|
77 |
2. WordPress Related Posts responsive theme on a Galaxy Nexus and iPhone 4s.
|
78 |
|
79 |
+
== Terms of service ==
|
80 |
+
The plugin source code is released under GPLv2. Usage of our service is governed by [Sovrn Terms of Service](http://www.sovrn.com/editorial-network-terms-of-service/) and [Sovrn Privacy Policy](http://www.sovrn.com/privacy-policy/).
|
81 |
|
82 |
== Upgrade Notice ==
|
83 |
|
89 |
|
90 |
== Changelog ==
|
91 |
|
92 |
+
= 3.6.3 =
|
93 |
+
* Rebrand
|
94 |
+
|
95 |
+
= 3.6.2 =
|
96 |
+
* String change
|
97 |
+
|
98 |
= 3.6.1 =
|
99 |
* Removed a deprecated feature for which some users reported performance issues
|
100 |
|
152 |
= 3.3.2 =
|
153 |
* Changed default thumbnail title to image file name
|
154 |
* Bug fixes for thumbnailer
|
155 |
+
* Fixed compatibility issues with Open Graph plugins
|
156 |
|
157 |
= 3.3.1 =
|
158 |
* Added setting for admins to restrict the ability to edit automatically added Related posts to admins only
|
288 |
= 1.2.1 =
|
289 |
* Sane defaults
|
290 |
|
291 |
+
= 1.2 =
|
292 |
* Compatible with WordPress 3.0
|
293 |
|
294 |
= 1.1 =
|
static/img/arrow_down.png
CHANGED
Binary file
|
static/img/arrow_right.png
CHANGED
Binary file
|
static/img/promoted_arrow.png
CHANGED
Binary file
|
static/img/up.png
CHANGED
Binary file
|
views/connect_notice.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
</div>
|
13 |
</div>
|
14 |
<div id="wp-rp-bottom-container">
|
15 |
-
<p>By turning on Related Posts you agree to <a href="http://www.
|
16 |
-
<p>You'll get Advanced Settings, Themes, Thumbnails and Analytics Dashboard. These features are provided by <a target="_blank" href="http://www.
|
17 |
</div>
|
18 |
</div>
|
12 |
</div>
|
13 |
</div>
|
14 |
<div id="wp-rp-bottom-container">
|
15 |
+
<p>By turning on Related Posts you agree to <a href="http://www.sovrn.com/editorial-network-terms-of-service/" target="_blank">terms of service.</a></p>
|
16 |
+
<p>You'll get Advanced Settings, Themes, Thumbnails and Analytics Dashboard. These features are provided by <a target="_blank" href="http://www.sovrn.com">Sovrn</a> as a service.</p>
|
17 |
</div>
|
18 |
</div>
|
views/settings.php
CHANGED
@@ -8,14 +8,14 @@
|
|
8 |
<div class="support">
|
9 |
<h4><?php _e("Awesome support", 'wp_related_posts'); ?></h4>
|
10 |
<p>
|
11 |
-
<?php _e("If you have any questions please contact us at",'wp_related_posts');?> <a target="_blank" href="mailto:support
|
12 |
</p>
|
13 |
</div>
|
14 |
<h2 class="title">
|
15 |
-
<?php _e("Wordpress Related Posts",'wp_related_posts');?>
|
16 |
<span>
|
17 |
-
<?php _e("by",'wp_related_posts');?>
|
18 |
-
<a href="http://www.
|
19 |
</span>
|
20 |
</h2>
|
21 |
</div>
|
@@ -28,7 +28,7 @@
|
|
28 |
<?php _e('Email:', 'wp_related_posts'); ?>
|
29 |
</th>
|
30 |
<td>
|
31 |
-
<input type="text" id="wp_rp_subscribe_email" value="<?php esc_attr_e($meta['email']); ?>" class="regular-text" />
|
32 |
<a id="wp_rp_subscribe_button" href="#" class="button-primary"><?php _e('Subscribe', 'wp_related_posts'); ?></a>
|
33 |
<a id="wp_rp_unsubscribe_button" href="#" class="button-primary"><?php _e('Unsubscribe', 'wp_related_posts'); ?></a>
|
34 |
</td>
|
@@ -54,17 +54,17 @@
|
|
54 |
<form method="get" action="">
|
55 |
<fieldset>
|
56 |
<input type="hidden" name="page" value="wordpress-related-posts" />
|
57 |
-
<input class="button-primary" type="submit" name="wp_rp_upload_articles" value="<?php _e("Upload my articles to
|
58 |
</fieldset>
|
59 |
</form>
|
60 |
<?php else: ?>
|
61 |
<p>Your articles are being uploaded.</p>
|
62 |
<?php endif; ?>
|
63 |
-
<h3>Number of articles in
|
64 |
</div>
|
65 |
<!-- MAIN FORM -->
|
66 |
<form method="post" enctype="multipart/form-data" action="<?php echo $form_url; ?>" id="wp_rp_settings_form" style="display: <?php echo $form_display; ?>;">
|
67 |
-
<?php wp_nonce_field('wp_rp_settings', '_wp_rp_nonce') ?>
|
68 |
<div id="wp_rp_basic_settings_collapsible" block="basic_settings" class="settings_block collapsible">
|
69 |
<a href="#" class="collapse-handle">Collapse</a>
|
70 |
<h2><?php _e("Basic settings",'wp_related_posts');?></h2>
|
@@ -98,7 +98,7 @@
|
|
98 |
<input name="wp_rp_enable_themes" type="checkbox" id="wp_rp_enable_themes" value="yes"<?php checked($options["enable_themes"]); ?> />
|
99 |
<?php _e("Enable Themes",'wp_related_posts'); ?>*
|
100 |
</label>
|
101 |
-
|
102 |
<h4><?php _e("Layout",'wp_related_posts'); ?></h4>
|
103 |
<div id="wp_rp_theme_options_wrap" style="display:none;">
|
104 |
<input type="hidden" id="wp_rp_desktop_theme_selected" value="<?php esc_attr_e($options['desktop']['theme_name']); ?>" />
|
@@ -214,7 +214,7 @@
|
|
214 |
</div>
|
215 |
<label>
|
216 |
<input name="wp_rp_classic_state" type="checkbox" id="wp_rp_classic_state" value="yes" <?php checked($meta['classic_user']); ?>>
|
217 |
-
<?php _e("Display widget with
|
218 |
</label><?php endif; ?>
|
219 |
<br/>
|
220 |
<label>
|
@@ -251,17 +251,15 @@
|
|
251 |
<div class="container">
|
252 |
<h3>Did you know?</h3>
|
253 |
This plugin supports two types of related posts - automatic and those you can add manually.
|
254 |
-
|
255 |
-
<p>Automatic posts work out of the box. They're already turned on and they link to your own posts only. And that's just the
|
256 |
-
|
257 |
-
<p>But you
|
258 |
|
259 |
<p>Also - you can now use our related articles widget while composing your posts in the <strong>Text mode</strong> of your editor. This way your workflow won't be interrupted by switching back and forth between <em>Visual</em> and <em>Text</em> mode.</p>
|
260 |
<iframe src="//player.vimeo.com/video/98542850" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
|
261 |
<h3>FAQ</h3>
|
262 |
<p><strong>Are manually added related posts available only for bloggers who write in English?</strong> <br />Yes.</p>
|
263 |
-
<p><strong>Will my posts be recommended to others?</strong> <br />Depends, check our <a href="http://zem.si/PLAzS1" target="_blank">guidelines</a> if you fit in.
|
264 |
-
</p>
|
265 |
|
266 |
</div>
|
267 |
</div>
|
@@ -270,7 +268,3 @@
|
|
270 |
</p>
|
271 |
</form>
|
272 |
</div>
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
8 |
<div class="support">
|
9 |
<h4><?php _e("Awesome support", 'wp_related_posts'); ?></h4>
|
10 |
<p>
|
11 |
+
<?php _e("If you have any questions please contact us at",'wp_related_posts');?> <a target="_blank" href="mailto:ea-support@sovrn.com"><?php _e("support", 'wp_related_posts');?></a>.
|
12 |
</p>
|
13 |
</div>
|
14 |
<h2 class="title">
|
15 |
+
<?php _e("Wordpress Related Posts",'wp_related_posts');?>
|
16 |
<span>
|
17 |
+
<?php _e("by",'wp_related_posts');?>
|
18 |
+
<a target="_blank" href="http://www.sovrn.com">Sovrn</a>
|
19 |
</span>
|
20 |
</h2>
|
21 |
</div>
|
28 |
<?php _e('Email:', 'wp_related_posts'); ?>
|
29 |
</th>
|
30 |
<td>
|
31 |
+
<input type="text" id="wp_rp_subscribe_email" value="<?php esc_attr_e($meta['email']); ?>" class="regular-text" />
|
32 |
<a id="wp_rp_subscribe_button" href="#" class="button-primary"><?php _e('Subscribe', 'wp_related_posts'); ?></a>
|
33 |
<a id="wp_rp_unsubscribe_button" href="#" class="button-primary"><?php _e('Unsubscribe', 'wp_related_posts'); ?></a>
|
34 |
</td>
|
54 |
<form method="get" action="">
|
55 |
<fieldset>
|
56 |
<input type="hidden" name="page" value="wordpress-related-posts" />
|
57 |
+
<input class="button-primary" type="submit" name="wp_rp_upload_articles" value="<?php _e("Upload my articles to Sovrn", 'wp_related_posts');?>">
|
58 |
</fieldset>
|
59 |
</form>
|
60 |
<?php else: ?>
|
61 |
<p>Your articles are being uploaded.</p>
|
62 |
<?php endif; ?>
|
63 |
+
<h3>Number of articles in Sovrn network: <?php echo $articles_count; ?></h3>
|
64 |
</div>
|
65 |
<!-- MAIN FORM -->
|
66 |
<form method="post" enctype="multipart/form-data" action="<?php echo $form_url; ?>" id="wp_rp_settings_form" style="display: <?php echo $form_display; ?>;">
|
67 |
+
<?php wp_nonce_field('wp_rp_settings', '_wp_rp_nonce') ?>
|
68 |
<div id="wp_rp_basic_settings_collapsible" block="basic_settings" class="settings_block collapsible">
|
69 |
<a href="#" class="collapse-handle">Collapse</a>
|
70 |
<h2><?php _e("Basic settings",'wp_related_posts');?></h2>
|
98 |
<input name="wp_rp_enable_themes" type="checkbox" id="wp_rp_enable_themes" value="yes"<?php checked($options["enable_themes"]); ?> />
|
99 |
<?php _e("Enable Themes",'wp_related_posts'); ?>*
|
100 |
</label>
|
101 |
+
|
102 |
<h4><?php _e("Layout",'wp_related_posts'); ?></h4>
|
103 |
<div id="wp_rp_theme_options_wrap" style="display:none;">
|
104 |
<input type="hidden" id="wp_rp_desktop_theme_selected" value="<?php esc_attr_e($options['desktop']['theme_name']); ?>" />
|
214 |
</div>
|
215 |
<label>
|
216 |
<input name="wp_rp_classic_state" type="checkbox" id="wp_rp_classic_state" value="yes" <?php checked($meta['classic_user']); ?>>
|
217 |
+
<?php _e("Display widget with articles from around the web in your \"Compose-new-post\" page",'wp_related_posts');?>
|
218 |
</label><?php endif; ?>
|
219 |
<br/>
|
220 |
<label>
|
251 |
<div class="container">
|
252 |
<h3>Did you know?</h3>
|
253 |
This plugin supports two types of related posts - automatic and those you can add manually.
|
254 |
+
|
255 |
+
<p>Automatic posts work out of the box. They're already turned on and they link to your own posts only. And that's just the first step towards being a better blogger.</p>
|
256 |
+
|
257 |
+
<p>But you can do more. You can attract attention from other bloggers and improve your credibility by inserting recommendations that show up below your editor, while you write. This way everybody wins.</p>
|
258 |
|
259 |
<p>Also - you can now use our related articles widget while composing your posts in the <strong>Text mode</strong> of your editor. This way your workflow won't be interrupted by switching back and forth between <em>Visual</em> and <em>Text</em> mode.</p>
|
260 |
<iframe src="//player.vimeo.com/video/98542850" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
|
261 |
<h3>FAQ</h3>
|
262 |
<p><strong>Are manually added related posts available only for bloggers who write in English?</strong> <br />Yes.</p>
|
|
|
|
|
263 |
|
264 |
</div>
|
265 |
</div>
|
268 |
</p>
|
269 |
</form>
|
270 |
</div>
|
|
|
|
|
|
|
|
wp_related_posts.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WordPress Related Posts
|
4 |
-
Version: 3.6.
|
5 |
Plugin URI: http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/
|
6 |
Description: Quickly increase your readers' engagement with your posts by adding Related Posts in the footer of your content. Click on <a href="admin.php?page=wordpress-related-posts">Related Posts tab</a> to configure your settings.
|
7 |
Author: Sovrn, zemanta
|
@@ -16,7 +16,7 @@ if (! function_exists('wp_rp_init_zemanta')) {
|
|
16 |
</div>
|
17 |
<?php
|
18 |
}
|
19 |
-
|
20 |
try {
|
21 |
include_once(dirname(__FILE__) . '/init.php');
|
22 |
}
|
@@ -34,4 +34,3 @@ else {
|
|
34 |
}
|
35 |
add_action( 'admin_notices', 'wp_rp_multiple_plugins_notice' );
|
36 |
}
|
37 |
-
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WordPress Related Posts
|
4 |
+
Version: 3.6.3
|
5 |
Plugin URI: http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/
|
6 |
Description: Quickly increase your readers' engagement with your posts by adding Related Posts in the footer of your content. Click on <a href="admin.php?page=wordpress-related-posts">Related Posts tab</a> to configure your settings.
|
7 |
Author: Sovrn, zemanta
|
16 |
</div>
|
17 |
<?php
|
18 |
}
|
19 |
+
|
20 |
try {
|
21 |
include_once(dirname(__FILE__) . '/init.php');
|
22 |
}
|
34 |
}
|
35 |
add_action( 'admin_notices', 'wp_rp_multiple_plugins_notice' );
|
36 |
}
|
|
zemanta/img/logo.png
CHANGED
Binary file
|
zemanta/img/menu_icon.png
CHANGED
Binary file
|