Popular Authors includes two blocks allowing you to display the most popular authors and the most popular posts for an author. These are displayed on the basis of visits tracked by Top 10.
Popular Authors block
The Popular Authors block is a Gutenberg block that can replace the widget or shortcode for displaying popular authors. This block can be used in your posts, pages, or any other custom post type. You can also use it within the Site Editor if you are using a block theme.
The block lets you preview the popular authors directly in the block editor. You can customise various aspects of the block using the sidebar as follows:
Setting | Type | Description |
---|---|---|
Max authors to display | Number | Enter the maximum number of authors to display. You can use -1 to display all the authors, but this should be used with caution on larger sites. |
Offset | Number | Number of authors to skip from the top. |
Show count | Toggle | Display the number of visits across all the author’s posts. |
Custom period | Toggle | Toggle between displaying all-time popular authors or popular authors for a custom period, which can be set using the next two settings. For example, setting it to 1 day and 12 hours will display the popular authors from the last 36 hours. |
Daily range | Number | Enter the number of days to define the range for displaying popular authors. |
Hour range | Number | Enter the number of hours within a day to define the range for displaying popular authors. |
Show Full Name | Toggle | If available, display the full name in the “First Name Last Name” format. Otherwise, use the Display Name. |
Show Avatar | Toggle | Display the author’s avatar. |
Exclude admin | Toggle | Exclude the admin username. If you’re not using the admin username to publish posts, toggle this ON. |
Hide authors with no posts | Toggle | By default, authors with no visited posts are excluded. Toggle this OFF to display all authors. |
Author IDs to include | Text | Enter a comma-separated list of author IDs that will be included. This field has priority over the exclude field below. |
Author IDs to exclude | Text | Enter a comma-separated list of author IDs that will be excluded. |
Other attributes | Textarea field | You can find this setting under the Advanced panel in the sidebar. Enter other attributes in a URL-style string-query. It supports any of the plugin’s global settings, e.g. post_type=post,page&styles=card . |
Popular Posts by Author
This block allows you to display the most popular posts for a specific author. These settings are in the sidebar:
Setting | Type | Description |
---|---|---|
Author | Dropdown | Select the author from the list whose most popular posts you want to display. |
Number of Posts | Number | The maximum number of popular posts to display. |
Post types | Toggle | Select one or more post types that should be included. |
Order by | Dropdown | You can order the posts by number of visits, date or post title. |
Order | Dropdown | Ascending or Descending |
Custom period | Toggle | Toggle between displaying all-time popular posts or popular posts for a custom period, which can be set using the next two settings. For example, setting it to 1 day and 12 hours will display the popular authors from the last 36 hours. |
Daily range | Number | Enter the number of days to define the range for displaying popular posts. |
Hour range | Number | Enter the number of hours within a day to define the range for displaying popular posts. |
Display post count | Toggle | Display the number of visits after the post title. |