Title: fusionstream's Replies | WordPress.org

---

# fusionstream

  [  ](https://wordpress.org/support/users/fusionstream/)

 *   [Profile](https://wordpress.org/support/users/fusionstream/)
 *   [Topics Started](https://wordpress.org/support/users/fusionstream/topics/)
 *   [Replies Created](https://wordpress.org/support/users/fusionstream/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/fusionstream/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/fusionstream/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/fusionstream/engagements/)
 *   [Favorites](https://wordpress.org/support/users/fusionstream/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/fusionstream/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/fusionstream/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Faster Image Insert] Custom “Link URL” sizes.](https://wordpress.org/support/topic/custom-link-url-sizes/)
 *  Thread Starter [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/custom-link-url-sizes/#post-8737887)
 * As usual, after deciding to post the question, I find the answer myself.
 * If you’ve come across it before, please be advised that the ‘title’ field has
   to be changed to ‘data-link-url’ for it to work with wordpress 4.7.2 and possibly
   for earlier versions.
 * This be the code:
 * `add_filter('attachment_fields_to_edit', 'large_attachment_fields_to_edit', 0,
   2);function large_attachment_fields_to_edit($fields, $post){ if (substr($post-
   >post_mime_type,0,5) == 'image'){ $html = "<input type='text' class='text urlfield'
   name='attachments[$post->ID][url]' value='" . esc_attr(array_shift( wp_get_attachment_image_src(
   $post->ID, 'large', false) )) . "' /><br /> <button type='button' class='button
   urlnone' data-link-url=''>" . __('None') . "</button> <button type='button' class
   ='button urlfile' data-link-url='".esc_attr(array_shift( wp_get_attachment_image_src(
   $post->ID, 'large', false) ))."'>Large File URL</button> <button type='button'
   class='button urlfile' data-link-url='" . esc_attr(wp_get_attachment_url($post-
   >ID)) . "'>" . __('Original File URL') . "</button> <button type='button' class
   ='button urlpost' data-link-url='" . esc_attr(get_attachment_link($post->ID))."'
   >" . __('Post URL') . "</button>"; $fields['url']['html'] = $html; } return $
   fields;}`
 * You’re supposed to put it in the functions.php of your theme but I just put it
   inside the site specific plugin (which is just a basic plugin that you create
   so you can put your modified code there instead)
 * My site specific plugin has this code:
 *     ```
       <?php
       /*
       Plugin Name: Site Plugin for yoursite.com
       Description: Site-specific code changes for yourside.com
       */
       /* Begin Adding Functions Below This Line; Do not include an opening PHP tag as this sample code already includes one! */
       add_action( 'after_setup_theme', 'default_attachment_display_settings' );
       function default_attachment_display_settings() {
           update_option( 'image_default_align', 'none' );
           update_option( 'image_default_size', 'custom' );
       //    update_option( 'image_default_link_type', 'file' );
           add_filter('attachment_fields_to_edit',  'large_attachment_fields_to_edit', 0,  2);
           function large_attachment_fields_to_edit($fields, $post) {
               if (substr($post->post_mime_type,0,5) == 'image') {
                   $html = "<input type='text' class='text urlfield' name='attachments[$post->ID][url]' value='"
                           . esc_attr(array_shift( wp_get_attachment_image_src($post->ID, 'large', false) )) . "' /><br />                                <button type='button' class='button urlnone' data-link-url=''>"
                           . __('None') . "</button>                                <button type='button' class='button urlfile' data-link-url='"
                           .esc_attr(array_shift( wp_get_attachment_image_src($post->ID, 'large', false) ))
                           ."'>Large File URL</button>                                <button type='button' class='button urlfile' data-link-url='"
                           . esc_attr(wp_get_attachment_url($post->ID)) . "'>"
                           . __('Original File URL') . "</button>                                <button type='button' class='button urlpost' data-link-url='"
                           . esc_attr(get_attachment_link($post->ID)) . "'>" . __('Post URL')
                           . "</button>";
                   $fields['url']['html'] = $html;
               }
               return $fields;
           }
       }
       /* Stop Adding Functions */
       ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Faster Image Insert] Updated 4 years ago, still supported?](https://wordpress.org/support/topic/updated-4-years-ago-still-supported/)
 *  [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/updated-4-years-ago-still-supported/#post-8737709)
 * It still works. Not sure about support.
 * If this plugin one day becomes incompatible, you may lose some functions while
   editing but it won’t affect your live site at all. So there isn’t too much of
   a risk there.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Recent Posts Widget With Thumbnails] Feature Request: Align text.](https://wordpress.org/support/topic/feature-request-align-text/)
 *  Thread Starter [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/feature-request-align-text/#post-7214155)
 * Didn’t say there were errors. This is a feature request. I will check out the
   CSS portion.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Recent Posts Widget With Thumbnails] Bug Report: Excerpt truncated](https://wordpress.org/support/topic/bug-report-excerpt-truncated/)
 *  Thread Starter [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/bug-report-excerpt-truncated/#post-7214103)
 * I manually added an excerpt to the post but the excerpt shown in the plugin doesn’t
   appear to use it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Recent Posts Widget With Thumbnails] Feature Request: Align text.](https://wordpress.org/support/topic/feature-request-align-text/)
 *  Thread Starter [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/feature-request-align-text/#post-7214101)
 * [http://picpaste.com/Untitled-afbu2DGV.png](http://picpaste.com/Untitled-afbu2DGV.png)
 * The first one with red marking is what I was talking about. All content would
   align with the top area.
 * Although now that I see your picture, maybe the 2nd one would also be an option?
   The description will be contained in a box below the image. The box is shown 
   there though it would be without a border.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Recent Posts Widget With Thumbnails] Feature Request: Clickable descriptions](https://wordpress.org/support/topic/feature-request-clickable-descriptions/)
 *  Thread Starter [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/feature-request-clickable-descriptions/#post-7214100)
 * 
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Recent Posts Widget With Thumbnails] Bug Report: Excerpt truncated](https://wordpress.org/support/topic/bug-report-excerpt-truncated/)
 *  Thread Starter [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/bug-report-excerpt-truncated/#post-7214077)
 * If you open that post you’ll see that because of the image, the excerpt length
   appears much shorter.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Recent Posts Widget With Thumbnails] Bug Report: Excerpt truncated](https://wordpress.org/support/topic/bug-report-excerpt-truncated/)
 *  Thread Starter [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/bug-report-excerpt-truncated/#post-7214076)
 * Also at [http://www.singaporefishing.org/blog/](http://www.singaporefishing.org/blog/)
 * The 4th widget down at the 4th recent post.
 * Thanks for all these fast replies btw!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Recent Posts Widget With Thumbnails] Feature Request: Clickable descriptions](https://wordpress.org/support/topic/feature-request-clickable-descriptions/)
 *  Thread Starter [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/feature-request-clickable-descriptions/#post-7214075)
 * It would not slow down the plugin as it’s just a css style.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Recent Posts Widget With Thumbnails] Feature Request: Align text.](https://wordpress.org/support/topic/feature-request-align-text/)
 *  Thread Starter [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/feature-request-align-text/#post-7214074)
 * On both firefox and chrome, the lines break under it (not always the second line
   though).
 * [http://www.singaporefishing.org/blog/](http://www.singaporefishing.org/blog/)
 * It’s the 4th widget down.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[blogsiread] implode(): Invalid arguments passed](https://wordpress.org/support/topic/implode-invalid-arguments-passed/)
 *  Plugin Author [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/implode-invalid-arguments-passed/#post-5322198)
 * Hi. Do you not have categories?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[blogsiread] How to solve?](https://wordpress.org/support/topic/how-to-solve-1/)
 *  Plugin Author [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/how-to-solve-1/#post-3649040)
 * It is designed to return only the first entry.
 * There is no POST_COUNT but you can find the hardcoded reference to the first 
   entry in widget() in line 71 of the file (for atom) and line 83 (for rss).
 * On line 89 onwards, if it has successfully read an entry, it populates $vararr[‘
   feedarray’][] with that first entry only.
 * In printcontent() on line 220, the html is generated. As it has so far assumed
   that every $vararr[‘feedarray’][] is it’s own blog, it will generate a new header
   for every index.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[blogsiread] How to solve?](https://wordpress.org/support/topic/how-to-solve-1/)
 *  Plugin Author [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [13 years ago](https://wordpress.org/support/topic/how-to-solve-1/#post-3649015)
 * You should upgrade your PHP version to 5.3 at least.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[blogsiread] Pull image?](https://wordpress.org/support/topic/pull-image/)
 *  Plugin Author [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/pull-image/#post-3584529)
 * Do you have a sample of such a feed?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[blogsiread] blogsiread isn't working](https://wordpress.org/support/topic/blogsiread-isnt-working/)
 *  Plugin Author [fusionstream](https://wordpress.org/support/users/fusionstream/)
 * (@fusionstream)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/blogsiread-isnt-working/#post-3223843)
 * I’m sorry this has come 3 months later.
 * If you still require assistance do let me know.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/fusionstream/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/fusionstream/replies/page/2/?output_format=md)