The Display tab controls how Views appear on your website and in the WordPress admin area. Configure where the counter displays, who can see it, and how the numbers are formatted.
The Display tab is organized into four sections:
- Counter Appearance — Customize the label, icon, and number formatting
- Display Targets — Choose where the counter appears on your site
- Display Audience — Control which visitors see the counter
- Admin Interface — Configure admin columns, toolbar charts, and menu placement
Settings in this tab affect the frontend display of Views and the admin experience. They do not affect tracking behavior. For tracking configuration, see Post Views > Counting > Tracking Behavior.
Settings Reference
Counter Appearance
Configure how the visible counter for Views looks when displayed on your site.
Post Views > Display > Counter Appearance
Views Label
Text displayed next to the Views total.
- Field:
label - Type: Input
- Default:
Post Views: - Availability: Lite + Pro
Enter any text that should appear before the number. Leave empty to show only the count without a label.
Display Style
Choose visual elements for the counter.
- Field:
display_style - Type: Custom
- Default: Empty (no options selected)
- Values:
icon— Icontext— Label
- Availability: Lite + Pro
Select Icon to show a dashicon, Label to show the Views Label text, or both for a complete display. When both are unchecked, only the number appears.
Icon Class
CSS class for the views icon when Display Style includes Icon.
- Field:
icon_class - Type: Class
- Default:
dashicons-chart-bar - Availability: Lite + Pro
Enter any Dashicons class name. WordPress includes dozens of icons. Common choices include dashicons-chart-bar, dashicons-visibility, and dashicons-eye.
Views Period
Time range for displayed Views.
- Field:
display_period - Type: Select
- Default:
total - Values:
total— Total Views
- Availability: Pro-only
Select whether to display total views or views from a specific time period. This affects the counter display only; tracking remains unaffected.
Format Number
Apply locale-based formatting to the view count.
- Field:
use_format - Type: Boolean
- Default:
True - Availability: Lite + Pro
When enabled, large numbers display with thousand separators matching your site’s locale (e.g., 1,234 instead of 1234). Disable for raw number output.
Display Targets
Control where the counter appears on your website.
Post Views > Display > Display Targets
Position
Automatic insertion location for the counter.
- Field:
position - Type: Select
- Default:
after - Values:
before— Before the contentafter— After the contentmanual— Manual only
- Availability: Lite + Pro
Choose Before the content to place the counter above your post content, After the content for placement below content, or Manual only to disable automatic insertion entirely.
When set to Manual only, use the [post-views] shortcode in your templates or content to display the counter exactly where needed.
Post Types
Select which post types display the counter.
- Field:
post_types_display - Type: Checkbox
- Default:
["post"] - Availability: Lite + Pro
Check each post type where the counter should appear. By default, only Posts are selected. Add Pages or custom post types as needed.
Page Type
Select page contexts where the counter appears.
- Field:
page_types_display - Type: Checkbox
- Default:
["singular"] - Availability: Lite + Pro
Choose which page types display the counter. The default singular shows the counter on single post pages.
Taxonomies
Display Views on taxonomy archive pages.
- Field:
taxonomies - Type: Boolean
- Default:
False - Availability: Pro-only
Enable to show Views on category, tag, and custom taxonomy archive pages. When enabled, additional taxonomy selection options become available in Taxonomies Display.
Taxonomies Display
Select specific taxonomies for counter display.
- Field:
taxonomies_display - Type: Checkbox
- Default: Empty
- Availability: Pro-only
Choose which taxonomy archive pages display the counter. Available when Taxonomies is enabled.
Author Archives
Display Views on author archive pages.
- Field:
user_display - Type: Boolean
- Default:
True(Pro) - Availability: Pro-only
Enable to show Views on author archive pages. This displays the total views for posts by each author.
Display Audience
Control which visitors see the counter.
Post Views > Display > Display Audience
User Type
Hide the counter for selected visitor groups.
- Field:
restrict_display_groups - Type: Checkbox
- Default: Empty
- Values:
users— logged in usersguests— guestsroles— selected user roles
- Availability: Lite + Pro
Select groups who should NOT see Views. Leave empty to show the counter to all visitors. Checking logged in users hides the counter from all authenticated users. Checking guests hides it from non-logged-in visitors.
User Roles
Hide the counter for specific user roles.
- Field:
restrict_display_roles - Type: Checkbox
- Default: Empty
- Availability: Lite + Pro
Select specific user roles that should not see the counter. This option appears when selected user roles is checked in User Type.
Admin Interface
Configure WordPress admin area display options.
Post Views > Display > Admin Interface
Admin Column
Show a Views column on post list screens.
- Field:
post_views_column - Type: Boolean
- Default:
True - Availability: Lite + Pro
When enabled, a Views column appears on the Posts, Pages, and custom post type list screens in the WordPress admin. This provides quick visibility into view counts without opening each post.
Admin Edit
Allow editing view counts on the post edit screen.
- Field:
restrict_edit_views - Type: Boolean
- Default:
False - Availability: Lite + Pro
When enabled, a Views field appears in the post editor, allowing administrators to manually adjust view counts. Disable to prevent accidental modifications.
Dynamic Loading
Load displayed Views via JavaScript after page load.
- Field:
dynamic_loading - Type: Boolean
- Default:
False - Availability: Pro-only
Enable when using caching plugins that might cache the displayed Views total. Dynamic loading fetches the current total via REST API after the page loads, ensuring visitors always see accurate numbers even when pages are cached.
This is particularly useful with page caching plugins or CDN configurations. The counter makes a request to /wp-json/post-views-counter/get-post-views/ to retrieve the current Views total.
Toolbar Chart
Display a views chart in the WordPress admin toolbar.
- Field:
toolbar_statistics - Type: Boolean
- Default:
True - Availability: Lite + Pro
When enabled, a views chart appears in the admin toolbar for content types configured for tracking. This provides at-a-glance statistics while browsing your site.
Menu Position
Choose the plugin menu location in the admin sidebar.
- Field:
menu_position - Type: Radio
- Default:
top - Values:
top— Top menusub— Settings submenu
- Availability: Lite + Pro
Select Top menu to display Post Views as a top-level menu item in the admin sidebar. Choose Settings submenu to nest it under the WordPress Settings menu for a cleaner sidebar.
Recommended Defaults
For most websites, start with these settings:
Counter Appearance:
- Views Label:
Post Views: - Display Style: Icon + Label
- Icon Class:
dashicons-chart-bar - Format Number: Enabled
Display Targets:
- Position:
After the content - Post Types: Posts (add others as needed)
- Page Type: Singular posts
Display Audience:
- User Type: Empty (show to all)
- User Roles: Empty
Admin Interface:
- Admin Column: Enabled
- Admin Edit: Disabled
- Toolbar Chart: Enabled
- Menu Position: Top menu
These settings display Views after post content on single posts, visible to all visitors, with formatted numbers and an icon.
Dependencies
Several settings interact with each other within the Display tab:
Display Style and Icon Class:
- Icon Class only applies when Display Style includes Icon
- If Display Style is set to Label only, Icon Class has no effect
User Type and User Roles:
- User Roles options appear only when
selected user rolesis checked in User Type - Selecting both
logged in usersandguestshides the counter from everyone
Position and Manual Display:
- When Position is set to
Manual only, the counter only appears where you place the[post-views]shortcode - Post Types and Page Type selections have no effect when Position is Manual
Dynamic Loading and Caching:
- Dynamic Loading requires REST API endpoints to be accessible
- Use Dynamic Loading when page caching might serve stale Views
- This setting works independently from the Counter Mode setting at
Post Views > Counting > Tracking Behavior
Taxonomies and Taxonomies Display:
- Taxonomies Display options appear only when Taxonomies is enabled
- Select specific taxonomies to show Views on their archive pages
Troubleshooting
Counter not appearing on posts:
- Verify Position is not set to
Manual only - Check that your post type is selected in Post Types
- Ensure Page Type includes
singularfor single post display - Confirm you are not excluded via User Type or User Roles settings
Icon not displaying:
- Verify Display Style includes Icon option
- Check that Icon Class contains a valid Dashicons class name
- Ensure your theme includes WordPress default dashicons stylesheet
Views showing stale numbers:
- If using a caching plugin, enable Dynamic Loading to fetch counts after page load
- Clear your page cache after changing display settings
Counter appearing in wrong location:
- Adjust Position setting to
Before the contentorAfter the content - For precise placement, set Position to
Manual onlyand use the[post-views]shortcode in your theme templates or content
Admin column not showing:
- Verify Admin Column is enabled
- Check that the post type is configured for tracking at
Post Views > Counting > Tracking Targets - Some custom post types may require additional configuration
Counter visible to wrong visitors:
- Review User Type settings to ensure correct groups are excluded
- If using User Roles, verify the correct roles are selected
- Remember that exclusions hide the counter from those visitors, not from tracking
