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 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.).
If you need to create an array of store hours (for example), the following function can generate an associative array of values quickly, with the hours formatted and stepped (every hour, 30 mins, etc.) as you wish.
I’ve seen similar functions using DateTime(), but we’re already working with timestamps, so there’s really no need.
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().
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:
- WPSSO Mobile App Meta (WPSSO AM) v1.6.0
- WPSSO Place and Location Meta (WPSSO PLM) v1.5.0
- WPSSO Ridiculously Responsive Social Sharing Buttons (WPSSO RRSSB) v1.3.0
- WPSSO Schema JSON-LD (WPSSO JSON) v1.4.0
- WPSSO Social Sharing Buttons (WPSSO SSB) v2.2.0
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.