Linux Journal A blog about Ubuntu, Linux, Android and IT
  • Apr
    14

    Flattr button from RSS Feed remove

    Filed under: News;

    Help Support Plugin for WordPress is a very useful thing. By the plugin are automatically created and displayed Things Flattr button in the post. Ever since getting the plugin but with the version 0.9.20 has a new official maintainer, strong tinkered at the plug. One of the changes that I do not personally like, that automatically Flattr button in the feed of the blog is installed, without having to switch it off from the admin panel could.

    I personally do not like Twitter, Facebook and no Flattr buttons to be enough in the feeds of other blogs, a short footer below each article. So I was not happy with the current situation. In the last few days I had little time to look in the code of the plugin once, so I was glad that my question on the WordPress forum now got an answer.

    View

    The solution is quite simple, it is enough to call the “flattr_post2rss” function to prevent. Opens to the file and comment out the line …/wp-content/plugins/flattr/flattr5.php 405th At the end of the section should look like this …

    12345[...]if (function_exists ('curl_init')) {/ / Add_filter;}[...][...]if {    / / Add_filter;}[...]

    … then again, the feed is free of Flattr graphical buttons. Who uses a cache that may need to empty the cache before the change to take effect. A change within the source is of course not very elegant. If the plugin is updated, then you must repeat your hand-made change. Hopefully come soon in the admin panel is an option that makes the button option.

    .

    No Comments

Leave a reply