v0.5.1
A hearty thanks to contributors:
Features
- Google Custom Search results are now displayed in the WordPress search results page instead of a popup. Use the “Results only” layout in GCSE for best results (PR #758 for Issue #730)
- The WordPress Admin Bar now contains useful links for Largo (PR #751)
- Plugin installation notices are hidden for users that cannot install Plugins (PR #740)
- Author bios now include Email vCard metadata (PR #700, thanks to Ben Welsh)
- Some Widgets font sizes have changed, for improved readability (PR #733, #755)
- Social media icon colors updated to reflect latest brand colors (PR #750)
- The ‘Donate’ link shows up in the sticky nav on smaller screen sizes, instead of being hidden
Documentation
- Improved API docs and user-facing docs (PR #757)
- Overhaul of Largo developer docs
Developer-facing changes
Breaking Change: If you redefined largo_load_more_posts
in your child theme, you will need to update it with code from this release, as the old logic will fail to load the correct posts.
- The Load More Posts button can now be used multiple times on one page (PR #786 for #745)
- The Load More Posts button text can be changed with the
largo_next_posts_link
filter. (1c12526)- The list of users in the Largo Staff widget is now filterable usinglargo_staff_widget_users
. Example use in nonprofitquarterly.org’s theme on lines 177-202 of functions.php. (PR #701) largo_excerpt()
no longer uses$use_more
and$more_link
arguments. These arguments have been deprecated, and will be ignored. (PR #759 and #765 for issues #52 and #764)- The footer, sidebar, and article-bottom widget areas, and the navigation are excluded from consideration in Google’s searches using the
nocontent
class. (PR #743 and #772 for issue #664) - The number of posts in the homepage template is now filterable (PR #744 and #776 for #742)
- Theme update functions are now organized (PR #739)
- When the update functions are run, new options will have the defaults set. (PR #734 for issue #727)
- The tablet size check in largoCore.js is now for window widths less than or equal to 768px wide, instead of less than 768px wide. (PR #704)
- The Series Landing Page permalink now uses an improved filter (PR #455, thanks to Chris Harmoney)
- Various fixes related to sidebars for Series Landing Pages (PR #788 for issue #642)
- The hero image partial has been enhanced with a filterable set of functions (PR #724, #737):
largo_hero
: Prints the herolargo_get_hero
: Returns the herolargo_featured_image_hero
: One featured imagelargo_featured_gallery_hero
: A featured image gallerylargo_featured_embed_hero
: An embedded video. Ex: YouTube or Vimeo
- Travis now tests against WordPress 4.1.5 and 4.2.2 (fbe7b72) and uses
sudo: false
(0d8b89d for #738)
Bugfixes
- Miscellaneous typo fixes
- Bugfix for staff avatars not displaying on the
[roster]
shortcode (PR #754) - The “Exit Clean Read” button is no longer hidden by the sticky navigation (PR #781 for #768)
- Largo_Related once again looks both forwards and backwards in time for related posts in series, categories and tags (PR #789 for #782)
- The Load More Posts button now works with the
”
character in a search query (PR #673)