/*
Plugin Name: SocialMedia Google Plus
Plugin URI: /
Description: The Google Plus Plugin adds a Google Plus One Button to every Post.
Version: 1.0
Author: Moritz Hanke
Author URI: /
License: GPL2
*/
/* Copyright 2011 Moritz Hanke (email : m.hanke88@yahoo.de)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
class GooglePlus {
public function __construct() {
add_filter('the_content', array($this, 'Add'));
}
public function Add($wordpresscontent=false) {
$Container = '
[GOOGLE]
';
$Google = '';
$Google .= '';
return $wordpresscontent .= str_replace('[GOOGLE]', $Google, $Container);
}
public function __destruct() {
}
}
$Class = new GooglePlus();
?>
Les Arcs Accommodation | Les Arcs - Ski Les Arcs