Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter stefano79roma

    (@stefano79roma)

    Ok, I update my question. I see there isn’t an Anobii Icon. So I chose the icon-book for that. I tried to put a fiter like the example for the rss icon, but I only obtain a fatal error. Any suggestions? Thanks

    Plugin Author Paul Clark

    (@pdclark)

    Thanks for your interest in the plugin!

    A fatal error means you have a typo in your code, and it typically gives you a line number to find your error at. Can you please post the code you entered and the fatal error you received to get further assistance?

    Thread Starter stefano79roma

    (@stefano79roma)

    Thanks Paul for your ansber. This is the whole code

    [Mangled code moderated, Please use a pastebin.]

    The last 8 rows are those I added for Anobii, but I obtain this code:

    Fatal error: Cannot redeclare storm_social_icons_networks() (previously declared in /web/htdocs/www.sportpeople.net/home/wp-content/plugins/menu-social-icons/menu-social-icons.php:216) in /web/htdocs/www.sportpeople.net/home/wp-content/plugins/menu-social-icons/menu-social-icons.php on line 231

    Sure I’m wrong in something, i’m not an expert
    Thanks a lot

    Plugin Author Paul Clark

    (@pdclark)

    You cannot use the same function name twice. You either need to delete on of the storm_social_icons_networks functions you pasted in, or rename them to something else in the function name and the add_action line.

    Also, you should be putting your custom code into your theme’s functions.php file or into a new plugin. Putting it into the main plugin like you have will cause you to lose your work when you update.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Anubii Icon’ is closed to new replies.