Support » Fixing WordPress » Embedded video

  • JenithAstasPjk

    (@jenithastaspjk)


    My theme is Twenty Ten: Is it possible to embed a video (e.g. you tube) in the page head Picture?
    If not, what theme can I use?

    • This topic was modified 1 month ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 4 replies - 1 through 4 (of 4 total)
  • ashwin.parthasarathi

    (@ashwinparthasarathi)

    Hi @jenithastaspjk,
    This isn’t a feature available and will need customization. You would need to create a child theme and override the header template to display a video in place of the image present now.
    For ease of use, you could make a setting in the Theme Customizer for adding the video URL or embed code and take that value to show in the header template.

    Here are some reference links for you to achieve the same,
    Adding a new setting in Theme Customizer
    Child themes

    JenithAstasPjk

    (@jenithastaspjk)

    Do U know of any tutorial how to program (and understand) code like
    “function mytheme_customize_register( $wp_customize ) {
    //All our sections, settings, and controls will be added here
    }
    add_action( ‘customize_register’, ‘mytheme_customize_register’ );”?

    Joy

    (@joyously)

    If you want to learn how to do a video in the header, look at Twenty Seventeen.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Plugin Review Team Rep

    There’s actually a generic tutorial at https://make.wordpress.org/core/2016/11/26/video-headers-in-4-7/ – that may be what you’re looking for.

    Your question about filters is a very broad and generic question that is far more detailed than you may think. You’re basically asking “How do I code?” :/

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.