edwardtownend
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Custom Fields: oEmbed Field] interest ?Yep, this plugin will continue to support V4 for legacy compatibility, but no further features will be developed owing to the built-in field in V5.
Forum: Plugins
In reply to: [Advanced Custom Fields: oEmbed Field] Data Object OutputHi Richard, it’s a bit of a bug – The second parameter is expected to be an array of arguments such as:
array('width' => 200, 'height' => 150 )
That said, it should have been optional so that will be fixed in the next update, today.
Thanks for letting me know.
Forum: Plugins
In reply to: [Advanced Custom Fields: oEmbed Field] Fails when PHP short tags are offHi Sam, thanks for pointing that out, bit of a lazy move on my part. The dependancy will be removed in the next version.
Thanks very much for your help, I’ve changed the given lines and that seems to work perfectly.
Forum: Plugins
In reply to: [Advanced Custom Fields: oEmbed Field] Fatal Error caused by require_once()Oops, sorry I didn’t spot this sooner!
Thanks very much for reporting this Corbin, I’ve incorporated your change and pushed a new version.
Hi, this link originally caused the issue.
https://www.madeleinelindley.com/ecommerce/partnerships/cornerstones-education/
Thanks!
Forum: Plugins
In reply to: [Advanced Custom Fields: oEmbed Field] wp_embed_register_handlerA temporary fix you’d be able to implement yourself is to swap out the wp_oembed_get() calls for:
global $wp_embed; $embed = $wp_embed->shortcode($args, $url);
The two places to look for are line 13 on oembed-ajax.php and line 230 of oembed-v4.php. I’m not going to add it to the plugin yet because it would mean losing the ‘object’ return type.
Forum: Plugins
In reply to: [Advanced Custom Fields: oEmbed Field] wp_embed_register_handlerHi there, I’ve looked into this a little more and it seems that wp_oembed_get(), which the plugin uses to get the embed code from the URL, only supports fully oembed compliant providers added using wp_oembed_add_provider(), rather than faking oembed via wp_embed_register_handler() as you’ve used. This doesn’t seem quite right to me however, I’d expect wp_oembed_get() to support either kind of provider, so I’ll keep looking into it.
Forum: Plugins
In reply to: [Advanced Custom Fields: oEmbed Field] wp_embed_register_handlerHi there, please could you give some more details including your usage of the wp_embed_register_handler and the URL you’re trying to embed? I’ve just tested it with Spotify embeds using this code to register the handler https://gist.github.com/Viper007Bond/2417309 and it worked fine.
Kind regards
Forum: Themes and Templates
In reply to: Get_pages problem with child pagesAnyone?
Forum: Plugins
In reply to: [Plugin: Easing Slider] Center Bullet NavigationShould have specified that slider.css lives in /wp-content/plugins/easing-slider/css
Forum: Plugins
In reply to: [Plugin: Easing Slider] Center Bullet NavigationChange ‘position:absolute;’ to ‘margin: 0 auto;’ on .lof-navigator-wapper in slider.css (line 18)