SEO Ultimate - Version 1.8

Version Description

Download this release

Release Info

Developer SEO Design Solutions
Plugin Icon 128x128 SEO Ultimate
Version 1.8
Comparing to
See all releases

Code changes from version 1.7.3 to 1.8

modules/autolinks/autolinks.php ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Deeplink Juggernaut Module
4
+ *
5
+ * @version 0.1
6
+ * @since 1.8
7
+ */
8
+
9
+ if (class_exists('SU_Module')) {
10
+
11
+ class SU_Autolinks extends SU_Module {
12
+
13
+ function get_module_title() { return __('Deeplink Juggernaut', 'seo-ultimate'); }
14
+ function get_page_title() { return __('Deeplink Juggernaut (Beta)', 'seo-ultimate'); }
15
+
16
+ function init() {
17
+ add_filter('the_content', array(&$this, 'autolink_content'));
18
+ }
19
+
20
+ function autolink_content($content) {
21
+
22
+ $links = $this->get_setting('links');
23
+ if (!count($links)) return $content;
24
+
25
+ suarr::vklrsort($links, 'anchor');
26
+
27
+ foreach ($links as $data) {
28
+ $anchor = $data['anchor'];
29
+ $url = su_esc_attr($data['to_id']);
30
+ $type = $data['to_type'];
31
+
32
+ if ($type == 'url' && strlen(trim($anchor)) && strlen(trim($url))) {
33
+ //Special thanks to the GPL-licensed "SEO Smart Links" plugin for the following find/replace code
34
+ //http://www.prelovac.com/vladimir/wordpress-plugins/seo-smart-links
35
+ $replace = "<a title=\"$1\" href=\"$url\">$1</a>";
36
+ $reg = '/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>))\b($name)\b/imsU';
37
+ $regexp = str_replace('$name', $anchor, $reg);
38
+ $content = preg_replace($regexp, $replace, $content);
39
+ }
40
+ }
41
+
42
+ return $content;
43
+ }
44
+
45
+ function admin_page_contents() {
46
+ echo "\n<p>";
47
+ _e("The Deeplink Juggernaut can automatically link post/page anchor text to given URLs. This is a preview beta version. More functionality will be added in future releases of SEO Ultimate.", 'seo-ultimate');
48
+ echo "</p>\n";
49
+
50
+ $this->admin_form_start(false, false);
51
+
52
+ if ($this->is_action('update')) {
53
+ $links = array();
54
+ for ($i=0; $i<20; $i++) {
55
+ $anchor = stripslashes($_POST["link_{$i}_anchor"]);
56
+ $url = stripslashes($_POST["link_{$i}_url"]);
57
+ if (strlen($anchor) || strlen($url)) {
58
+ $links[] = array('anchor' => $anchor, 'to_type' => 'url', 'to_id' => $url);
59
+ }
60
+ }
61
+ $this->update_setting('links', $links);
62
+ } else {
63
+ $links = $this->get_setting('links');
64
+ if (!$links) $links = array();
65
+ }
66
+
67
+ $this->admin_wftable_start(array(
68
+ 'link-anchor' => __('Anchor Text', 'seo-ultimate')
69
+ , 'link-to_id' => __('URL', 'seo-ultimate')
70
+ ));
71
+
72
+ for ($i=0; $i<20; $i++) {
73
+ $anchor = su_esc_attr($links[$i]['anchor']);
74
+ $url = su_esc_attr($links[$i]['to_id']);
75
+ echo "\t\t<tr><td><input type='text' id='link_{$i}_anchor' name='link_{$i}_anchor' value='$anchor' /></td><td><input type='text' id='link_{$i}_url' name='link_{$i}_url' value='$url' /></td></tr>\n";
76
+ }
77
+
78
+ $this->admin_wftable_end();
79
+ $this->admin_form_end(false, false);
80
+ }
81
+ }
82
+
83
+ } elseif ($_GET['css'] == 'admin') {
84
+ header('Content-type: text/css');
85
+ ?>
86
+
87
+ #su-autolinks table.widefat,
88
+ #su-autolinks table.widefat input {
89
+ width: 100%;
90
+ }
91
+
92
+ <?php
93
+ }
94
+ ?>
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === SEO Ultimate ===
2
  Contributors: SEO Design Solutions
3
- Tags: seo, google, yahoo, bing, search engines, admin, post, page, modules, title, meta, noindex, canonical, 404, robots.txt, htaccess, slugs, url, anchor, more, link, excerpt, permalink
4
  Requires at least: 2.8
5
  Tested up to: 2.9
6
- Stable tag: 1.7.3
7
 
8
  This all-in-one SEO plugin gives you control over titles, noindex, meta data, slugs, canonical tags, "more" links, 404 error tracking, and more.
9
 
@@ -11,9 +11,9 @@ This all-in-one SEO plugin gives you control over titles, noindex, meta data, sl
11
 
12
  = Recent Releases =
13
 
 
14
  * Version 1.7 adds a blog privacy setting checker
15
  * Version 1.6 adds an All in One SEO Pack importer
16
- * Version 1.5 adds under-the-hood improvements and additional documentation
17
 
18
  = Features =
19
 
@@ -53,7 +53,7 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
53
  * **Slug Optimizer**
