view_counter
3 years ago
block_ips.php
3 years ago
capabilities.php
3 years ago
dark_mode.php
3 years ago
delete.php
3 years ago
export.php
3 years ago
first_day_of_week.php
3 years ago
index.php
3 years ago
track_authenticated_users.php
3 years ago
view_counter.php
3 years ago
view_counter.php
16 lines
| 1 | <div class="view-counter-settings settings-container"> |
| 2 | <form method="post" action="options.php"> |
| 3 | <?php settings_fields('iawp_view_counter_settings'); ?> |
| 4 | <?php do_settings_sections('independent-analytics-view-counter-settings'); ?> |
| 5 | <div class="shortcode-note"> |
| 6 | <p><?php esc_html_e('You can output the view counter in a custom location using the shortcode:', 'iawp'); ?></p> |
| 7 | <p><code>[iawp_view_counter label="Views:" icon="1"]</code></p> |
| 8 | <p><?php printf( |
| 9 | esc_html__('Use %1$s to hide the icon and %2$s to hide the label.', 'iawp'), |
| 10 | '<code>icon="0"</code>', |
| 11 | '<code>label=""</code>' |
| 12 | ); ?></p> |
| 13 | </div> |
| 14 | <?php submit_button(__('Save Settings', 'iawp'), 'iawp-button purple', 'save-view-counter-settings'); ?> |
| 15 | </form> |
| 16 | </div> |