Separating Space

Separating Space

Note: This option requires the Spacing add-ons in GP Premium.
The Separating Space option found in Appearance > Customize > Layout > Container allows you to choose the amount of space between your elements when your content layout is set to Separate Containers.
This option is also useful even if you』re not using separate containers, as it controls the amount of space between your blog posts when they』re using masonry or columns.

generate_menu_arrow_theme_locations

generate_menu_arrow_theme_locations

The generate_menu_arrow_theme_locations filter allows you to choose which menu theme locations our dropdown arrows are added to.
Default (array): array( 'primary', 'secondary', 'slideout' );
Usage
Please refer to the Using Filters article to learn how to use this filter.

generate_before_left_sidebar_content

generate_before_left_sidebar_content

Note: This hook is included in the GP Hooks add-on inside GP Premium.
The generate_before_left_sidebar_content hook appears inside the .inside-left-sidebar element.
Usage
Please refer to the Using Hooks article to learn how to use this hook.

generate_inside_container

generate_inside_container

Note: This hook is included in the GP Hooks add-on inside GP Premium.
The generate_inside_container hook appears inside the .site-content element.
Usage
Please refer to the Using Hooks article to learn how to use this hook.

Debugging Tips

Debugging Tips

Sometimes you may run into problems using GeneratePress and other plugins, and you』ll need to debug to know exactly what』s going on so we can fix it.
1. Deactivate all of your non-GP plugins – does the issue still exist? If not, activate each plugin one by one until the issue happens again. This way, you can pinpoint the problem plugin.
2. Turn on WP DEBUG – do any errors display in your Dashboard or on your live site?
3. If you』re getting a white screen while Customizing or somewhere else, try increasing your memory limit.
4. Activate the core WordPress theme (TwentySeventeen) – does the issue still exist? If so, we know it』s not a GeneratePress specific issue.
5. Check your error_log (or ask your hosting to) – are there any big errors in there?

generate_navigation_location

generate_navigation_location

The generate_navigation_location filter allows you to choose where your primary navigation is located.
Default (string): Your option set in Customize > Layout > Primary Navigation
Available options
nav-below-header
nav-above-header
nav-float-right
nav-float-left
nav-left-sidebar
nav-right-sidebar

If you want to remove the navigation from a page, simply return empty single quotes:
return '';
Usage
Please refer to the Using Filters article to learn how to use this filter.

generate_after_right_sidebar_content

generate_after_right_sidebar_content

Note: This hook is included in the GP Hooks add-on inside GP Premium.
The generate_after_right_sidebar_content hook appears before the closing .inside-right-sidebar element.
Usage
Please refer to the Using Hooks article to learn how to use this hook.