Skip to content

Releases: WebberZone/top-10

Version 4.0.2

31 Oct 08:02
Compare
Choose a tag to compare

Changelog:

  • Updated Freemius SDK to 2.9.0.
  • Fixed: Set widget_id if it is not set in the widget instance.

Full Changelog: 4.0.1...4.0.2

4.0.1

30 Sep 21:18
Compare
Choose a tag to compare

Changelog

  • Modifications:

    • Renamed filter to: top_ten_posts_post_types.
    • Updated filter tptn_query_args_before to be the queried object instead of just the post.
  • Bug fix:

    • Fixed issue where admin columns setting didn't work.
    • Fixed: meta_query was not set.

Full Changelog: 4.0.0...4.0.1

Version 4.0.0

10 Sep 19:18
Compare
Choose a tag to compare

Release post: https://webberzone.com/announcements/top-10-v4-0-0/

Features:

  • Added a new REST API route (counter) to fetch the post count for individual posts.
  • Introduced the Top 10 Post Count Block for displaying post counts.
  • Added filters top_ten_query_exclude_terms_include_parents and top_ten_query_include_terms_include_parents to include parent terms in post queries. Pro users can enable this in settings.
  • New get_tptn_short_circuit filter to bypass the plugin’s output.
  • New filter tptn_dashboard_setup to disable Top 10 widgets being displayed on the admin dashboard.
  • [Pro] New Top 10 Query Block for querying popular posts directly from the block or site editor.
  • [Pro] Enhanced Top 10 Featured Image Block now supports multiple image sources.
  • [Pro] Popular Posts block now includes:
    • Buttons to save and clear default block settings.
    • Auto-insertion of default and global settings attributes, with an option to disable this in the Posts List settings.
  • [Pro] Added a new admin bar menu item to view daily, total, and overall post counts, access Top 10 admin pages, and clear the Top 10 cache.
  • [Pro] Added display_only_on_tax_ids parameter to restrict popular posts display to specific taxonomy terms.
  • [Pro] New Fast Tracker improves post view tracking speed. Select it from your settings page.
  • [Pro] "Display columns on post types" setting to choose which post type screens display admin columns.
  • [Pro] "Also show dashboard to" setting to select user roles that can view the dashboard screen.
  • [Pro] New option added to the Edit Post meta box mapped to include_cat_ids to include popular posts from specific categories only.

Enhancements:

  • Direct support for WP_Query if top_ten_query is used in query arguments.
  • Optimised media handler to reduce queries.
  • New filter: tptn_shortcode_defaults for default shortcode arguments.
  • Media Handler improvements:
    • Added use_site_icon and style parameters.
    • get_image_html() now uses wp_get_attachment_image() with a valid attachment ID.
    • Support for decoding, loading, and fetchpriority attributes.
    • get_attachment_id_from_url() now strips size suffixes before locating the attachment ID.
  • Updated top-10/popular-posts block to API version 3.
  • Added $more_link_text parameter for get_the_excerpt().

Full Changelog: v3.3.4...4.0.0

3.4.0-RC2

30 Aug 21:35
Compare
Choose a tag to compare
3.4.0-RC2 Pre-release
Pre-release

Full Changelog: 3.4.0-RC1...3.4.0-RC2

  • Features:

    • Added a new REST API route (counter) to fetch the post count for individual posts.
    • Introduced the Top 10 Post Count Block for displaying post counts.
    • [Pro] New Top 10 Query Block for querying popular posts directly from the block or site editor.
    • [Pro] Enhanced Top 10 Featured Image Block now supports multiple image sources.
    • [Pro] Popular Posts block now includes:
      • Buttons to save and clear default block settings.
      • Auto-insertion of default and global settings attributes, with an option to disable this in the Posts List settings.
    • [Pro] Added a new admin bar menu item to view daily, total, and overall post counts, access Top 10 admin pages, and clear the Top 10 cache.
    • [Pro] Added display_only_on_tax_ids parameter to restrict popular posts display to specific taxonomy terms.
    • [Pro] New Fast Tracker improves post view tracking speed. Select it from your settings page.
    • Added filters top_ten_query_exclude_terms_include_parents and top_ten_query_include_terms_include_parents to include parent terms in post queries. Pro users can enable this in settings.
    • New get_tptn_short_circuit filter to bypass the plugin’s output.
    • [Pro] "Display columns on post types" setting to choose which post type screens display admin columns.
    • [Pro] "Also show dashboard to" setting to select user roles that can view the dashboard screen.
  • Enhancements:

    • Direct support for WP_Query if top_ten_query is used in query arguments.
    • Optimised media handler to reduce queries.
    • New filter: tptn_shortcode_defaults for default shortcode arguments.
    • Media Handler improvements:
      • Added use_site_icon and style parameters.
      • get_image_html() now uses wp_get_attachment_image() with a valid attachment ID.
      • Support for decoding, loading, and fetchpriority attributes.
      • get_attachment_id_from_url() now strips size suffixes before locating the attachment ID.
    • Updated top-10/popular-posts block to API version 3.
    • Added $more_link_text parameter for get_the_excerpt().

