Title: is_page() function / hacking &#8220;share this&#8221; plugin
Last modified: August 18, 2016

---

# is_page() function / hacking “share this” plugin

 *  [btard](https://wordpress.org/support/users/btard/)
 * (@btard)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/is_page-function-hacking-share-this-plugin/)
 * I’m trying to make a few hacks in the comments.php file:
 *     ```
       <?php
       if (is_page){
         // blah blah do something...
         // don't show alex king's share this function...
       }
       ?>
       ```
   
 * I’m literally trying to only display Alex King’s “Share This” plugin if it is
   not on a “page”.
 * Excuse the question, honest, I’m not a complete n00blet but is this conditional
   bugged?

The topic ‘is_page() function / hacking “share this” plugin’ is closed to new replies.

## Tags

 * [conditional](https://wordpress.org/support/topic-tag/conditional/)
 * [is_page](https://wordpress.org/support/topic-tag/is_page/)

 * 0 replies
 * 1 participant
 * Last reply from: [btard](https://wordpress.org/support/users/btard/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/is_page-function-hacking-share-this-plugin/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
