iPhone Notch

Use these code snippets to add iPhone X notch support to GeneratePress.

Wallace Inline Throwing Error

When running Wallance Inline in Local by Flywheel environment, you can intermittently see this error: Uncaught Error: Maximum function nesting level of ‘256’ reached, aborting! This error is being thrown by xdebug. It won’t affect the live site. Fix it on your testing environment by increasing the max nesting level by adding this to php.ini:

DISALLOW_FILE_EDIT

Once in a while, GeneratePress Hooks will throw this error when trying to execute PHP in an element: This is usually caused by iThemes Security disallowing the file editor. Disable the setting here:Security > Settings > WordPress Tweaks > File Editor