54
  * Increase in-URL keyword potency by removing "filler words" (like "the," "with," "and," etc.) from post/page URLs.
55
 
56
- * **Competition Researcher** -- NEW in Version 1.2
57
  * Investigate multiple keywords or URLs with quick access to search engine tools. Competition Researcher does this without illicit scraping/automation methods.
58
  * Find out how many webpages are competing for the keywords you specify.
59
  * Choose to analyze the keyword relevance in competing webpages' titles, body content, URLs, or anchor text.
@@ -70,6 +70,10 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
70
  * Determine which of your webpages Google most strongly associates with the keywords you specify.
71
  * Use the information to determine ideal targets for incoming links or ideal sources of outgoing links.
72
 
 
 
 
 
73
  * **Settings Manager**
74
  * Export your SEO Ultimate settings to a file and re-import later if desired.
75
  * Move SEO Ultimate settings between blogs using the export/import functionality.
1
  === SEO Ultimate ===
2
  Contributors: SEO Design Solutions
3
+ Tags: seo, google, yahoo, bing, search engines, admin, post, page, modules, title, meta, noindex, canonical, 404, robots.txt, htaccess, slugs, url, anchor, more, link, excerpt, permalink, links, autolinks
4
  Requires at least: 2.8
5
  Tested up to: 2.9
6
+ Stable tag: 1.8
7
 
8
  This all-in-one SEO plugin gives you control over titles, noindex, meta data, slugs, canonical tags, "more" links, 404 error tracking, and more.
9
 
11
 
12
  = Recent Releases =
13
 
14
+ * Version 1.8 adds basic auto-linking functionality
15
  * Version 1.7 adds a blog privacy setting checker
16
  * Version 1.6 adds an All in One SEO Pack importer
 
17
 
18
  = Features =
19
 
53
  * **Slug Optimizer**
54
  * Increase in-URL keyword potency by removing "filler words" (like "the," "with," "and," etc.) from post/page URLs.
55
 
56
+ * **Competition Researcher**
57
  * Investigate multiple keywords or URLs with quick access to search engine tools. Competition Researcher does this without illicit scraping/automation methods.
58
  * Find out how many webpages are competing for the keywords you specify.
59
  * Choose to analyze the keyword relevance in competing webpages' titles, body content, URLs, or anchor text.
70
  * Determine which of your webpages Google most strongly associates with the keywords you specify.
71
  * Use the information to determine ideal targets for incoming links or ideal sources of outgoing links.
72
 
73
+ * **More Link Customizer** -- NEW in Version 1.8
74
+ * Automatically link phrases in your posts/pages to given URLs
75
+ * Use the power of anchor text to boost your internal ranking paradigm
76
+
77
  * **Settings Manager**
78
  * Export your SEO Ultimate settings to a file and re-import later if desired.
79
  * Move SEO Ultimate settings between blogs using the export/import functionality.
seo-ultimate.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SEO Ultimate
4
  Plugin URI: http://www.seodesignsolutions.com/wordpress-seo/
5
  Description: This all-in-one SEO plugin gives you control over titles, noindex, meta data, slugs, canonical tags, "more" links, 404 error tracking, and more.
6
- Version: 1.7.3
7
  Author: SEO Design Solutions
8
  Author URI: http://www.seodesignsolutions.com/
9
  Text Domain: seo-ultimate
@@ -12,7 +12,7 @@ Text Domain: seo-ultimate
12
  /**
13
  * The main SEO Ultimate plugin file.
14
  * @package SeoUltimate
15
- * @version 1.7.3
16
  * @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
17
  */
18
 
@@ -38,10 +38,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
38
  //Reading plugin info from constants is faster than trying to parse it from the header above.
39
  define("SU_PLUGIN_NAME", "SEO Ultimate");
40
  define("SU_PLUGIN_URI", "http://www.seodesignsolutions.com/wordpress-seo/");
41
- define("SU_VERSION", "1.7.3");
42
  define("SU_AUTHOR", "SEO Design Solutions");
43
  define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
44
- define("SU_USER_AGENT", "SeoUltimate/1.7.3");
45
 
46
  /********** INCLUDES **********/
47
 
3
  Plugin Name: SEO Ultimate
4
  Plugin URI: http://www.seodesignsolutions.com/wordpress-seo/
5
  Description: This all-in-one SEO plugin gives you control over titles, noindex, meta data, slugs, canonical tags, "more" links, 404 error tracking, and more.
6
+ Version: 1.8
7
  Author: SEO Design Solutions
8
  Author URI: http://www.seodesignsolutions.com/
9
  Text Domain: seo-ultimate
12
  /**
13
  * The main SEO Ultimate plugin file.
14
  * @package SeoUltimate
15
+ * @version 1.8
16
  * @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
17
  */
18
 
38
  //Reading plugin info from constants is faster than trying to parse it from the header above.
39
  define("SU_PLUGIN_NAME", "SEO Ultimate");
40
  define("SU_PLUGIN_URI", "http://www.seodesignsolutions.com/wordpress-seo/");
41
+ define("SU_VERSION", "1.8");
42
  define("SU_AUTHOR", "SEO Design Solutions");
43
  define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
44
+ define("SU_USER_AGENT", "SeoUltimate/1.8");
45
 
46
  /********** INCLUDES **********/
47