3.4.0-RC1

18 Aug 21:07
Compare
Choose a tag to compare
3.4.0-RC1 Pre-release
Pre-release

Full Changelog: 3.4.0-beta1...3.4.0-RC1

  • 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.
    • [Pro] Pro version adds additional features to the Popular Posts block:
      • New buttons to save default block settings and clear them.
      • Inserting the block will also insert the attributes for the default and global settings automatically. This can be disabled in the settings page under the Posts List tab.
  • 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().

3.4.0-beta1

04 Aug 21:41
ab1bf8e
Compare
Choose a tag to compare
3.4.0-beta1 Pre-release
Pre-release
  • 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

Version 3.3.4

09 Jun 20:20
Compare
Choose a tag to compare

Changelog:

  • Enhancements:

    • Exporting and importing the post tables now supports post URLs. This will allow you to import the post tables into a different site and have the correct counts. Note: This will only work if the URLs are the same on both sites. If you have changed the URL structure, you will need to manually update the URLs in the exported CSV file
    • Cache is enabled by default
  • Bug fixes:

    • Fixed a bug where the cron job would not run

What's Changed

New Contributors

Full Changelog: v3.3.3...v3.3.4

v3.3.4-beta1

24 May 18:27
Compare
Choose a tag to compare
v3.3.4-beta1 Pre-release
Pre-release
  • Enhancements:

    • Exporting and importing the post tables now supports post URLs. This will allow you to import the post tables into a different site and have the correct counts. Note: This will only work if the URLs are the same on both sites. If you have changed the URL structure, you will need to manually update the URLs in the exported CSV file
  • Bug fixes:

    • Fixed a bug where the cron job would not run

What's Changed

New Contributors

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

Version 3.3.3

03 Nov 19:33
Compare
Choose a tag to compare

Release post: https://webberzone.com/announcements/top-10-v3-3-0/

  • Enhancements:

    • Media Handler checks the title of the image if the alt tag is empty
  • Bug fixes:

    • Check if $wp_filters['the_content'] is set. Fixes a PHP warning for users running WordPress before 6.1
    • Import_Export Class: Fix unnecessary check for network_admin_menu filter; Minor code fixes to set headers before outputting data
    • Number fields in the block were not saved.
  • Security fix:

    • Check nonce before editing post counts in the Admin area

Full Changelog: v3.3.2...v3.3.3

v3.3.3-RC2

02 Nov 21:18
Compare
Choose a tag to compare
v3.3.3-RC2 Pre-release
Pre-release

Installation

  1. Download the top-10.zip file from this release post
  2. Visit Plugins in your Admin Area
  3. Hit the Add New button next to the Plugins heading
  4. Hit the Upload button next to the Add Plugins heading
  5. Select the top-10.zip file that you downloaded and hit Install Now
  6. In the next screen choose Replace current with uploaded
  7. This should replace the plugin with the latest version. You can verify this by going back to the Plugins page and checking the version number

Changelog:

  • Enhancements:

    • Media Handler checks the title of the image if the alt tag is empty
  • Bug fixes:

    • Check if $wp_filters['the_content'] is set. Fixes a PHP warning for users running WordPress before 6.1
    • Import_Export Class: Fix unnecessary check for network_admin_menu filter; Minor code fixes to set headers before outputting data
    • Number fields in the block were not saved.
  • Security fix:

    • Check nonce before editing post counts in the Admin area

Full Changelog: v3.3.3-RC1...v3.3.3-RC2