New Plugin — JSM’s Show Post Meta

JSM

JSM’s Show Post Meta version 1.0.4-1 has been released.

Wondering about the post meta your theme and/or plugins might be creating?

Want to find the name of a specific post meta key?

Need some help debugging your post meta?

The JSM’s Show Post Meta plugin displays all post meta (aka custom fields) keys and their unserialized values in a metabox at the bottom of post editing pages.

Continue reading


WPSSO JSON Update — Google & Pinterest Recipe Markup

wpsso-json-icon-round-2048x2048

WPSSO Schema JSON-LD Markup (WPSSO JSON) version 1.10.0-1 has been released, and includes several improvements for Pinterest and the Schema Recipe markup.

Although previous versions of WPSSO JSON included basic support for the Schema Recipe markup, finding an elegant way to manage ingredients — without duplicating existing theme and/or 3rd party ingredient management — was still on the To-Do list. Thanks to the helpful suggestions of a customer with a recipe website, I was able to include recipe integration features in this version.

Continue reading


WPSSO Update — Extend The Events Calendar Schema

wpsso-icon-round-2048x2048

WordPress Social Sharing Optimization (WPSSO) version 3.33.1-1 has been released, along with updates for the WPSSO JSON, WPSSO ORG, and WPSSO PLM extensions.

One of the big features for this new release is the added support for the Schema http://schema.org/Event type and its sub-types (DanceEvent, MusicEvent, etc.), along with integration of The Events Calendar plugin. The Events Calendar plugin already includes basic JSON-LD support, but the WPSSO Organization Markup (WPSSO ORG) and WPSSO Place / Location and Local Business Meta (WPSSO PLM) extensions allow you to include much more detail about the organizer (as an actual Organization instead of a Person), select a performer for the event, along with WPSSO’s standard support for images, videos, etc. The combination of WPSSO Pro and all three Pro extensions can provide extensive Schema markup about your event — see the following Schema JSON-LD markup for an example.

Continue reading


PHP Code to Clear the WPSSO Cache

wpsso-icon-round-2048x2048

If you use a caching plugin, you may have an option to include custom PHP code when flushing the cache manually — for example, Comet Cache has an “Evaluate Custom PHP Code when Clearing the Cache?” option where you can enter additional PHP code to execute when clearing the cache manually. Adding the following code will also clear the WPSSO object cache when clearing the webpage cache:

Continue reading


WPSSO Update – Adds Support for Co-Authors Plus

wpsso-icon-round-2048x2048

WordPress Social Sharing Optimization (WPSSO) version 3.31.0-1 has been released, and includes several interesting changes — The display of Free / Pro version features in the settings pages sidebar has been improved by adding icons and grouping similar features. And the big change for this version is the support of post / page co-authors and guest authors using the Co-Authors Plus plugin. WPSSO Pro will extend the list of Contact Info under the Guest Author profile page, and include co-authors and guest authors (name, description / bio, image, and all contact URLs) in post / page meta tags. The WPSSO Schema JSON-LD Markup extension has also been updated to add co-authors and guest authors to all Schema types that include author information (Article, NewsArticle, TechArticle, BlogPosting, WebPage, etc.).

Continue reading


PHP – Print a Prettier Array

php-logo

I often want to output an array for debugging purposes, but using var_dump() or print_r() on an array that includes true / false values and class objects can be problematic — false values appear empty, and class objects can include too much information. I wrote the following recursive static method (presented here as a function) to pre-filter an array for readability when using print_r() or var_dump().

Continue reading


WPSSO Update – AMP Support and Several Core Changes

wpsso-icon-round-2048x2048

WordPress Social Sharing Optimization (WPSSO) version 3.28.1 was released this morning. This latest version includes many core changes, which require an update to all WPSSO extensions as well (except for the WPSSO Pro Update Manager). Please make sure you update all your installed / active WPSSO extensions along with this update. The following extensions have been released with WPSSO v3.28.1:

Continue reading


WPSSO Update – Auto-Hide All Warning Notices

wpsso-icon-round-2048x2048

WordPress Social Sharing Optimization (WPSSO) version 3.25.3 was released this morning. I don’t usually write an official announcement for minor releases, but version 3.25.3 includes a small change (the only change, really) that developers have been asking about for several months now — the ability to automatically hide all warning notices. ;-)

To understand why it took so long to include this feature, we have to consider the difference between WPSSO and all other meta tag plugins. The purpose of WPSSO is to make sure your shares look their best — this means a good title, description, image, video, etc. A “good image” is one that is large enough for the social site (generally, that’s 600x315px or 1200x630px for Facebook — the later being best) and cropped appropriately. Facebook and Pinterest, for example, have very different needs. WPSSO allows you to define specific image dimensions for each standard (Facebook / Open Graph, Pinterest / Rich Pin, Google / Schema, etc.) — both as defaults, and customized in the Social Settings metabox — along with giving you the option to select different images for each.

Continue reading


WPSSO Update – New Google / Schema JSON-LD Extension

wpsso-json-icon-round-2048x2048

WordPress Social Sharing Optimization (WPSSO) version 3.25.0 has been released, along with a new WPSSO Schema JSON-LD Markup extension plugin.

The last three versions of WPSSO — including this one — contain significant changes to the JSON-LD code. WPSSO continues to provide excellent support for Google’s WebSite Information, Site Publisher / Organization Social Profile, and Person Social Profile Structured Data. And in version 3.25.0, WPSSO complies with Google’s markup standard even more by including this information only on the home page (allowing you the flexibility to use these Schema types on other pages with different values).

You’ll want to review the latest Google / Schema related options on the SSO General settings page, to make sure the settings reflect your preferences — for example, you may want to select the Site Owner to use in the Person Social Profile Structured Data markup.

All non-social related JSON-LD markup — like schema.org/Article markup for example — is provided by a new WPSSO Schema JSON-LD Markup (WPSSO JSON) Pro extension. You can select the Schema type for each WordPress Post Type on the SSO General settings page, under the Google / Schema tab. The new WPSSO JSON extension creates appropriate JSON-LD markup for all supported Schema types. WPSSO JSON also comes with an additional Schema Type option for the Social Settings metabox, allowing you to customize the Schema type for each Post / Page.

Continue reading