WordPress Tutorials
Loading CSS and JS with wp_enqueue_scripts
The hook name says scripts and it handles both. It also covers the front end only, which is why a stylesheet loaded here is missing from the block editor and from the login screen.
Tag
Making WordPress sites load faster.
WordPress Tutorials
The hook name says scripts and it handles both. It also covers the front end only, which is why a stylesheet loaded here is missing from the block editor and from the login screen.
WordPress Tutorials
The hook fires for every query on the request, including the ones building the admin menu and the media library. A callback without guards does not customise the blog — it rewrites the whole site.
Web Design
Mobile first is not about phones. It is about deciding priority while the screen is too small to avoid deciding, then adding space rather than removing content.
Plugins
Core already groups images and opens them in a lightbox. A gallery plugin earns its place through layout, albums and performance, and the last one is where most of them fail.
WordPress Tutorials
A revision is an ordinary row in the posts table with a different post type. That explains what it saves, what it silently omits, and why the database bloat panic is usually overstated.
WordPress Tutorials
WP-Cron is not a scheduler. It is a queue checked when somebody visits your site, which explains every scheduled post that never published and every backup that silently stopped running.
WordPress Tutorials
AMP was a bargain: accept a restricted subset of the web and get a speed guarantee plus preferential placement. The placement went away, the restrictions did not, and that changes the answer.
WordPress Tutorials
Four pieces sit under every WordPress site, and most hosting problems are really a question about which one is responsible. Knowing the division makes support tickets shorter and diagnoses correct.
Plugins
The newer builders were designed by people who had watched the older ones age badly. They output cleaner markup and demand more of you — and they make exactly the same bargain about who owns your pages.
Themes
Neve is one of the genuinely light multipurpose themes, and its free tier is unusually complete. The catch is that the starter sites arrive as builder content, and that is what you end up maintaining.
WordPress Tutorials
A map is the heaviest thing most contact pages load, and on many sites it is also an untracked third-party connection. Both are fixable, and the cheapest fix is often not to embed a live map at all.
WordPress Tutorials
Core search matches words in post titles and content, in date order, with no ranking worth the name. On a small blog that is fine. On anything larger it quietly sends people away.