Changeset 912244
- Timestamp:
- 05/11/2014 07:12:59 PM (12 years ago)
- Location:
- g-crossposting/trunk
- Files:
-
- 2 edited
-
g-crossposting.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
g-crossposting/trunk/g-crossposting.php
r847165 r912244 4 4 Plugin URI: http://wordpress.org/extend/plugins/g-crossposting/ 5 5 Description: Imports your public Google+ activities in your Wordpress blog. 6 Version: 1. 3.16 Version: 1.4.0 7 7 Author: Sebastian Stein 8 8 Author URI: http://sebstein.hpfsc.de/ … … 62 62 } 63 63 64 // load CSS 65 // add_action('wp_enqueue_scripts', 'g_crossposting_load_css'); 64 66 65 67 // bind _update function to update action triggered as a scheduled event 66 68 add_action('g_crossposting_update_action', 'g_crossposting_update'); 69 70 /** 71 * load CSS file for this plugin 72 */ 73 // function g_crossposting_load_css() { 74 // wp_register_style('g_crossposting', plugins_url('g-crossposting/style.css')); 75 // wp_enqueue_style('g_crossposting'); 76 //} 67 77 68 78 /** … … 331 341 } 332 342 $post_content .= '<div class="g-crossposting-att">'; 333 $post_content .= "<div class=\"g-crossposting-att-title\"><a href=\"{$att_url}\" target=\"_blank\">{$att_title}</a></div>"; 343 $post_content .= "<div class=\"g-crossposting-att-title\"><p><a href=\"{$att_url}\" target=\"_blank\">{$att_title}</a></p></div>"; 344 334 345 if ($att_photo) { 335 $post_content .= '<div class="g-crossposting-att-img" style="float:left;">';336 $post_content .= "< a href=\"{$att_url}\" target=\"_blank\">";346 $post_content .= '<div class="g-crossposting-att-img">'; 347 $post_content .= "<p><a href=\"{$att_url}\" target=\"_blank\">"; 337 348 $post_content .= "<img src=\"{$att_photo}\" />"; 338 $post_content .= '</a></ div>';349 $post_content .= '</a></p></div>'; 339 350 } 340 $post_content .= '<div class="g-crossposting-att-txt">'.$att_article.'</div>'; 341 $post_content .= '</div>'; 342 } 343 $post_content .= '<div class="g-crossposting-backlink"><a href="'.$activity->url.'" target="_blank">'.__('This was posted on Google+', 'g-crossposting').'</a></div>'; 351 352 if ($att_article) { 353 $post_content .= '<div class="g-crossposting-att-txt"><p>'.$att_article.'</p></div>'; 354 $post_content .= '</div>'; 355 } 356 } 357 $post_content .= '<div class="g-crossposting-backlink"><p><a href="'.$activity->url.'" target="_blank">'.__('This was posted on Google+', 'g-crossposting').'</a></p></div>'; 344 358 345 359 … … 352 366 $post_title = __('Google+ post: No title available…', 'g-crossposting'); 353 367 } 368 354 369 // shorten post title if required 355 370 if ($options['titlelen'] > 0 && strlen($post_title) > $options['titlelen']) { -
g-crossposting/trunk/readme.txt
r847165 r912244 4 4 Tags: google, googleplus, posts, g+ 5 5 Requires at least: 3.0.0 6 Tested up to: 3. 8.17 Stable tag: 1. 3.16 Tested up to: 3.9.1 7 Stable tag: 1.4.0 8 8 9 9 Imports your public Google+ activities in your Wordpress blog. … … 101 101 == Changelog == 102 102 103 = 1.4.0 = 104 105 * insert linebreak after images so that link to G+ post is shown below 106 * all output like post content now encapsulated in <p> tags for better formatting 107 103 108 = 1.3.1 = 104 109
Note: See TracChangeset
for help on using the changeset viewer.