Skip to content

3.4.0-beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ajaydsouza ajaydsouza released this 04 Aug 21:41
· 48 commits to master since this release
ab1bf8e
  • Feature:

    • New REST API route (counter) to get the post count for a post.
    • New block: Top 10 Post Count Block that allows you to display the post count for a post.
    • [Pro] New Top 10 Query Block that allows you to query related posts using a block in the block or site editor.
    • [Pro] New Top 10 Featured Image Block that is an advanced version of the featured image block that supports multiple different image sources.
  • Enhancements:

    • The plugin supports WP_Query directly if top_ten_query is set in the query arguments.
    • Optimized media handler to reduce the number of queries.
    • New filter: tptn_shortcode_defaults to filter the default shortcode arguments.
    • Media Handler changes:
      • New parameters use_site_icon and style.
      • Method get_image_html() will use wp_get_attachment_image() if a valid attachment ID is passed.
      • Support for decoding, loading and fetchpriority attributes.
      • get_attachment_id_from_url() will strip size suffixes from the URL before attempting to find the attachment ID.
    • Updated top-10/popular-posts block to API version 3.
    • New parameter $more_link_text for get_the_excerpt().

Full Changelog: v3.3.4...3.4.0-beta1