Title: External Files
Author: adamh
Published: <strong>জুন 21, 2009</strong>
Last modified: জুন 21, 2009

---

প্লাগিনৰ সন্ধান কৰক

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/external-files.svg)

# External Files

 [adamh](https://profiles.wordpress.org/adamh/)-ৰ দ্বাৰা

[ডাউনল’ড কৰক](https://downloads.wordpress.org/plugin/external-files.zip)

 * [বিশদ বিৱৰণ](https://as.wordpress.org/plugins/external-files/#description)
 * [পৰ্য্যালোচনা](https://as.wordpress.org/plugins/external-files/#reviews)
 *  [ইনষ্টলেশ্যন](https://as.wordpress.org/plugins/external-files/#installation)
 * [বিকাশ](https://as.wordpress.org/plugins/external-files/#developers)

 [সাহায্য](https://wordpress.org/support/plugin/external-files/)

## বৰ্ণনা

External files provides a shortcode _[external]_ which can be used to insert the
contents of a file or url into the current post or page. The plugin will automatically
format the text based on the extension (for files) or mime type (for urls), using
Alex Gorbatchevs’ [Syntax Highlighter](http://alexgorbatchev.com) javascript.

The shortcode can accept three optional parameters:

 * _format_ can be used to specify a highlighting format, rather than letting the
   plugin decide which format to use
 * _start_ specifies a line number to output from, so sections of a file/url can
   be shown
 * _end_ specifies the line to stop at

See the installation page for usage examples.

The available formats are:

 * AS3
 * Bash
 * Cpp
 * CSharp
 * Css
 * Delphi
 * Diff
 * Groovy
 * Java
 * JavaFX
 * JScript
 * Perl
 * Php
 * Plain
 * PowerShell
 * Python
 * Ruby
 * Scala
 * Sql
 * Vb
 * Xml

### Future features

Following is a list of ideas and features to add:

 * _BASE\_PATH_ and _BASE\_URL_ options that can be used in the shortcode to avoid
   typing the same long path/url each time
 * a list of available formats with the checkboxes to enable/disable each individually,
   thus avoiding having to load all of them
 * an option for changing the theme of the syntax highlighter

## ইনষ্টলেশ্যন

 1. Install the plugin and activate
 2. In a post or page, type [external]/path/to/your/script.txt[/external]

Examples:

[external]/path/to/file.php[/external]
 [external]http://my.website.com/about.html[/
external] [external start=10 end=20]/very/long/script.js[/external] [external format
=xml]/not/really/a-php-document.php[/external]

## সঘনাই উত্থাপিত প্ৰশ্ন

_My code isn’t being highlighted_

This might mean that the theme you are using doesn’t call wp_footer before the closing
body tag. The javascript that applies the highlighter is attached to the wp_footer
action – either try another theme (the default wordpress theme will work) or add
the theme by typing the following inside the closing body tag:

    ```
    <?php wp_footer(); ?>
    ```

_My code should be formatted as *x_, but is showing up as plain*

If you are specifying a format, are you using one from the available formats list(
see the Description page)? If you are not specifying a format, does the file have
a correct extension for the file type or is the web page returning with the correct
Content-Type header?

_I’m still stuck_

Get in touch, I’ll see what I can do!

## পৰ্য্যালোচনা

এই প্লাগিনৰ বাবে কোনো পৰ্য্যালোচনা নাই।

## অৱদানকাৰী আৰু বিকাশকাৰীসকল

“External Files” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত অৱদান আগবঢ়াইছে।

অৱদানকাৰীসকল

 *   [ adamh ](https://profiles.wordpress.org/adamh/)

[আপোনাৰ ভাষাত “External Files” অনুবাদ কৰক।](https://translate.wordpress.org/projects/wp-plugins/external-files)

### বিকাশৰ প্ৰতি আগ্ৰহী?

[ক’ড ব্ৰাউজ কৰক](https://plugins.trac.wordpress.org/browser/external-files/), [SVN ৰিপজিটৰী](https://plugins.svn.wordpress.org/external-files/)
চাওক নাইবা [RSS](https://plugins.trac.wordpress.org/log/external-files/?limit=100&mode=stop_on_copy&format=rss)-
দ্বাৰা [বিকাশৰ পঞ্জী](https://plugins.trac.wordpress.org/log/external-files/) ছাবস্ক্ৰাইব
কৰক।

## সলনি-পঞ্জী

#### 0.1

_2009-06-21_
 * First version! Works for me, comments appreciated.

## মেটা

 *  **0.1** সংস্কৰণ
 *  **17 বছৰ আগত** শেষবাৰ আপডে’ট হৈছিল
 *  সক্ৰিয় ইনষ্টলেশ্যন **10+**
 *  WordPress-ৰ সংস্কৰণ ** 2.5 বা তাতকৈ ওপৰৰ **
 *  ইমানলৈকে পৰীক্ষা কৰা হৈছে **2.8**
 *  ভাষা
 * [English (US)](https://wordpress.org/plugins/external-files/)
 * [code](https://as.wordpress.org/plugins/tags/code/)[Highlight](https://as.wordpress.org/plugins/tags/highlight/)
   [scripts](https://as.wordpress.org/plugins/tags/scripts/)
 *  টেগবোৰ
 *  [উচ্চখাপৰ ভিউ](https://as.wordpress.org/plugins/external-files/advanced/)

## ৰে’টিংবোৰ

এতিয়ালৈ কোনো পৰ্য্যালোচনা দাখিল কৰা হোৱা নাই।

[Your review](https://wordpress.org/support/plugin/external-files/reviews/#new-post)

[সকলো পৰ্য্যালোচনা চাওক](https://wordpress.org/support/plugin/external-files/reviews/)

## অৱদানকাৰীসকল

 *   [ adamh ](https://profiles.wordpress.org/adamh/)

## সাহায্য

কিবা ক’বলগীয়া আছে? সহায় লাগে?

 [সাহায্যৰ ফ’ৰাম চাওক](https://wordpress.org/support/plugin/external-files/)

## দান কৰক

আপুনি এই প্লাগিনৰ উন্নতিৰ প্ৰতি সাহায্য আগবঢ়াব বিচাৰেনে?

 [ এই প্লাগিনক অনুদান দিয়ক ](http://adamhopkinson.co.uk/)