Skip to content

Commit

Permalink
Updated readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza committed Aug 30, 2024
1 parent 3a36878 commit 4c2290c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions includes/class-tracker.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ public static function enqueue_scripts() {
* The corresponding tracker can use the below variables or append their own to $ajax_tptn_tracker
*
* @since 2.0
*
* @param string $home_url URL of the tracker.
*/
$home_url = apply_filters( 'tptn_add_counter_script_url', $home_url );

Expand Down
5 changes: 3 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,14 @@ add_filter( 'manage_edit-projects_sortable_columns', 'tptn_column_register_sorta
* Features:
* 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 Query Block that allows you to query popular 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.
* [Pro] New menu item in the admin bar to display the daily, total and overal post counts as well as link to the Top 10 admin pages and clear the Top 10 cache.
* [Pro] New parameter `display_only_on_tax_ids` to display related posts only on specific taxonomy terms
* [Pro] New parameter `display_only_on_tax_ids` to display popular posts only on specific taxonomy terms.
* [Pro] New Fast Tracker that significantly speeds up the tracking of post views vs the other trackers. Select this from your settings page.
* New filters `top_ten_query_exclude_terms_include_parents` and `top_ten_query_include_terms_include_parents` to include parent terms when querying posts. In the Pro version, you can turn this on in the settings page.
* New `get_tptn_short_circuit` filter to short-circuit the plugin's output.
* [Pro] New setting "Display columns on post types" to select the post types screens on which the admin columns should be displayed.
Expand Down

0 comments on commit 4c2290c

Please sign in to comment.