• Resolved rose18

    (@rose18)


    Hello,

    I have installed this plugin and would like to know the block slug for this VideoPress Block. I am using this wordpress hook ‘allowed_block_types_all’ to allow certain blocks on my site. I know the built-in core blocks are using this ‘core/name_of_block’, so what is the block slug name for this VideoPress Block?

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor retrofox

    (@retrofox)

    Hi, there.

    The slug name is videopress/video

    I hope it helps you!

    Thread Starter rose18

    (@rose18)

    Great! Thanks @retrofox

    Plugin Contributor Luiz Kowalski

    (@lhkowalski)

    Hello!

    It’s good to hear that you are using VideoPress ??

    The block slug is videopress/video.

    You can check the slug for any block by inserting it on the block editor, then switching the editor to the “Code editor” and then looking at the beggining of the code that will show up:

    • Insert the block and open the Options menu
    • Change the editor mode to “Code editor”:
    • Check the code for the slug:
    • Don’t forget to change the editor back to the Visual mode:

    Hope this helps you in the future!

    Thread Starter rose18

    (@rose18)

    Great! Thank you @lhkowalski ! This is very helpful

    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hey there, @rose18,

    Glad to hear that our @lhkowalski helped you out ?? Can you confirm whether your issue is solved or not! Happy to help if you have any more questions!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘VideoPress Block slug name’ is closed to new replies.