Changeset 419893
- Timestamp:
- 08/05/2011 08:24:24 PM (15 years ago)
- Location:
- facebook-likes-you/trunk
- Files:
-
- 2 edited
-
facebook-likes-you.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
facebook-likes-you/trunk/facebook-likes-you.php
r419165 r419893 4 4 Plugin URI: http://www.sproject.name/download/wp-facebook-likes-you/ 5 5 Description: Facebook Likes You! is simple plugin which makes it easy to add Facebook Like button and widgetable Like box. It's fully configurable, so you can decide where to append the button. 6 Version: 1.4. 36 Version: 1.4.4 7 7 Author: Piotr Sochalewski 8 8 Author URI: http://www.sproject.name/ … … 130 130 $fb_like_settings['css_style'] = get_option('fb_like_css_style'); 131 131 132 $defaultappid = 165570960176857; 133 132 134 $locale = defined(WPLANG) ? WPLANG : 'en_US'; 133 135 … … 155 157 156 158 if (!$appid) 157 $appid = '165570960176857';159 $appid = $defaultappid; 158 160 159 161 return $appid; … … 230 232 <meta property="og:title" content="<?php wp_title('«', true, 'right'); ?><?php bloginfo('name'); ?>"/> 231 233 <?php if (is_home()) 232 echo '<meta property="og:type" content="blog"/> <meta property="og:url" content="' . get_bloginfo("home") . '"/>';233 else echo '<meta property="og:type" content="article"/> <meta property="og:url" content="' . get_permalink() . '"/>'; ?>234 echo '<meta property="og:type" content="blog"/> <meta property="og:url" content="' . get_bloginfo("home") . '"/>'; 235 else echo '<meta property="og:type" content="article"/> <meta property="og:url" content="' . get_permalink() . '"/>'; ?> 234 236 <meta property="og:image" content="<?php echo fb_like_catch_image() ?>"/> 235 237 <meta property="og:site_name" content="<?php bloginfo('name') ?>"/> 236 < meta property="fb:app_id" content="<?php echo fb_like_return_appid() ?>"/>237 <?php238 <?php if (fb_like_return_appid()!=$defaultappid) 239 echo '<meta property="fb:app_id" content="' . fb_like_return_appid() . '"/>'; 238 240 } 239 241 } -
facebook-likes-you/trunk/readme.txt
r419165 r419893 5 5 Requires at least: 2.9 6 6 Tested up to: 3.2 7 Stable tag: 1.4. 37 Stable tag: 1.4.4 8 8 9 9 Facebook Likes You! is simple plugin which makes it easy to add Like Button and widgetable Like Box. Google +1 Button isn't a problem too! … … 49 49 == Changelog == 50 50 51 = 1.4.4 = 52 * Fix for Open Graph (extremely important if you use Open Graph and don't have own app ID) 53 54 = 1.4.3 = 51 55 * One more fix for Open Graph 52 56 * Fixed settings
Note: See TracChangeset
for help on using the changeset viewer.