[Plugin: Add to Any: Share/Bookmark/Email Button] Error when inserting into “index.php”
-
Hi,
This is a restructured version of a question I asked in the wrong forum (sorry for that):
After seeing the plugin’s demo, I thought this was a fantastic plugin. So I decided to download it and give it a try.
After installing it properly, I wanted to add it into the Index.php file. So I inserted the given code:
<?php echo '<ul class="addtoany_list">'; if( function_exists('ADDTOANY_SHARE_SAVE_ICONS') ) ADDTOANY_SHARE_SAVE_ICONS( array("html_wrap_open" => "<li>", "html_wrap_close" => "</li>") ); if( function_exists('ADDTOANY_SHARE_SAVE_BUTTON') ) ADDTOANY_SHARE_SAVE_BUTTON( array("html_wrap_open" => "<li>", "html_wrap_close" => "</li>") ); echo '</ul>'; ?>
Sadly, it displayed an error: https://i30.tinypic.com/2qwk5jm.jpg
It seems that the plugin cannot detect/find some variables.
So I was wondering if there was any solution or advice the plugin’s creator could give to help me correct this problem.
I’m with WordPress 2.8, but with a 2.7 (or even less, I’m not sure) theme. But still, I converted 3 of my WordPress theme’s files (index.php, comments.php and sidebar.php) to be compatible with WordPress 2.8. So, I can’t see where the problem is.
Thank you very much for your time.
Justin
- The topic ‘[Plugin: Add to Any: Share/Bookmark/Email Button] Error when inserting into “index.php”’ is closed to new replies.