Skip to content

u/edrucks

In this archive from Sep 2019 to Sep 2019

1
posts
19
comments
0
media
50
score
1 saved before deletion

Yes, that can work.

A side note: themes often put more stuff before the wp_head hook, in the header.php template.

For those cases, you can maybe add ob_start at the last priority in the get_header hook and then filter the ob_get_contents and echo it back at the last priority in wp_head.

For a full list of the hooks: http://rachievee.com/the-wordpress-hooks-firing-sequence/

EDIT: you can also modify the header.php template directly with a child theme.

2 points

Perhaps a hero section above the fold that will only include your animated logo could work? Then after a set amount of time AND if the user hasn't scrolled yet, you could animate an automatic scroll down to the next section on the page.

You'll be sacrificing your above-the-fold opportunity, so maybe it's not the best UX.

But at least, with this method, you give your users the choice to see your animated logo OR skip and scroll down to see the rest of your page (without any page load conditions or reloads).

1 points

Yeah... preloading with a MP4 video is not really recommended. Also, with sound, most browsers won't autoplay it.

If you have a video, mute it and put it in a background behind your hero section on your homepage.

2 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.