...

50 Quick WordPress Tips & Tricks Every Beginner Should Know

When you’re building or maintaining websites, having a collection of quick, reliable fixes can save hours of frustration. In this guide, I’m sharing some of...

wordpress tips

When you’re building or maintaining websites, having a collection of quick, reliable fixes can save hours of frustration. In this guide, I’m sharing some of the most useful WordPress tips and tricks that developers frequently use behind the scenes. These are simple, practical, and perfect for beginners or anyone managing multiple sites.

Let’s jump right in.

1. Prevent Chrome From Closing Accidentally

Ever lose work because closed Chrome unexpectedly?

Paste this snippet into the browser console and hit Enter:

window.onbeforeunload = function() {
return "Would you really like to close your browser?";
};

Now Chrome will ask before closing the tab or window — extremely useful when editing posts or writing long content.

2. Copy Only Images From One WordPress Site to Another

Sometimes you don’t need a full migration — just media files.

Two easy methods:

Method A: WordPress Importer

  1. Go to Tools → Export → Media (select date range if needed).
  2. Download the export file.
  3. On the new site, use Tools → Import → WordPress.
  4. Upload the file → Check Download file attachments → Done.

Method B: Subdomain + Clone Method

  1. Create a subdomain on both websites.
  2. Clone the site to these subdomains.
  3. Use Google Drive migration between them.
  4. Move the images from subdomain to main site via File Manager.

Both methods safely move images without breaking the main site structure.

3. Make FTP/File Manager Uploaded Images Visible in media library

If you upload files directly to wp-content/uploads, they won’t appear in the Media Library automatically.

Solution: install Media Sync plugin.
It scans your uploads folder and imports missing files into the library — no manual hassle.

4. Fix Chrome “Not Secure” Missing the Proceed Button

If Chrome blocks an SSL-error page and won’t show the Proceed Anyway button:

Just type:

thisisunsafe

No input box needed — simply type it anywhere on the screen and Chrome will unlock the page.

5. Convert Any Webpage to PDF

Need a quick client-friendly PDF?

Open the page → press Ctrl + P → choose Save as PDF.

Or, as button using JavaScript:

<button id="printPageBtn" type="button" onclick="window.print()" aria-label="Print this page as PDF">
  Print this page (Save as PDF)
</button>

Great for saving post, forms, drafts, or temporary snapshots.

6. Force HTTPS Using .htaccess

If your site still loads some pages in HTTP, force HTTPS globally by adding this to .htaccess:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Ensure your SSL is installed first, or you’ll get redirect loops.

7. Enable Elementor Safe Mode

Broken editor? White screen? Conflicts?

Just add this at the end of URL you’re trying to edit:

&elementor-mode=safe

URL will be like this:

https://example.com/wp-admin/post.php?post=1&action=elementor&elementor-mode=safe

Elementor loads without external plugins or theme interference, letting you troubleshoot quickly.

8. Fix Elementor Missing Navigation Scrollbar While Editing

Sometimes Elementor’s navigator panel doesn’t scroll.
Odd but proven fix:

Fix A — Zoom In → Zoom Out (MOST RELIABLE)

This is the one that works 90% of the time:

  1. Press Ctrl + “+” (zoom in)
  2. Press Ctrl + “–” (zoom out)

Or use browser zoom menu.

This redraws the entire editor frame → scrollbar reappears.

Fix B — Increase Editor Font Size → Decrease (Also Works)

This also forces a re-render but is slightly less reliable:

Elementor → User Preferences → UI Theme / Panel Font Size

Change the font size (e.g., Medium → Large), then set it back.

This refreshes the navigator CSS and brings the scrollbar back.

9. Keep Websites Safe & Optimized With These Micro-Fixes

These small habits add up:

  • Always keep backups before major actions.
  • Test .htaccess changes on a staging site.
  • Disable conflicting browser extensions when debugging Elementor.
  • Sync media regularly if you upload via FTP or File Manager.

10. Clear WordPress Cache Without Plugins

Add this to the end of your site URL:

/?nocache=1

This forces the browser to bypass cached versions instantly.

11. Disable All Plugins Without Dashboard Access

If you have a plugin conflict, rename the plugin folder:

/wp-content/plugins/plugins-disabled

All plugins deactivate instantly. Rename back to restore.

Re-enable plugins one by one (safe)

Create a new folder named plugins and move plugins back one by one to find the broken one.

12. Fix WordPress White Screen Quickly

Add this line to wp-config.php to see errors:

define('WP_DEBUG', true);

Reload the page to identify the issue.

13. Quick Database Repair URL

Go to:

/wp-admin/maint/repair.php

Enable repair mode by adding in wp-config.php:

define('WP_ALLOW_REPAIR', true);

14. Fast Regenerate Permalinks

Visit Settings → Permalinks and hit Save (don’t change anything).

Fixes some 404s instantly.

15. Enable SVG Uploads Safely

Add to functions.php:

function allow_svg_uploads($mimes) {
$mimes['svg'] = 'image/svg+xml';
return $mimes;
}
add_filter('upload_mimes', 'allow_svg_uploads');

16. Duplicate Any WordPress Post Instantly

