Barebones by Benchmark
Documentation
Snippets
  1. Home
  2. Snippets
  3. Troubleshooting

Troubleshooting snippets

WordPress development snippets filed under Troubleshooting.

All MediaPerformancePluginsQueriesREST APITroubleshooting

Troubleshooting

Redirect loop when site sits behind a proxy service such as Cloudfront or Cloudflare

View snippet →
Troubleshooting

Remove 'current_page_parent' class from the Blog navigation when on archive pages

View snippet →
Troubleshooting

Add a WordPress Nonce to Log Out menu links to prevent 'Do you really want to log out?' message

View snippet →
Troubleshooting

Assign a custom template to one or more post types

View snippet →
Troubleshooting

“Sorry, you are not allowed to access this page” displaying in WP Admin

View snippet →
Troubleshooting

Visual editor not loading on a site loaded through Cloudfront or other proxy services

View snippet →

© 2026 Benchmark Studios Limited

Terms & ConditionsPrivacy Policy
Visit benchmark.co.uk →