simple plugin problem
-
I have problem with this very simple plugin.
<?php /* Plugin Name: Simple Add To Footer Plugin URI: https://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: https://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.
https://jahurahmed.co.cc/wordpress/?page_id=13
Can anyone solve it?
Thanks
Jahur
- The topic ‘simple plugin problem’ is closed to new replies.