Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the WordPress SEO plugin by Yoast.
wpseo_headaction, allowing easier filtering and changing.
wpseo_admin_pagesso more pages can use WP SEO admin stylesheets.
$wpdb->prepareall queries that need preparing.
noindex, nofollowon URLs with ?replytocom that was added in 3.5.
wpseo_robotsfilter for the robots meta tag.
wp_title, by having WP SEO filter a bit later in the process (but no too late because the genesis wrap filter is on 30).
"Fix" for tracking popup with empty buttons.
splitis deprecated in newer PHP versions.
%%page%%only outputs '
%%sep%%Page 2 of X' when not on page 1. If you want it to show up on Page 1 you can use
%%pagenumber%%. This both works for paginated posts & pages too.
DISALLOW_FILE_EDITconstants. When set to true, edit files menu option won't show.
replytocomvariables from comment links (they're bloody stupid).
%%pt_plural%%which output the single and plural label of the current post type (useful for post type archives).
wp_reset_queryfor stupid themes and plugins.
wpseo_use_page_analysisthat disables the page analysis functionality when false is returned.
wpseo_show_date_in_snippetthat disables the date in the preview snippet when false is returned.
%%ct_<custom-taxname>%%for a comma separated list or
%%ct_<custom-taxname>%%single%%for only one taxonomy term.
wp_reset_querybefore the header functionality.
%%title%% %%page%% - %%sitename%%if they don't have a specific SEO title and there is no page template.
wpseo_xml_sitemap_img_srcto allow changing the hostname of images, most common use case is to force them to the CDN.
xhtml:metatags to X-Robots-Tag HTTP headers to prevent feed display issues.
wpseo_localefor the locale in the opengraph settings.
wpseo_metabox_prioto allow WP SEO metabox priority to be changed.
sprintfbug in page analysis.
wp_reset_querybeing called too early.
noarchivemeta tags sitewide has been removed. No one in his right mind would want to do that, and if you do, then adding the robots meta to your template yourself should be doable.
%%cf_<custom-field-name>%%and it'll be replaced with your custom field. So for instance %%cf_city%% when your custom field is named "city".
wpseo_sitemap_urlimagesso you can add images to the sitemap, found in inc/class-sitemaps.php
catin search, most specifically the ClassiPress themes.
wpseo_canonical) so you can remove it or change it.
Major new feature: Linkdex Page Analysis has been integrated into WordPress SEO.
Other new features:
Fixes / Updates:
is_post_type_archiveto work, so compatible with WP 3.0 again.
edit_postsis not the same as
edit_post, what a difference an s makes, thanks to nacin.
This WordPress SEO plugin now officially requires PHP5. WordPress version 3.2 will also require it, so you'd better upgrade now. If you're on any version lower than PHP 5.2, this plugin will deactivate itself. You can then use SEO Data Transporter to migrate your data to another plugin, or you could do the more sensible thing and get your hosting upgraded to PHP 5.2 ASAP.
Other news: The Google News module almost ready for mass-deployment. Stay tuned.
$wpseo_front->metadesc( false );for use elsewhere.
is_homereturns true for front page even when front page is set to static page (yes, that's a WordPress bug I had to work around).
udpate_optionis not the same as
/category/from category URL's. Find it under Permalinks. Props to WP No Category Base for having the cleanest code I could find in this area, which I reused and modified.
Requires: 3.3 or higher
Compatible up to: 3.5.1
Last Updated: 2013-4-16
25 of 520 support threads in the last two months have been resolved.
Got something to say? Need help?