Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#52964 new enhancement

Video On Login Page

Reported by: wparslan's profile wparslan Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Login and Registration Keywords: reporter-feedback
Focuses: javascript, css, template Cc:

Description

So I was wondering about how can I add a video as a background of the login form by editing the login form's code.
Turns out we cannot as there is no vector to do so.
Can we add a hook to do so..?

Change History (1)

#1 @SergeyBiryukov
2 years ago

  • Component changed from General to Login and Registration
  • Keywords reporter-feedback added; needs-codex needs-design removed

Hi there, welcome to WordPress Trac! Thanks for the ticket.

You can use the login_enqueue_scripts hook to enqueue any scripts or styles on the login page, or login_head to output any CSS styles directly. Would that work for your use case?

Note: See TracTickets for help on using tickets.