Version Description
Download this release
Release Info
Developer | SEO Design Solutions |
Plugin | SEO Ultimate |
Version | 0.6 |
Comparing to | |
See all releases |
Code changes from version 0.5 to 0.6
- class.seo-ultimate.php +8 -5
- class.su-importmodule.php +84 -0
- class.su-module.php +5 -3
- modules/linkbox.php +118 -0
- modules/settings.php +11 -3
- readme.txt +8 -2
- seo-ultimate.css +10 -0
- seo-ultimate.php +5 -5
- seo-ultimate.pot +70 -26
class.seo-ultimate.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* The main class. Provides plugin-level functionality.
|
4 |
*
|
5 |
-
* @version 1.3
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
class SEO_Ultimate {
|
@@ -817,8 +817,11 @@ class SEO_Ultimate {
|
|
817 |
if ($pagenow == 'plugins.php') {
|
818 |
|
819 |
$r_plugins = array(
|
820 |
-
'all-in-one-seo-pack/all_in_one_seo_pack.php'
|
821 |
-
, '
|
|
|
|
|
|
|
822 |
);
|
823 |
|
824 |
$i_plugins = get_plugins();
|
@@ -836,8 +839,8 @@ class SEO_Ultimate {
|
|
836 |
* @since 0.1
|
837 |
*/
|
838 |
function plugin_page_notice($file, $data, $context) {
|
839 |
-
if ($
|
840 |
-
|
841 |
//3 columns if 2.8+ but 5 columns if 2.7.x or prior
|
842 |
global $wp_version;
|
843 |
$columns = version_compare($wp_version, '2.8', '>=') ? 3 : 5;
|
2 |
/**
|
3 |
* The main class. Provides plugin-level functionality.
|
4 |
*
|
5 |
+
* @version 1.3.1
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
class SEO_Ultimate {
|
817 |
if ($pagenow == 'plugins.php') {
|
818 |
|
819 |
$r_plugins = array(
|
820 |
+
'all-in-one-seo-pack/all_in_one_seo_pack.php' //Title Rewriter, Meta Editor, Noindex Manager
|
821 |
+
, 'another-wordpress-meta-plugin/another_wordpress_meta_plugin.php' //Meta Editor
|
822 |
+
, 'canonical/canonical.php' //Canonicalizer
|
823 |
+
, 'noindex-login/noindex-login.php' //Noindex Manager
|
824 |
+
, 'search-engine-verify/search-engine-verify.php' //Meta Editor
|
825 |
);
|
826 |
|
827 |
$i_plugins = get_plugins();
|
839 |
* @since 0.1
|
840 |
*/
|
841 |
function plugin_page_notice($file, $data, $context) {
|
842 |
+
if (is_plugin_active($file)) {
|
843 |
+
|
844 |
//3 columns if 2.8+ but 5 columns if 2.7.x or prior
|
845 |
global $wp_version;
|
846 |
$columns = version_compare($wp_version, '2.8', '>=') ? 3 : 5;
|
class.su-importmodule.php
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Import Module
|
4 |
+
*
|
5 |
+
* @abstract
|
6 |
+
* @version 1.0
|
7 |
+
* @since 0.6
|
8 |
+
*/
|
9 |
+
|
10 |
+
if (class_exists('SU_Module')) {
|
11 |
+
|
12 |
+
class SU_ImportModule extends SU_Module {
|
13 |
+
|
14 |
+
var $import_status_image;
|
15 |
+
|
16 |
+
function __construct() {
|
17 |
+
|
18 |
+
}
|
19 |
+
|
20 |
+
function get_menu_parent() { return 'su-import-modules'; }
|
21 |
+
|
22 |
+
function admin_page() {
|
23 |
+
$this->admin_page_start('tools');
|
24 |
+
|
25 |
+
if ($this->is_action('update')) {
|
26 |
+
ob_start();
|
27 |
+
$this->admin_page_contents();
|
28 |
+
ob_end_clean();
|
29 |
+
|
30 |
+
global $seo_ultimate;
|
31 |
+
$this->import_status_image = $seo_ultimate->plugin_dir_url.'images/success.png';
|
32 |
+
|
33 |
+
$this->import_page_contents();
|
34 |
+
} else
|
35 |
+
$this->admin_page_contents();
|
36 |
+
|
37 |
+
$this->admin_page_end();
|
38 |
+
}
|
39 |
+
|
40 |
+
function admin_form_end($button = false, $table = true) {
|
41 |
+
if (!$button) $button = __("Import Now", 'seo-ultimate');
|
42 |
+
parent::admin_form_end($button, $table);
|
43 |
+
}
|
44 |
+
|
45 |
+
function import_page_contents() {
|
46 |
+
|
47 |
+
echo "<table id='import-status'>\n";
|
48 |
+
$this->do_import();
|
49 |
+
echo "</table>\n";
|
50 |
+
if ($this->module_exists('settings')) {
|
51 |
+
echo '<a href="options-general.php?page=seo-ultimate" class="button-secondary">';
|
52 |
+
_e('Return to settings page', 'seo-ultimate');
|
53 |
+
} else {
|
54 |
+
echo '<a href="admin.php?page=seo" class="button-secondary">';
|
55 |
+
_e('Return to SEO page', 'seo-ultimate');
|
56 |
+
}
|
57 |
+
echo "</a>\n";
|
58 |
+
}
|
59 |
+
|
60 |
+
function import_status($message) {
|
61 |
+
echo "<tr><td class='image'><img src='{$this->import_status_image}' alt='' /></td><td class='message'>$message</td></tr>";
|
62 |
+
}
|
63 |
+
|
64 |
+
function import_option($module, $key, $option) {
|
65 |
+
if (!isset($this->settings[$module][$key]) || $this->get_setting('overwrite_su')) {
|
66 |
+
$this->settings[$module][$key] = get_option($option);
|
67 |
+
if ($this->get_setting('delete_import')) delete_option($option);
|
68 |
+
}
|
69 |
+
}
|
70 |
+
|
71 |
+
function update_setting($key, $value, $module=null) {
|
72 |
+
if (!$module) $module = $this->get_module_key();
|
73 |
+
|
74 |
+
if (!apply_filters("su_custom_update_setting-$module-$key", false, $value)) {
|
75 |
+
$settings = maybe_unserialize(get_option('su_settings'));
|
76 |
+
if (!$settings) $settings = array();
|
77 |
+
$settings[$module][$key] = $value;
|
78 |
+
update_option('su_settings', serialize($settings));
|
79 |
+
}
|
80 |
+
}
|
81 |
+
}
|
82 |
+
|
83 |
+
}
|
84 |
+
?>
|
class.su-module.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* The pseudo-abstract class upon which all modules are based.
|
4 |
*
|
5 |
* @abstract
|
6 |
-
* @version 1.3
|
7 |
* @since 0.1
|
8 |
*/
|
9 |
class SU_Module {
|
@@ -454,15 +454,17 @@ class SU_Module {
|
|
454 |
* @since 0.1
|
455 |
* @uses get_parent_module()
|
456 |
*
|
|
|
457 |
* @param boolean $table Whether or not a form table should be ended.
|
458 |
*/
|
459 |
-
function admin_form_end($table = true) {
|
|
|
460 |
if ($table) echo "</table>\n";
|
461 |
|
462 |
if (!$this->get_parent_module()) {
|
463 |
?>
|
464 |
<p class="submit">
|
465 |
-
<input type="submit" class="button-primary" value="<?php
|
466 |
</p>
|
467 |
</form>
|
468 |
<?php
|
3 |
* The pseudo-abstract class upon which all modules are based.
|
4 |
*
|
5 |
* @abstract
|
6 |
+
* @version 1.3.1
|
7 |
* @since 0.1
|
8 |
*/
|
9 |
class SU_Module {
|
454 |
* @since 0.1
|
455 |
* @uses get_parent_module()
|
456 |
*
|
457 |
+
* @param string|false $button The label of the submit button.
|
458 |
* @param boolean $table Whether or not a form table should be ended.
|
459 |
*/
|
460 |
+
function admin_form_end($button = false, $table = true) {
|
461 |
+
if (!$button) $button = __('Save Changes'); //This string is used in normal WP, so we don't need a textdomain
|
462 |
if ($table) echo "</table>\n";
|
463 |
|
464 |
if (!$this->get_parent_module()) {
|
465 |
?>
|
466 |
<p class="submit">
|
467 |
+
<input type="submit" class="button-primary" value="<?php echo $button ?>" />
|
468 |
</p>
|
469 |
</form>
|
470 |
<?php
|
modules/linkbox.php
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Linkbox Inserter Module
|
4 |
+
*
|
5 |
+
* @version 1.0
|
6 |
+
* @since 0.6
|
7 |
+
*/
|
8 |
+
|
9 |
+
if (class_exists('SU_Module')) {
|
10 |
+
|
11 |
+
class SU_Linkbox extends SU_Module {
|
12 |
+
|
13 |
+
function get_menu_title() { return __('Linkbox Inserter', 'seo-ultimate'); }
|
14 |
+
|
15 |
+
function get_default_settings() {
|
16 |
+
return array(
|
17 |
+
'html' => '<div class="su-linkbox" id="post-{id}-linkbox"><div class="su-linkbox-label">' .
|
18 |
+
__('Link to this post!', 'seo-ultimate') .
|
19 |
+
'</div><div class="su-linkbox-field">' .
|
20 |
+
'<input type="text" value="<a href="{url}">{title}</a>" '.
|
21 |
+
'onclick="javascript:this.select()" readonly="readonly" style="width: 100%;" />' .
|
22 |
+
'</div></div>'
|
23 |
+
);
|
24 |
+
}
|
25 |
+
|
26 |
+
function init() {
|
27 |
+
add_action('template_redirect', array($this, 'template_init'));
|
28 |
+
}
|
29 |
+
|
30 |
+
function template_init() {
|
31 |
+
$enabled = false;
|
32 |
+
|
33 |
+
if ($this->should_linkbox()) {
|
34 |
+
add_filter('the_content', array($this, 'linkbox_filter'));
|
35 |
+
$enabled = true;
|
36 |
+
}
|
37 |
+
if ($this->get_setting('action_hook')) {
|
38 |
+
add_action('su_linkbox', array($this, 'linkbox_action'));
|
39 |
+
$enabled = true;
|
40 |
+
}
|
41 |
+
if ($enabled && trim($this->get_setting('css')))
|
42 |
+
add_action('su_head', array($this, 'output_css'));
|
43 |
+
}
|
44 |
+
|
45 |
+
function admin_page_contents() {
|
46 |
+
$this->admin_form_start();
|
47 |
+
$this->checkboxes(array('filter_posts' => __('At the end of posts', 'seo-ultimate')
|
48 |
+
, 'filter_pages' => __('At the end of pages', 'seo-ultimate')
|
49 |
+
, 'action_hook' => __('When called by the su_linkbox hook', 'seo-ultimate')
|
50 |
+
), __('Display linkboxes...', 'seo-ultimate'));
|
51 |
+
$this->textarea('html', __('Linkbox HTML', 'seo-ultimate'), 10);
|
52 |
+
$this->admin_form_end();
|
53 |
+
}
|
54 |
+
|
55 |
+
function should_linkbox() {
|
56 |
+
return (!is_page() && $this->get_setting('filter_posts'))
|
57 |
+
|| ( is_page() && $this->get_setting('filter_pages'));
|
58 |
+
}
|
59 |
+
|
60 |
+
function linkbox_filter($content, $id = false) {
|
61 |
+
|
62 |
+
if (!$id) $id = SEO_Ultimate::get_post_id();
|
63 |
+
|
64 |
+
if ($id) {
|
65 |
+
$linkbox = $this->get_setting('html');
|
66 |
+
$linkbox = str_replace(
|
67 |
+
array('{id}', '{url}', '{title}'),
|
68 |
+
array(intval($id), attribute_escape(get_permalink($id)), attribute_escape(get_the_title($id))),
|
69 |
+
$linkbox
|
70 |
+
);
|
71 |
+
return $content.$linkbox;
|
72 |
+
}
|
73 |
+
|
74 |
+
return $content;
|
75 |
+
}
|
76 |
+
|
77 |
+
function linkbox_action($id = false) {
|
78 |
+
echo $this->linkbox_filter('', $id);
|
79 |
+
}
|
80 |
+
|
81 |
+
function output_css() {
|
82 |
+
echo "\t<style type='text/css'>\n";
|
83 |
+
echo $this->get_setting('css');
|
84 |
+
echo "\n\t</style>\n";
|
85 |
+
}
|
86 |
+
|
87 |
+
function admin_help() {
|
88 |
+
return __(<<<STR
|
89 |
+
<p>The Linkbox Inserter can add linkboxes to your posts/pages. These linkboxes contain HTML code that visitors can use to link to your site.
|
90 |
+
This is a great way to encourage SEO-beneficial linking activity.</p>
|
91 |
+
<p>Here’s information on the various settings:</p>
|
92 |
+
<ul>
|
93 |
+
<li><p><strong>Display linkboxes...</strong></p>
|
94 |
+
<ul>
|
95 |
+
<li><p><strong>At the end of posts</strong> — Adds the linkbox HTML to the end of all posts
|
96 |
+
(whether they’re displayed on the blog homepage, in archives, or by themselves).</p></li>
|
97 |
+
<li><p><strong>At the end of pages</strong> — Adds the linkbox HTML to the end of all Pages.</p></li>
|
98 |
+
<li><p><strong>When called by the su_linkbox hook</strong> — For more fine-tuned control over where linkboxes appear,
|
99 |
+
enable this option and add <code><?php do_action('su_linkbox'); ?></code> to your theme.
|
100 |
+
You can also add an ID parameter to display the linkbox of a particular post/page; for example:
|
101 |
+
<code><?php do_action('su_linkbox', 123); ?></code></p></li>
|
102 |
+
</ul>
|
103 |
+
</li>
|
104 |
+
<li><p><strong>HTML</strong> — The HTML that will be outputted to display the linkboxes. The HTML field supports these variables:</p>
|
105 |
+
<ul>
|
106 |
+
<li>{id} — The ID of the current post/page, or the ID passed to the action hook call.</li>
|
107 |
+
<li>{url} — The permalink URL of the post/page.</li>
|
108 |
+
<li>{title} — The title of the post/page.</li>
|
109 |
+
</ul>
|
110 |
+
</li>
|
111 |
+
</ul>
|
112 |
+
STR
|
113 |
+
, 'seo-ultimate');
|
114 |
+
}
|
115 |
+
}
|
116 |
+
|
117 |
+
}
|
118 |
+
?>
|
modules/settings.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Settings Module
|
4 |
*
|
5 |
-
* @version 2.
|
6 |
* @since 0.2
|
7 |
*/
|
8 |
|
@@ -19,6 +19,7 @@ class SU_Settings extends SU_Module {
|
|
19 |
function get_default_settings() {
|
20 |
return array(
|
21 |
'attribution_link' => true
|
|
|
22 |
, 'plugin_notices' => true
|
23 |
);
|
24 |
}
|
@@ -92,6 +93,7 @@ class SU_Settings extends SU_Module {
|
|
92 |
$this->admin_form_start(__("Plugin Settings", 'seo-ultimate'));
|
93 |
$this->checkboxes(array(
|
94 |
'attribution_link' => __("Enable attribution link", 'seo-ultimate')
|
|
|
95 |
, 'plugin_notices' => __("Notify me about unnecessary active plugins", 'seo-ultimate')
|
96 |
//, 'debug_mode' => __("Enable debug-mode logging", 'seo-ultimate')
|
97 |
, 'mark_code' => __("Insert comments around HTML code insertions", 'seo-ultimate')
|
@@ -152,8 +154,14 @@ class SU_Settings extends SU_Module {
|
|
152 |
}
|
153 |
|
154 |
function footer_link() {
|
155 |
-
if (!$this->wp_meta_called)
|
156 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
}
|
158 |
|
159 |
function admin_help() {
|
2 |
/**
|
3 |
* Settings Module
|
4 |
*
|
5 |
+
* @version 2.1
|
6 |
* @since 0.2
|
7 |
*/
|
8 |
|
19 |
function get_default_settings() {
|
20 |
return array(
|
21 |
'attribution_link' => true
|
22 |
+
, 'attribution_link_css' => true
|
23 |
, 'plugin_notices' => true
|
24 |
);
|
25 |
}
|
93 |
$this->admin_form_start(__("Plugin Settings", 'seo-ultimate'));
|
94 |
$this->checkboxes(array(
|
95 |
'attribution_link' => __("Enable attribution link", 'seo-ultimate')
|
96 |
+
, 'attribution_link_css' => __("Enable attribution link CSS styling", 'seo-ultimate')
|
97 |
, 'plugin_notices' => __("Notify me about unnecessary active plugins", 'seo-ultimate')
|
98 |
//, 'debug_mode' => __("Enable debug-mode logging", 'seo-ultimate')
|
99 |
, 'mark_code' => __("Insert comments around HTML code insertions", 'seo-ultimate')
|
154 |
}
|
155 |
|
156 |
function footer_link() {
|
157 |
+
if (!$this->wp_meta_called) {
|
158 |
+
if ($this->get_setting('attribution_link_css')) {
|
159 |
+
$pstyle = " style='text-align: center; font-size: smaller;'";
|
160 |
+
$astyle = " style='color: inherit;'";
|
161 |
+
} else $pstyle = $astyle = '';
|
162 |
+
|
163 |
+
echo "\n<p id='suattr'$pstyle>Search engine optimization by <a href='http://www.seodesignsolutions.com/'$astyle>SEO Design Solutions</a></a></p>\n";
|
164 |
+
}
|
165 |
}
|
166 |
|
167 |
function admin_help() {
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: SEO Design Solutions
|
|
3 |
Tags: seo, title, meta, noindex, canonical, 404, google, yahoo, bing, search engines, admin, post, page
|
4 |
Requires at least: 2.7
|
5 |
Tested up to: 2.8
|
6 |
-
Stable tag: 0.
|
7 |
|
8 |
-
This all-in-one SEO plugin can handle titles, noindex, meta data, canonical tags,
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -21,6 +21,8 @@ SEO Ultimate is an all-in-one [SEO](http://www.seodesignsolutions.com/) plugin w
|
|
21 |
|
22 |
* **404 Monitor** - Logs 404 errors generated on your blog.
|
23 |
|
|
|
|
|
24 |
SEO Ultimate was developed with WordPress plugin "best practices" in mind:
|
25 |
|
26 |
* Integration with the contextual help system of WordPress 2.7+
|
@@ -83,6 +85,10 @@ Because of the tremendous effort put into this plugin, we ask that you please le
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
|
|
86 |
= Version 0.5 (June 25, 2009) =
|
87 |
* Feature: Added settings exporter
|
88 |
* Feature: Added settings importer
|
3 |
Tags: seo, title, meta, noindex, canonical, 404, google, yahoo, bing, search engines, admin, post, page
|
4 |
Requires at least: 2.7
|
5 |
Tested up to: 2.8
|
6 |
+
Stable tag: 0.6
|
7 |
|
8 |
+
This all-in-one SEO plugin can handle titles, noindex, meta data, canonical tags, 404 error tracking, and more (with many more features coming soon).
|
9 |
|
10 |
== Description ==
|
11 |
|
21 |
|
22 |
* **404 Monitor** - Logs 404 errors generated on your blog.
|
23 |
|
24 |
+
* **Linkbox Inserter** - Encourages linkbuilding activity by inserting textboxes containing link HTML.
|
25 |
+
|
26 |
SEO Ultimate was developed with WordPress plugin "best practices" in mind:
|
27 |
|
28 |
* Integration with the contextual help system of WordPress 2.7+
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
+
= Version 0.6 (July 2, 2009) =
|
89 |
+
* Feature: Added the Linkbox Inserter module
|
90 |
+
* Bugfix: Fixed plugin notices bug
|
91 |
+
|
92 |
= Version 0.5 (June 25, 2009) =
|
93 |
* Feature: Added settings exporter
|
94 |
* Feature: Added settings importer
|
seo-ultimate.css
CHANGED
@@ -142,3 +142,13 @@ div.su-help ul {
|
|
142 |
#wpwrap .su-plugin-notice .update-message {
|
143 |
font-weight: normal;
|
144 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
#wpwrap .su-plugin-notice .update-message {
|
143 |
font-weight: normal;
|
144 |
}
|
145 |
+
|
146 |
+
.su-module table#import-status {
|
147 |
+
border: 0;
|
148 |
+
width: auto;
|
149 |
+
margin: 2em 0;
|
150 |
+
}
|
151 |
+
|
152 |
+
.su-module table#import-status td {
|
153 |
+
padding: 0 0.5em 1em 0;
|
154 |
+
}
|
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 can rewrite title tags, edit meta data, add noindex, insert canonical tags, and log 404 errors (with many more features coming soon).
|
6 |
-
Version: 0.
|
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 0.
|
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 |
|
39 |
define("SU_PLUGIN_NAME", "SEO Ultimate");
|
40 |
define("SU_PLUGIN_URI", "http://www.seodesignsolutions.com/wordpress-seo/");
|
41 |
-
define("SU_VERSION", "0.
|
42 |
define("SU_AUTHOR", "SEO Design Solutions");
|
43 |
define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
|
44 |
-
define("SU_USER_AGENT", "SeoUltimate/0.
|
45 |
|
46 |
define('SU_MODULE_ENABLED', 10);
|
47 |
define('SU_MODULE_SILENCED', 5);
|
@@ -52,11 +52,11 @@ define('SU_RESULT_OK', 1);
|
|
52 |
define('SU_RESULT_WARNING', 0);
|
53 |
define('SU_RESULT_ERROR', -1);
|
54 |
|
55 |
-
|
56 |
/********** INCLUDES **********/
|
57 |
|
58 |
require('class.seo-ultimate.php');
|
59 |
require('class.su-module.php');
|
|
|
60 |
require('class.su-widget.php');
|
61 |
require('class.su-hitset.php');
|
62 |
require('functions.php');
|
3 |
Plugin Name: SEO Ultimate
|
4 |
Plugin URI: http://www.seodesignsolutions.com/wordpress-seo/
|
5 |
Description: This all-in-one SEO plugin can rewrite title tags, edit meta data, add noindex, insert canonical tags, and log 404 errors (with many more features coming soon).
|
6 |
+
Version: 0.6
|
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 0.6
|
16 |
* @link http://www.seodesignsolutions.com/wordpress-seo/ SEO Ultimate Homepage
|
17 |
*/
|
18 |
|
38 |
|
39 |
define("SU_PLUGIN_NAME", "SEO Ultimate");
|
40 |
define("SU_PLUGIN_URI", "http://www.seodesignsolutions.com/wordpress-seo/");
|
41 |
+
define("SU_VERSION", "0.6");
|
42 |
define("SU_AUTHOR", "SEO Design Solutions");
|
43 |
define("SU_AUTHOR_URI", "http://www.seodesignsolutions.com/");
|
44 |
+
define("SU_USER_AGENT", "SeoUltimate/0.6");
|
45 |
|
46 |
define('SU_MODULE_ENABLED', 10);
|
47 |
define('SU_MODULE_SILENCED', 5);
|
52 |
define('SU_RESULT_WARNING', 0);
|
53 |
define('SU_RESULT_ERROR', -1);
|
54 |
|
|
|
55 |
/********** INCLUDES **********/
|
56 |
|
57 |
require('class.seo-ultimate.php');
|
58 |
require('class.su-module.php');
|
59 |
+
require('class.su-importmodule.php');
|
60 |
require('class.su-widget.php');
|
61 |
require('class.su-hitset.php');
|
62 |
require('functions.php');
|
seo-ultimate.pot
CHANGED
@@ -8,7 +8,7 @@ msgid ""
|
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/seo-ultimate\n"
|
11 |
-
"POT-Creation-Date: 2009-
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
@@ -43,14 +43,14 @@ msgstr ""
|
|
43 |
msgid "(The SEO Settings box is part of the SEO Ultimate plugin.)"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: class.seo-ultimate.php:
|
47 |
#, php-format
|
48 |
msgid ""
|
49 |
"SEO Ultimate includes the functionality of %1$s. You may want to deactivate %"
|
50 |
"1$s to avoid plugin conflicts."
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: class.seo-ultimate.php:
|
54 |
msgid "SEO Settings"
|
55 |
msgstr ""
|
56 |
|
@@ -83,6 +83,18 @@ msgstr ""
|
|
83 |
msgid "%1$s<br />%2$s"
|
84 |
msgstr ""
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
#: class.su-module.php:406
|
87 |
#, php-format
|
88 |
msgid "%1$s | %2$s %3$s by %4$s"
|
@@ -92,17 +104,17 @@ msgstr ""
|
|
92 |
msgid "Settings updated."
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: class.su-module.php:
|
96 |
msgid "Save Changes"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: class.su-module.php:
|
100 |
msgid ""
|
101 |
"Are you sure you want to replace the textbox contents with this default "
|
102 |
"value?"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: class.su-module.php:
|
106 |
msgid "Reset"
|
107 |
msgstr ""
|
108 |
|
@@ -154,6 +166,34 @@ msgstr ""
|
|
154 |
msgid "Generate <code><link rel="canonical" /></code> tags."
|
155 |
msgstr ""
|
156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
#: modules/meta.php:13
|
158 |
msgid "Meta Editor"
|
159 |
msgstr ""
|
@@ -318,95 +358,99 @@ msgstr ""
|
|
318 |
msgid "SEO Ultimate Plugin Settings"
|
319 |
msgstr ""
|
320 |
|
321 |
-
#: modules/settings.php:
|
322 |
msgid "Settings successfully imported."
|
323 |
msgstr ""
|
324 |
|
325 |
-
#: modules/settings.php:
|
326 |
msgid ""
|
327 |
"The uploaded file is not in the proper format. Settings could not be "
|
328 |
"imported."
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: modules/settings.php:
|
332 |
msgid "The settings file could not be uploaded successfully."
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: modules/settings.php:
|
336 |
msgid ""
|
337 |
"Settings could not be imported because no settings file was selected. Please "
|
338 |
"click the “Browse” button and select a file to import."
|
339 |
msgstr ""
|
340 |
|
341 |
-
#: modules/settings.php:
|
342 |
msgid "All settings have been erased and defaults have been restored."
|
343 |
msgstr ""
|
344 |
|
345 |
-
#: modules/settings.php:
|
346 |
msgid "Plugin Settings"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: modules/settings.php:
|
350 |
msgid "Enable attribution link"
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: modules/settings.php:
|
354 |
-
msgid "
|
355 |
msgstr ""
|
356 |
|
357 |
#: modules/settings.php:97
|
|
|
|
|
|
|
|
|
358 |
msgid "Insert comments around HTML code insertions"
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: modules/settings.php:
|
362 |
msgid "Manage Settings Data"
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: modules/settings.php:
|
366 |
msgid ""
|
367 |
"This section allows you to export, import, and reset the settings of the "
|
368 |
"plugin and all its modules."
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: modules/settings.php:
|
372 |
msgid ""
|
373 |
"A settings file includes the data of every checkbox and textbox of every "
|
374 |
"installed module, as well as the “Plugin Settings” section "
|
375 |
"above. "
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: modules/settings.php:
|
379 |
msgid "Export:"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: modules/settings.php:
|
383 |
msgid "Download Settings File"
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: modules/settings.php:
|
387 |
msgid "Import:"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: modules/settings.php:
|
391 |
msgid ""
|
392 |
"Are you sure you want to import this settings file? This will erase all "
|
393 |
"current settings and cannot be undone."
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: modules/settings.php:
|
397 |
msgid "Import This Settings File"
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: modules/settings.php:
|
401 |
msgid "Reset:"
|
402 |
msgstr ""
|
403 |
|
404 |
-
#: modules/settings.php:
|
405 |
msgid ""
|
406 |
"Are you sure you want to erase all module settings? This cannot be undone."
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: modules/settings.php:
|
410 |
msgid "Restore Default Settings"
|
411 |
msgstr ""
|
412 |
|
8 |
msgstr ""
|
9 |
"Project-Id-Version: PACKAGE VERSION\n"
|
10 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/seo-ultimate\n"
|
11 |
+
"POT-Creation-Date: 2009-07-02 22:42+0000\n"
|
12 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
43 |
msgid "(The SEO Settings box is part of the SEO Ultimate plugin.)"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: class.seo-ultimate.php:849
|
47 |
#, php-format
|
48 |
msgid ""
|
49 |
"SEO Ultimate includes the functionality of %1$s. You may want to deactivate %"
|
50 |
"1$s to avoid plugin conflicts."
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: class.seo-ultimate.php:917
|
54 |
msgid "SEO Settings"
|
55 |
msgstr ""
|
56 |
|
83 |
msgid "%1$s<br />%2$s"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: class.su-importmodule.php:41
|
87 |
+
msgid "Import Now"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: class.su-importmodule.php:52
|
91 |
+
msgid "Return to settings page"
|
92 |
+
msgstr ""
|
93 |
+
|
94 |
+
#: class.su-importmodule.php:55
|
95 |
+
msgid "Return to SEO page"
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
#: class.su-module.php:406
|
99 |
#, php-format
|
100 |
msgid "%1$s | %2$s %3$s by %4$s"
|
104 |
msgid "Settings updated."
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: class.su-module.php:461
|
108 |
msgid "Save Changes"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: class.su-module.php:557
|
112 |
msgid ""
|
113 |
"Are you sure you want to replace the textbox contents with this default "
|
114 |
"value?"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: class.su-module.php:570
|
118 |
msgid "Reset"
|
119 |
msgstr ""
|
120 |
|
166 |
msgid "Generate <code><link rel="canonical" /></code> tags."
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: modules/linkbox.php:13
|
170 |
+
msgid "Linkbox Inserter"
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: modules/linkbox.php:18
|
174 |
+
msgid "Link to this post!"
|
175 |
+
msgstr ""
|
176 |
+
|
177 |
+
#: modules/linkbox.php:47
|
178 |
+
msgid "At the end of posts"
|
179 |
+
msgstr ""
|
180 |
+
|
181 |
+
#: modules/linkbox.php:48
|
182 |
+
msgid "At the end of pages"
|
183 |
+
msgstr ""
|
184 |
+
|
185 |
+
#: modules/linkbox.php:49
|
186 |
+
msgid "When called by the su_linkbox hook"
|
187 |
+
msgstr ""
|
188 |
+
|
189 |
+
#: modules/linkbox.php:50
|
190 |
+
msgid "Display linkboxes..."
|
191 |
+
msgstr ""
|
192 |
+
|
193 |
+
#: modules/linkbox.php:51
|
194 |
+
msgid "Linkbox HTML"
|
195 |
+
msgstr ""
|
196 |
+
|
197 |
#: modules/meta.php:13
|
198 |
msgid "Meta Editor"
|
199 |
msgstr ""
|
358 |
msgid "SEO Ultimate Plugin Settings"
|
359 |
msgstr ""
|
360 |
|
361 |
+
#: modules/settings.php:64
|
362 |
msgid "Settings successfully imported."
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: modules/settings.php:66
|
366 |
msgid ""
|
367 |
"The uploaded file is not in the proper format. Settings could not be "
|
368 |
"imported."
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: modules/settings.php:68
|
372 |
msgid "The settings file could not be uploaded successfully."
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: modules/settings.php:71
|
376 |
msgid ""
|
377 |
"Settings could not be imported because no settings file was selected. Please "
|
378 |
"click the “Browse” button and select a file to import."
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: modules/settings.php:79
|
382 |
msgid "All settings have been erased and defaults have been restored."
|
383 |
msgstr ""
|
384 |
|
385 |
+
#: modules/settings.php:93
|
386 |
msgid "Plugin Settings"
|
387 |
msgstr ""
|
388 |
|
389 |
+
#: modules/settings.php:95
|
390 |
msgid "Enable attribution link"
|
391 |
msgstr ""
|
392 |
|
393 |
+
#: modules/settings.php:96
|
394 |
+
msgid "Enable attribution link CSS styling"
|
395 |
msgstr ""
|
396 |
|
397 |
#: modules/settings.php:97
|
398 |
+
msgid "Notify me about unnecessary active plugins"
|
399 |
+
msgstr ""
|
400 |
+
|
401 |
+
#: modules/settings.php:99
|
402 |
msgid "Insert comments around HTML code insertions"
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: modules/settings.php:104
|
406 |
msgid "Manage Settings Data"
|
407 |
msgstr ""
|
408 |
|
409 |
+
#: modules/settings.php:108
|
410 |
msgid ""
|
411 |
"This section allows you to export, import, and reset the settings of the "
|
412 |
"plugin and all its modules."
|
413 |
msgstr ""
|
414 |
|
415 |
+
#: modules/settings.php:110
|
416 |
msgid ""
|
417 |
"A settings file includes the data of every checkbox and textbox of every "
|
418 |
"installed module, as well as the “Plugin Settings” section "
|
419 |
"above. "
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: modules/settings.php:119
|
423 |
msgid "Export:"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: modules/settings.php:122
|
427 |
msgid "Download Settings File"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: modules/settings.php:127
|
431 |
msgid "Import:"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: modules/settings.php:132
|
435 |
msgid ""
|
436 |
"Are you sure you want to import this settings file? This will erase all "
|
437 |
"current settings and cannot be undone."
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: modules/settings.php:133
|
441 |
msgid "Import This Settings File"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: modules/settings.php:140
|
445 |
msgid "Reset:"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: modules/settings.php:143
|
449 |
msgid ""
|
450 |
"Are you sure you want to erase all module settings? This cannot be undone."
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: modules/settings.php:144
|
454 |
msgid "Restore Default Settings"
|
455 |
msgstr ""
|
456 |
|