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
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.