Shortcut: Install Duplicate Post → adds “Clone” under posts & pages.

17. Hot Reload CSS Without Cache

Press Ctrl + F5

Or add this after your stylesheet:

style.css?ver=random123

18. Force Plugin Update Check

Go to Dashboard → Updates → press Shift + Refresh

Then click Check Again to force WordPress to fetch updates.

19. Install Any Plugin Manually via URL

Upload plugin zip → go to:

/wp-admin/plugin-install.php?tab=upload

Faster than navigating through menus.

20. Change Admin Email Without Confirmation

In wp-config.php add:

define('WP_ADMIN_EMAIL_CHANGE_CONFIRMATION', false);

21. Unlock Hidden WordPress Cron Events

Visit:

/wp-cron.php?doing_wp_cron

Triggers all pending cron jobs manually.

22. Block Unwanted Countries via .htaccess

Deny from 203.0.113.0/24

Useful for stopping bots from specific IP ranges.

23. Remove ?ver Query Strings for Speed

Add to functions.php:

function remove_css_js_version($src) {
return remove_query_arg('ver', $src);
}
add_filter('style_loader_src', 'remove_css_js_version', 10);
add_filter('script_loader_src', 'remove_css_js_version', 10);

24. Create Quick WP Backup via Zip

Zip the folders:

/wp-content/themes/
/wp-content/plugins/
/wp-content/uploads/

And export DB via phpMyAdmin → done.

25. Instantly Disable Theme Without WP Admin

Rename active theme folder (e.g., astraastra-off)
WordPress switches to default theme automatically.

26. Fix “Stuck in Maintenance Mode”

Delete the file .maintenance from the root folder.

27. See Page Without Caching Plugins

Add to URL:
/?wp_cache=false
Great for testing layout changes instantly.

28. View Mobile Mode Quickly in Chrome

Press Ctrl + Shift + M inside DevTools.
Switches to responsive/mobile view.

29. Find Slow Plugins Fast

Install Query Monitor → Open admin bar → See slow scripts and DB queries.

30. Disable Gutenberg Completely

Add to functions.php:

add_filter('use_block_editor_for_post', '__return_false');

31. Enable Classic Widgets Again

Add to functions.php:

add_filter('use_widgets_block_editor', '__return_false');

32. Fix 500 Error After Editing .htaccess

Rename .htaccess to .htaccess-old.
Then go to Permalinks → Save → regenerate clean file.

33. Block XML-RPC (Common Attack Target)

Add to .htaccess:

<Files xmlrpc.php>
Order deny,allow
Deny from all
<Files>

34. Create a Quick Temporary Login Link

Install Temporary Login Without Password plugin → Generate login URL → Share with clients/devs.

35. Disable WordPress Heartbeat (Reduce CPU)

Add to functions.php:

add_action('init', function(){
wp_deregister_script('heartbeat');
});

36. Quick Way to Find a Theme’s Template File

Add this to functions:

add_action('wp_footer', function() { global $template; echo $template; });

Shows template path on frontend (visible only to logged-in admins).

37. Restart PHP Server Without Hosting Panel

Create a file called phpinfo.php with:
<?php phpinfo(); ?>
Open it → server resets PHP processes on many shared hosts.

38. Remove Admin Bar for Non-Admins

Add to functions.php:

if (!current_user_can('administrator')) {
show_admin_bar(false);
}

39. Download Entire Media Library Fast

Use plugin Export Media Library → export as a ZIP → efficient for migration.

40. Fix wp-login.php Redirect Loop

Clear cookies or add this to wp-config:

define('COOKIE_DOMAIN', '');

41. See Website With Disabled CSS

In Chrome DevTools → Command Menu → type “Disable CSS”.

Perfect for structure debugging.

42. Quickly Reset WordPress

Use WP Reset plugin → creates clean install in seconds.

43. Find Any Code/File in WordPress Faster

Install String Locator plugin → search code inside theme/plugin files instantly.

44. Quick Way to Test Email Sending

Install Check & Log Email → Send test email → See logs inside dashboard.

45. Update Theme Without Losing Custom Code

Use a child theme:

Appearance → Theme File Editor → New File → style.css with child theme header.

46. Remove Emoji Scripts for Speed

Add this to functions.php:

remove_action('wp_head', 'print_emoji_detection_script', 7);
remove_action('wp_print_styles', 'print_emoji_styles');

47. Stop Yoast from Adding Huge HTML Comments

Add to functions.php:

add_filter('wpseo_debug_markers', '__return_false');

48. Disable Admin Email Verification

Add this line to functions.php:

add_filter('admin_email_check_interval', '__return_false');

49. Show Hidden Password in Login Page

Right-click password field → Inspect → Change type="password" to type="text"

Useful for debugging login issues.

50. Instantly Open External Links Without Right-Click

Hold Ctrl (Windows) or Cmd (Mac) while clicking any link — opens in new tab every time.

Final Thoughts

These WordPress tips and tricks aren’t just random hacks — they’re practical shortcuts that web developers rely on daily. Whether you’re dealing with Chrome issues, Elementor bugs, media management, or HTTPS problems, having these solutions on hand will make your workflow faster and smoother.

Share:

More Posts

AutoPress Newsletter

Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.