• Resolved SuzuKube

    (@suzukube)


    Hello !

    Really nice plugin, with a lot of options, it helped me a lot because the official AMP plugin is buggy when you want to custom it.

    However, on video post type, the plugin just ignore “Featured Video/Audio Meta Key” label. I wanted to use “_video_url” instead of “_featured_embed_code” and I had to change manually the value here :

    		$meta_key = better_amp_get_theme_mod( 'better-amp-featured-va-key' );
    
    		if ( empty( $media_key ) ) {
    			$meta_key = '_video_url';
    		}

    It’s in single.php ligne 32 so I assumed that better-amp-featured-va-key is all the time empty.

    I’m just saying that to improve the plugin. Thank you so much !

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter SuzuKube

    (@suzukube)

    I had to apply the patch again ^^’ !

    Plugin Author Better Studio

    (@betterstudio)

    Hello
    Sorry for the delay in response.
    No need to code customization! That is an option in BetterAMP.

    Go to BetterAMP -> Customize AMP -> Posts and paste your key ID in the “Featured Video/Audio Meta Key” field.

    View post on imgur.com

    BetterStudio, Ali

    Thread Starter SuzuKube

    (@suzukube)

    Thank you for your answer ?? !

    The plugin just ignore the value in the field > that’s why i have to hardcode the value in the code. I think it’s a bug on the plugin ^^ !

    Thread Starter SuzuKube

    (@suzukube)

    $media_key is empty whatever what you fill in the field ^^’ !

    Thread Starter SuzuKube

    (@suzukube)

    It’s still not resolved in fact :/ !

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bug on Featured Video/Audio Meta Key (ignored)’ is closed to new replies.