Hi there,
Niche uses a Hook Element to insert some PHP code to create the stacked gallery on the Single Product page and to insert the Category Navigation on the shop.
You will find them in Appearance > Elements.
Seeing this code on the front end tells me your site has disallowed file editing which means those codes will not run.
Choices:
1. Delete the Gallery Stack
, Close Summary Wrap
and Woocommerce Shop Category Menu
Hook Elements – but this will remove a lot of what Niche was designed for.
or
2. Add this PHP snippet to allow hooks to execute the code:
add_filter( 'generate_hooks_execute_php', '__return_true' );
https://docs.generatepress.com/article/adding-php/