Title: simple plugin problem
Last modified: August 20, 2016

---

# simple plugin problem

 *  [jahur](https://wordpress.org/support/users/jahur/)
 * (@jahur)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/simple-plugin-problem/)
 * I have problem with this very simple plugin.
 *     ```
       <?php
       /*
       Plugin Name: Simple Add To Footer
       Plugin URI: http://localhost/wordpress/
       Description: Add HTML snippets to posts and/or page footer.
       It is a plugin tutorial using latest plugin API of WP2.7+
       Version: 0.1
       Author: me
       Author URI: http://blog.orangecabin.com/
       Disclaimer: Use at your own risk. No warranty expressed or implied is provided.
       */
       add_action('wp_footer', 'simple_add_to_footer_wp_footer');
       function simple_add_to_footer_wp_footer(){
       	echo '<div>Hello world! '. get_option('blogname') .' </div>';
       }
   
       add_filter('the_content', 'simple_add_to_footer_the_content');
       function simple_add_to_footer_the_content($content = ''){
       	return $content .'<div> I am '. get_the_title(). '</div>' ;
       }
       ?>
       ```
   
 * When I go to another page from home page, this warning comes up at the top of
   my site. I am using free hosting.
 * ” PHP Error Message
 * Warning: implode() [function.implode]: Invalid arguments passed in /home/a3755187/
   public_html/wordpress/wp-content/plugins/simple_optimization/main.php on line
   39
 * Free Web Hosting “
 * This is link of that from my blog.
 * [http://jahurahmed.co.cc/wordpress/?page_id=13](http://jahurahmed.co.cc/wordpress/?page_id=13)
 * Can anyone solve it?
 * Thanks
    Jahur

The topic ‘simple plugin problem’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [jahur](https://wordpress.org/support/users/jahur/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/simple-plugin-problem/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
