WordPress Tutorials
How to Remove the WordPress Admin Bar
Hide the toolbar for yourself in one checkbox, for everyone below a certain role in three lines of code, and remove the space it reserves so the layout does not shift.
Topic
Step-by-step guides for getting things done in WordPress.
WordPress Tutorials
Hide the toolbar for yourself in one checkbox, for everyone below a certain role in three lines of code, and remove the space it reserves so the layout does not shift.
WordPress Tutorials
Turning off comments for new posts does nothing to existing ones. Close them site-wide, close them in bulk on published content, and hide what remains — three separate steps.
WordPress Tutorials
One file holds the database credentials, the salts and every constant that changes how WordPress behaves. Know where it lives, what belongs in it, and how to keep it unreadable.
WordPress Tutorials
Roles are named bundles of capabilities, stored per user in the database. Understand the six defaults, then add or restrict capabilities without handing out administrator access.
WordPress Tutorials
Locked out with only database access? Insert a row into wp_users, then two rows into wp_usermeta that grant the administrator role. Both halves are required.
WordPress Tutorials
Five ways in, ordered by how little access they need: the reset email, WP-CLI, phpMyAdmin, a functions.php snippet and a temporary must-use plugin.
WordPress Tutorials
Move the site, test it on the new server before DNS changes, then switch. Done in that order, a migration costs no downtime and nothing is lost.
WordPress Tutorials
A backup is only real once you have restored it. Cover files and database together, keep copies off the server, and test a restore before you need one.
WordPress Tutorials
A WordPress page passes through up to five caches. Purge them in the right order — object, page, host, CDN, browser — or you will keep seeing the old version and blame the wrong one.
WordPress Tutorials
Page caching never applies to wp-admin, so a slow dashboard is always real work: heavy plugins, wp-cron, remote API calls or a bloated options table. Profile it rather than guessing.
WordPress Tutorials
Measure before you optimise. Most WordPress sites are slow for three fixable reasons: no page cache, oversized images and too much JavaScript — in that order of impact.
WordPress Tutorials
Build navigation that works in both classic and block themes: create the menu, add pages, custom links and submenus, control what opens in a new tab, and style it without breaking updates.