Popular Authors registers two Gutenberg blocks that you can drop into any post, page, or template. Both blocks render server-side and use the visit data tracked by Top 10.

Block name: popular-authors/popular-authors. The block renders the most popular authors on your site and can be used inside the Site Editor if you are using a block theme.

The block uses server-side rendering, so the editor preview reflects what visitors see on the front end.

SettingTypeDescription
Max authors to displayNumberEnter the maximum number of authors to display. -1 displays all authors; use with caution on larger sites.
OffsetNumberSkip this many authors from the top of the list. Applies only when Max authors to display is greater than 0.
Show viewsToggleDisplay the number of views across all of the author’s posts.
Show number of postsToggleDisplay the number of published posts next to the author’s name.
Custom periodToggleSwitch between all-time counts and a custom period. When enabled, use Daily range and Hour range to define the window.
Daily rangeNumberNumber of days in the custom period.
Hour rangeNumberNumber of hours in the custom period.
Show Full NameToggleDisplay the author’s full name (First Name Last Name) when set; otherwise the display name is used.
Show AvatarToggleDisplay the author’s avatar.
Exclude adminToggleExclude the admin account. Enable if you publish posts under a different username.
Hide authors with no postsToggleWhen ON, authors with no visited posts are excluded.
Author IDs to includeTextComma-separated list of author IDs to include. This has priority over Author IDs to exclude.
Author IDs to excludeTextComma-separated list of author IDs to exclude.
Other attributesTextareaFound under the Advanced panel. Pass extra attributes as a URL-style query string, for example post_type=post,page&styles=card.

Block name: popular-authors/popular-posts. Renders the most popular posts for a single author that you select from a dropdown.

SettingTypeDescription
AuthorDropdownSelect the author whose most popular posts you want to display. Selecting an author always sets the lookup field to id.
Number of postsRangeMaximum number of popular posts to display. Range 1–100. Default 10.
Post TypesToken fieldOne or more post types to include.
Order ByDropdownSort by Visits, Date, or Title. Default Visits.
OrderDropdownDescending or Ascending. Default Descending.
Custom periodToggleSwitch between all-time counts and a custom period.
Number of daysRangeDays in the custom period. Default 1.
Number of hoursRangeHours in the custom period. Maximum 24. Default 0.
Display post countToggleDisplay the number of visits after the post title.

Was this article helpful?