This article will explain the settings located in each Page / Post / Product / Taxonomy such as Category.
They mostly override predefined options from Theme Settings.
Title display
This will show or hide the page title.
Page cover
In case you don’t know already, a page cover is the top banner, after the header and before the page content.
This option will either add, remove or replace an already assigned page cover (from Settings › Page Cover options). Read how to create page covers .
Header Layout
This option will either add, remove or replace an already assigned header (from Settings › Header › General). Read how to create headers .
Header Text
Customize the header’s text color in this particular page only. Please note that this may not work for non-Rey elements so as an alternative, create a new Header and use the above Header layout option to change it.
Header position
Change the position of the Header in this particular page only. To change the position on the entire site go to Settings › Header › General.
Footer layout
This option will either add, remove or replace an already assigned footer (from Settings › Footer › General). Read on how to create footers .
Global sections
With this option, you can assign a global section into a specific area of the page. I recommend using this option for non-page builder pages, such as Categories, Products, etc. Read more about global sections or how to create generic sections .
Redirect
Simply make this page a redirect. Enable this and you should be able to add a custom link that will make this page a 302 redirect to it. To change the status code, please make use of any of these code snippets below .
// Set 301 Redirect for any redirection link
add_filter('reycore/general_redirect/status', function(){
return 301;
});
// Set 301 Redirect for *specific* links
add_filter('reycore/general_redirect/status', function( $status, $location ){
$links = [
'https://site.com/path-to-page',
'https://site.com/path-to-another-page',
];
if( in_array($location, $links) ){
return 301;
}
return $status;
}, 10, 2);
