Title: Customisation
Last modified: January 4, 2018

---

# Customisation

 *  Resolved [zamyboi](https://wordpress.org/support/users/zamyboi/)
 * (@zamyboi)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/customisation-7/)
 * Hi,
    I want to customise the plugin.
 * By default, the plugin displays no of views at bottom of each page and posts.
 * I have already inserted necessary code in functions.php:
    add_action( ‘after_setup_theme’,‘
   my_pageviews_support’ ); function my_pageviews_support() { add_theme_support(‘
   pageviews’ ); }
 * and inserted this too, to show it on top of posts
    views: <?php do_action( ‘pageviews’);?
   >
 * 1. I want this to only appear on posts, not pages. The plugin still shows counter
   on pages and at bottom of posts 🙁
    2. I want to insert an icon for views. Like
   the svg icon used in default.
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustomisation-7%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Gennady Kovshenin](https://wordpress.org/support/users/soulseekah/)
 * (@soulseekah)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/customisation-7/#post-9833691)
 * Well, just use `if ( is_post() ) do_action( 'pageviews' );`.

Viewing 1 replies (of 1 total)

The topic ‘Customisation’ is closed to new replies.

 * ![](https://ps.w.org/pageviews/assets/icon-256x256.png?rev=1451114)
 * [Pageviews](https://wordpress.org/plugins/pageviews/)
 * [Support Threads](https://wordpress.org/support/plugin/pageviews/)
 * [Active Topics](https://wordpress.org/support/plugin/pageviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pageviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pageviews/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gennady Kovshenin](https://wordpress.org/support/users/soulseekah/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/customisation-7/#post-9833691)
 * Status: resolved