Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @phoebe46

    We understand you want to modify the default meta robots tag output for the ‘max-video-preview’ and change the value from ‘1’ to ‘0’. Yes, you can use that filter in order to modify the output.

    Yoast SEO includes filters that allow you or your developer to customize many of our plugin features. These filters are documented inside the plugin code. We also have a developer portal where you can find more information about filters and even check out some examples of how to use them.

    Typically, code snippets are added to your theme’s functions.php file. If you’re not familiar with using code snippets, we’d like to refer you to the WordPress documentation on how to use a filter.

    Unfortunately, we aren’t able to provide you with the specific code here, as we don’t want to run the risk of suggesting code that might break your website, as well as it being outside our scope of support.

    We recommend that you contact your web developer for further assistance in implementing these filters. We’ll also be leaving this forum thread open for a while, in case any other users would like to provide suggestions or assistance as well.

    • This reply was modified 3 years, 5 months ago by Michael Ti?a.
    Thread Starter phoebe46

    (@phoebe46)

    Thanks for the reply, but it didn’t help much. I have no developer to write the code. I can paste the code, that’s not what I asked for help with.

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    You might want to refer to our metadata API as it has an example on how to manipulate and modify the meta robots tag output – https://developer.yoast.com/customization/apis/metadata-api/#manipulate-the-meta-robots-tag-output

    Sorry that we couldn’t be of more help here. We’ll be keeping this thread open for a while, just in case there are other users who may be able to provide more advice and suggestions on a solution.

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    Setting this to resolved to keep the forum overview.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How change “max-video-preview:-1” to 0?’ is closed to new replies.