Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3f1c66d
Showing
18 changed files
with
3,343 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.txt | ||
*.png |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Open WordPress SEO | ||
|
||
This is a free and open-source alternative to plugins such as All In One SEO Pack and Yoast SEO. It packs all the most important features and is simple to use. | ||
|
||
Command how you show up in search results! With Open WordPress SEO search engines find your content more easily, index your content faster, and give your site better ranking. | ||
|
||
## Features | ||
|
||
### Including | ||
- Possibility to set post and page meta titles and descriptions either for any post type or specifically for individual posts. | ||
- Generates meta description and keywords automatically when needed. | ||
- Automatically creates an XML sitemap of your content. | ||
- Notifies Bing and Google about updates on your site. | ||
- Applies compression for content to speed up download times. | ||
- Creates Open Graph tags so your content appears correctly in Facebook. | ||
|
||
### Exluding | ||
- Does not support WordPress Multisite installs. | ||
|
||
### Also | ||
- Automatically creates an image sitemap for Bing and Google. | ||
- Sets canonical URLs also for tags and categories. | ||
- Support for custom post types. | ||
- Possible to set whether or not to index tags, categories, and archives. | ||
- Deny single pages or posts from showing up in search results. | ||
- Support for multiple languages, easy to translate. | ||
- Displays SEO status on the admin dashboard and post listings. | ||
- Google Analytics visitor tracking support. | ||
- ... and other features. | ||
|
||
## Installation | ||
|
||
Install automatically via WordPress Plugin Directory or download and copy the plugin folder to your plugins directory. Activate, adjust settings, and enjoy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
/** | ||
* Poor Man's WordPress SEO styles | ||
*/ | ||
|
||
.pm-wp-seo-settings-wrap .nav-tab-wrapper .dashicons { | ||
font-size: 16px; | ||
margin-top: 3px; | ||
} | ||
|
||
.pm-wp-seo-settings { | ||
max-width: 868px; | ||
} | ||
|
||
.pm-wp-seo-settings input[type="text"], | ||
.pm-wp-seo-settings textarea { | ||
width: 100%; | ||
} | ||
|
||
.pm-wp-seo-settings .half-width, | ||
.pm-wp-seo-settings textarea.half-width, | ||
.pm-wp-seo-settings input.half-width { | ||
width: 50%; | ||
} | ||
|
||
.pm-wp-seo-settings .narrow, | ||
.pm-wp-seo-settings textarea.narrow, | ||
.pm-wp-seo-settings input.narrow { | ||
width: 25%; | ||
} | ||
|
||
.pm-wp-seo-settings-wrap form, | ||
.pm-wp-seo-settings form { | ||
display: inline; | ||
padding-bottom: 1em; | ||
} | ||
|
||
.pm-wp-seo-settings .info { | ||
margin-left: 0.777em; | ||
color: #606060; | ||
} | ||
|
||
.pm-wp-seo-settings .info .description, | ||
.pm-wp-seo-settings .info .description p { | ||
font-size: 18px; | ||
} | ||
|
||
.pm-wp-seo-settings .info .description { | ||
display: none; | ||
min-width: 400px; | ||
max-width: 500px; | ||
color: #606060; | ||
background: #fff; | ||
border: solid 1px #999; | ||
padding: 0.5em 0.5em 0.7em 0.5em; | ||
text-align: left; | ||
} | ||
|
||
.pm-wp-seo-settings .info:hover .description { | ||
position: relative; | ||
display: block; | ||
left: 32px; | ||
top: -32px; | ||
} | ||
|
||
.pm-wp-seo-table-icon { | ||
font-size: 120%; | ||
font-weight: bold; | ||
} | ||
|
||
.pm-wp-seo-ok { | ||
color: #393; | ||
} | ||
|
||
.pm-wp-seo-fail { | ||
color: #c33; | ||
} | ||
|
||
.pm-wp-seo-dashboard-widget table td { | ||
padding: 0.5em 0; | ||
} | ||
|
||
.pm-wp-seo-dashboard-widget table td:nth-child(1) { | ||
min-width: 150px; | ||
} | ||
|
||
.pm-wp-seo-dashboard-widget table td.icon { | ||
min-width: 32px; | ||
vertical-align: top; | ||
padding: 0.8em 0 0 0.2em; | ||
} | ||
|
||
.pm-wp-seo-dashboard-widget .small-icon { | ||
font-size: 16px; | ||
margin-top: 3px; | ||
} | ||
|
||
#pm_wp_seo:hover .pm-wp-seo-animated { | ||
-webkit-animation: spin 2s linear infinite; | ||
-moz-animation: spin 2s linear infinite; | ||
animation: spin 2s linear infinite; | ||
} | ||
|
||
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } } | ||
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } } | ||
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } } | ||
|
||
#pm_wp_seo_serp_preview .pm-wp-seo-animated { | ||
transition: all .1s ease-in-out; | ||
} | ||
|
||
#pm_wp_seo_serp_preview:hover .pm-wp-seo-animated { | ||
transform: scale(1.25); | ||
margin-right: 0.2em; | ||
} | ||
|
||
.pm-wp-seo-serp-preview { | ||
font-family: arial, sans-serif; | ||
padding: 10px 8px; | ||
border: 1px solid #eee; | ||
cursor: pointer; | ||
border-radius: 4px; | ||
} | ||
|
||
.pm-wp-seo-settings .pm-wp-seo-serp-preview { | ||
margin-top: 1em; | ||
border: 1px solid #bbc3bb; | ||
background: #f9f9f9; | ||
} | ||
|
||
.pm-wp-seo-preview-title { | ||
color: #1a0dab; | ||
font-size: 17px; | ||
font-weight: bold; | ||
} | ||
|
||
.pm-wp-seo-preview-address { | ||
color: #006621; | ||
font-size: 14px; | ||
line-height: 1.6; | ||
} | ||
|
||
.pm-wp-seo-preview-description { | ||
width: 578px; | ||
color: #505050; | ||
line-height: 1.4; | ||
word-wrap: break-word; | ||
font-size: 13px; | ||
} | ||
|
||
.pm-wp-seo-settings .pm-wp-seo-instructions { | ||
margin-top: 1em; | ||
border: 1px solid #bbc3bb; | ||
background: #f9f9f9; | ||
padding: 0 1em; | ||
border-radius: 4px; | ||
} | ||
|
||
.pm-wp-seo-settings .pm-wp-seo-instructions .dashicons { | ||
color: #383; | ||
} | ||
|
||
table.pm-wp-seo-sitemap-priorities td, | ||
table.pm-wp-seo-sitemap-priorities th { | ||
padding: 0.5em 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php // Hide directory contents. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/** | ||
* Poor Man's WordPress SEO JavaScript functionality | ||
*/ | ||
jQuery(document).ready(function($) { | ||
var $titleInput = $('#pm_wp_seo_title'), | ||
$descriptionArea = $('#pm_wp_seo_description'); | ||
|
||
$titleInput.keyup(function () { | ||
$('.pm-wp-seo-preview-title').text($titleInput.val()); | ||
}); | ||
|
||
$descriptionArea.keyup(function () { | ||
$('.pm-wp-seo-preview-description').text($descriptionArea.val()); | ||
}); | ||
|
||
if (window.location.href.indexOf('tab=automatic-titles') !== -1) { | ||
$('.nav-tab').removeClass('nav-tab-active'); | ||
$('.automatic-titles-tab-button').addClass('nav-tab-active'); | ||
$('.pm-wp-seo-settings-tab').hide(); | ||
$('#automatic-titles').show(); | ||
} | ||
else if (window.location.href.indexOf('tab=sitemap') !== -1) { | ||
$('.nav-tab').removeClass('nav-tab-active'); | ||
$('.sitemaps-tab-button').addClass('nav-tab-active'); | ||
$('.pm-wp-seo-settings-tab').hide(); | ||
$('#sitemaps').show(); | ||
} | ||
else if (window.location.href.indexOf('tab=advanced') !== -1) { | ||
$('.nav-tab').removeClass('nav-tab-active'); | ||
$('.advanced-tab-button').addClass('nav-tab-active'); | ||
$('.pm-wp-seo-settings-tab').hide(); | ||
$('#advanced').show(); | ||
} | ||
else { | ||
$('.nav-tab').removeClass('nav-tab-active'); | ||
$('.main-settings-tab-button').addClass('nav-tab-active'); | ||
$('.pm-wp-seo-settings-tab').hide(); | ||
$('#main-settings').show(); | ||
} | ||
|
||
$('.pm-wp-seo-settings-wrap').show(); | ||
|
||
console.log('Poor Man\'s WordPress SEO loaded.'); | ||
}); |
Oops, something went wrong.