Plugin nebyl testován na 3 nejnovějších verzích WordPressu. Nemusí už být tedy podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může být nestabilní.

Advanced Custom Fields: oEmbed Field

Popis

Requires the Advanced Custom Fields plugin. Output can be selected as HTML embed, URL, or data object. Includes settings for preview and output resolution and will accept any provider registered in WordPress.

With the news that ACF V5 includes a built-in oEmbed field type, we’re discontinuing further development of this plugin. The plugin will remain online for legacy V4 support to those that haven’t upgraded, but only essential updates will be released.

Compatibility

This add-on will work with:

  • Advanced Custom Fields version 4 and up
  • Repeater Field

Snímky obrazovky

  • The Add Field interface.
  • The field in an Advanced Custom Field.

Instalace

This add-on can be treated as both a WP plugin and a theme include.

Plugin

  1. Copy the ‚acf-oembed‘ folder into your plugins folder
  2. Activate the plugin via the Plugins admin page

Include

  1. Copy the ‚acf-oembed‘ folder into your theme folder (can use sub folders). You can place the folder anywhere inside the ‚wp-content‘ directory
  2. Edit your functions.php file and add the code below (Make sure the path is correct to include the acf-oembed.php file)

    add_action(‚acf/register_fields‘, ‚my_register_fields‘);

    function my_register_fields()
    {
    include_once(‚acf-oembed/acf-oembed.php‘);
    }

Nejčastější dotazy

What oEmbed sources are supported?

Any supported by WordPress. See Embeds on wordpress.org

Can I use this in a repeater field?

Yep, you sure can.

Recenze

Pro tento plugin nejsou žádné recenze.

Autoři

Advanced Custom Fields: oEmbed Field je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci

Přehled změn

1.0.3

  • Remove PHP short tag dependancy
  • Fix for ‚Missing argument‘ warning when getting the object and not supplying arguments

1.0.2

  • Improve reliability on freaky servers

1.0.1

  • Prevent PHP error caused by missing v3 compatibility

1.0.0

  • Initial Release.