Title: Custom Plugin Not Working
Last modified: August 19, 2016

---

# Custom Plugin Not Working

 *  [katmac22](https://wordpress.org/support/users/katmac22/)
 * (@katmac22)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/custom-plugin-not-working/)
 * I have created a custom plugin called “HomeRotateText” and I was successfuly 
   able to activate it. I then opened an existing page called “test” and added the
   following code:
 * <?php
    HomeRotateText(); ?>
 * When the test page displays it shows up the following text:
    HomeRotateText();?
   >
 * What have I done wrong? The contents of my file HomeRotateText is:
 * <?php
 * /*
    Plugin Name: HomeRotateText Plugin URI: [http://www.bserv.com](http://www.bserv.com)
   Description: Displays Random Text on Home Page. Version: 1.0 Author: BNS License:
   GPL1 */
 * function HomeRotateText()
    { echo “ROTATING TEXT”; } ?>

The topic ‘Custom Plugin Not Working’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [katmac22](https://wordpress.org/support/users/katmac22/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/custom-plugin-not-working/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
