New Plugin – WPSSO User Locale

A new WPSSO User Locale (WPSSO UL) extension for WPSSO for WordPress version 4.7 (and up) has been released. This Free extension provides a user locale / language / region selector in the WordPress admin back-end and front-end toolbar menus. This allows users to easily change their preferred locale setting from the toolbar instead of having to update their WordPress profile page.

The default WordPress behavior is to apply the user locale preference to the admin back-end only — this plugin can optionally extend the user locale preference to the front-end webpage as well (enabled by default in the SSO > User Locale settings page).

Continue reading


New Plugin – WPSSO Tweet a Quote

A new extension for WPSSO called WPSSO Tweet a Quote (WPSSO TAQ) is available to include Twitter-style quotes in your content, with an easy (and optional) Tweet link for readers.

WPSSO Tweet a Quote – Easily add Tweetable quotes to your WordPress content! ;-)

WPSSO TAQ uses your existing WPSSO settings to shorten URLs, add the Twitter Business @username, and recommend the author’s @username after sharing — and developers / advanced users will appreciate the ability to completely re-style the quote text and Tweet link. ;-)

Continue reading


New Plugin – WPSSO Strip Schema Microdata

If you’re using the WPSSO Schema JSON-LD Markup (WPSSO JSON) extension (and if not, you really should), you may have noticed that Google’s Schema validation tools can pickup additional incomplete / inaccurate Schema markup from your theme templates. WPSSO JSON defines its JSON-LD markup as the “main entity” for the webpage — so Google will prefer this markup over any other found in the webpage — but you may still want to cleanup that incomplete / inaccurate Schema Microdata from your theme templates. The new WPSSO Strip Schema Microdata (WPSSO SSM) extension is a Free plugin that removes Schema Microdata markup from the webpage body section automatically, leaving the Schema JSON-LD markup as the only Schema markup in the webpage.

Continue reading


Social SEO – WordPress SEO vs WPSSO

A few years ago, most website visitors came from Google Search results. Plugins designed to optimize your content for Google Search became increasingly popular, and part of many “must have” plugin lists. Recently though, that trend has been shifting, as the percentage of visitors coming from social websites is increasing — often matching and sometimes out-pacing — the number of visitors from Google Search. Traditional Search Engine Optimization (SEO) plugins, like WordPress SEO by Yoast for example, have adapted to this change by stepping away from their core purpose, and re-using their SEO content to generate additional meta tags for social websites. But how good is an SEO plugin at addressing the needs of social websites? We compare WordPress SEO to WPSSO, a dedicated social sharing optimization plugin to find out.

Continue reading


WPSSO vs NGFB

About a week ago I released a new plugin called WordPress Social Sharing Optimization (WPSSO). This new plugin is a fork of NGFB, and includes many of the same features and updates, but does away with the social sharing buttons and their related features (shortcodes, widgets, stylesheets, javascript caching, url shortening, and url rewriting). There’s still some work to be done on WPSSO — to remove every last bit of code related to the social buttons — but most of the heavy-lifting is done.

Continue reading


WordPress Lies About Image Sizes / Dimensions

There are a few functions available to retrieve the URL and size of an image in the WordPress Media Library, but few people know that these functions will often lie about an image’s dimensions.

As an example, let’s define a custom image size of 1000 x 1000 cropped, and use image_downsize() to retrieve the URL and size of an image ID (this example can be used with wp_get_attachment_image_src() as well). I’ll use list() in the example, instead of an array variable for the return values, to keep the code more readable. ;-)

WordPress will return a URL for the image and the values of $width / $height may be 1000 / 1000 – it all depends on several factors.

Continue reading


WordPress Multisite Activate, Deactivate, and Uninstall

I recently added multisite support for NGFB and faced a few challenges — the documentation is a little slim, especially when it comes to uninstalling / deleting plugins. The basic premise is that network-wide plugin activation must take care of the essentials for all sites (like creating default settings in the options table), and when removing the plugin, it should cleanup all its settings from all the sites. I prefer working within classes, so opted to keep the uninstall method in the class, instead of breaking it out into an uninstall.php file.

Continue reading