Title: External Content
Author: Thorsten Frommen
Published: <strong>Èbìbí  8, 2015</strong>
Last modified: Ṣẹrẹ 3, 2016

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://ps.w.org/external-content/assets/icon-256x256.png?rev=1249266)

# External Content

 Láti ọwọ́ [Thorsten Frommen](https://profiles.wordpress.org/tfrommen/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/external-content.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/external-content/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/external-content/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/external-content/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/external-content/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/external-content/)

## Àpèjúwe

Have you ever wanted to integrate external content such as a specific post of an
external website into your WordPress website? But treat it like any other post? 
That is, have it appear as teaser or part of a specific (pseudo) archive?

This is exactly when _External Content_ kicks in.

#### Usage

_External Content_ registers a custom post type that, by default, supports title,
content, excerpt and thumbnail. This can be customized, though. Managing your posts
in your backend is no different from any other post type. Create a new post, give
it a title, write some text, define an individual excerpt, and set a post thumbnail,
if you wish. Then assign each post an individual external URL by means of the according
meta box. This external URL will be used as the postÌtumọ̀ Yorùbá: ’s permalink.

**Filters**

In order to customize certain aspects of the plugin, it provides you with several
filters. For each of these, a short description as well as a code example on how
to alter the default behavior is given below. Just put the according code snippet
in your themeÌtumọ̀ Yorùbá: ’s `functions.php` file or your _customization_ plugin,
or to some other appropriate place.

**`external_content_args`**

If you want to alter a specific post type argument but you canÌtumọ̀ Yorùbá: ’t 
find a fitting filter, thereÌtumọ̀ Yorùbá: ’s `external_content_args`, which provides
you with the complete args array.

    ```
    /**
     * Filter the post type args.
     *
     * @param array $args Post type args.
     */
    add_filter( 'external_content_args', function( $args ) {

        // Use hierarchical external content
        $args[ 'hierarchical' ] = TRUE;

        return $args;
    } );
    ```

**`external_content_description`**

The post type description can be customized by using the `external_content_description`
filter.

    ```
    /**
     * Filter the post type description.
     *
     * @param string $description Post type description.
     */
    add_filter( 'external_content_description', function() {

        // Provide a description
        return 'Simple post type for handling external content like any other post.';
    } );
    ```

**`external_content_labels`**

In case you donÌtumọ̀ Yorùbá: ’t like the labels, easily adapt them to your liking.

    ```
    /**
     * Filter the post type labels.
     *
     * @param array $labels Post type labels.
     */
    add_filter( 'external_content_labels', function( $labels ) {

        // A little more horror, please...
        $labels[ 'not_found' ] = 'ZOMG, no external content found!!1!!1!!oneone!!!1!eleven!1!';

        return $labels;
    } );
    ```

**`external_content_meta_key`**

If you want to alter the meta key for the external URL, feel free to do it via this
filter.

    ```
    /**
     * Filter the meta key.
     *
     * @param string $meta_key Meta key.
     */
    add_filter( 'external_content_meta_key', function() {

        // Let's Shrekify the meta key
        return 'far_far_away';
    } );
    ```

**`external_content_post_type`**

Yes, you can also alter the post type (slug).

    ```
    /**
     * Filter the post type.
     *
     * @param string $post_type Post type.
     */
    add_filter( 'external_content_post_type', function() {

        return 'exotic_stuff';
    } );
    ```

**`external_content_supports`**

This filter provides you with the post type supports.

    ```
    /**
     * Filter the post type supports.
     *
     * @param array $supports Post type supports.
     */
    add_filter( 'external_content_supports', function( $supports ) {

        // If your theme uses the excerpt for teasers, just remove the editor to prevent confusion
        foreach ( $supports as $key => $value ) {
            if ( 'editor' === $value ) {
                unset( $supports[ $key ] );
            }
        }

        return $supports;
    } );
    ```

**`external_content_use_external_url`**

The permalink of external content is, by default, replaced with the postÌtumọ̀ Yorùbá:’
s according external URL (i.e., post meta). To disable this behavior, just do the
following:

    ```
    /**
     * Filter the usage of the external URL as permalink.
     *
     * @param bool $use_external_url Use the external URL as permalink?
     */
    add_filter( 'external_content_use_external_url', '__return_false' );
    ```

#### Contribution

To **contribute** to this plugin, please see its [**GitHub repository**](https://github.com/tfrommen/external-content).

If you have a feature request, or if you have developed the feature already, please
feel free to use the Issues and/or Pull Requests section.

Of course, you can also provide me with translations if you would like to use the
plugin in another not yet included language.

## Àwọn àwòrán ìbòjú

[⌊Meta box - Enter an external URL to have the post's permalink be replaced with
it.⌉⌊Meta box - Enter an external URL to have the post's permalink be replaced with
it.⌉[

**Meta box** Ìtumọ̀ Yorùbá: – Enter an external URL to have the postÌtumọ̀ Yorùbá:’
s permalink be replaced with it.

## Ìgbéwọlẹ̀

This plugin requires PHP 5.3.

 1. Upload the `external-content` folder to the `/wp-content/plugins/` directory on
    your web server.
 2. Activate the plugin through the _Plugins_ menu in WordPress.
 3. Find the new _External Content_ menu in your WordPress backend.

## Àwọn àgbéyẹ̀wò

![](https://secure.gravatar.com/avatar/1248aa6bf4db539852848fec234375f5e882810b774d953e1b9d586ab53dde21?
s=60&d=retro&r=g)

### 󠀁[OK](https://wordpress.org/support/topic/ok-164/)󠁿

 [Douglas DJOMGOUE](https://profiles.wordpress.org/douglasdjomgoue/) Ọwẹ́wẹ̀ 3, 
2016 2 àwọn ìdáhùn

Cool, ça fonctionne très bien. Mais il nÌtumọ̀ Yorùbá: ’y a pas la possibilité dÌtumọ̀
Yorùbá: ’ouvrir sur un nouvel onglet.

 [ Ka gbogbo àgbéyẹ̀wò 1 ](https://wordpress.org/support/plugin/external-content/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“External Content” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa
sí plugin yìí.

Àwọn Olùkópa

 *   [ Thorsten Frommen ](https://profiles.wordpress.org/tfrommen/)

[Túmọ̀ “External Content” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/external-content)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/external-content/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/external-content/), tàbí ṣe àgbékalẹ̀
sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/external-content/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/external-content/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.4.2

 * Fix uninstall bug, again.

#### 1.4.1

 * Compatible up to WordPress 4.4.
 * Fix uninstall bug.

#### 1.4.0

 * Compatible up to WordPress 4.3.1.

#### 1.3.0

 * Bugfix Nonce method.
 * Refactor some methods to make them better testable.
 * Compatible up to WordPress 4.3.

#### 1.2.1

 * Escape translated strings.
 * Compatible up to WordPress 4.2.4.

#### 1.2.0

 * Complete refactor.
 * Compatible up to WordPress 4.2.3.

#### 1.1.0

 * wordpress.org release.
 * Compatible up to WordPress 4.2.2.

#### 1.0.0

 * Initial release.

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.4.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 11 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **20+**
 *  Ẹ̀yà WordPress ** 2.9.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **4.4.34**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/external-content/)
 * Àwọn àmì
 * [content](https://yor.wordpress.org/plugins/tags/content/)[external](https://yor.wordpress.org/plugins/tags/external/)
   [url](https://yor.wordpress.org/plugins/tags/url/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/external-content/advanced/)

## Àwọn ìbò

 4 lára àwọn ìràwọ̀ 5.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/external-content/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/external-content/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/external-content/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/external-content/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/external-content/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/external-content/reviews/)

## Àwọn Olùkópa

 *   [ Thorsten Frommen ](https://profiles.wordpress.org/tfrommen/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/external-content/)