Archived topic
Code being inserted when I import niche theme library
5 replies · Started by Mathieu on April 17, 2020
Hi guys,
I am building an ecommerce store and there's something strange that is happening when I import the "Niche" site library.
A few examples :
- https://serveurs3mauricietr.com/produit/americana-ii/ (product page)
- https://serveurs3mauricietr.com/categorie-produit/collection-s3/ (taxonomy page)
How can I fix that?
Regards,
Hi there,
It looks like one of the Elements didn't import correctly.
If you go into "Appearance > Elements" and "Draft" the Hook Elements one by one, can you pinpoint which one?
Let me know :)
Ok ok, I see where it is coming from and can disable it but where can I get the full non broken code that was supposed to go there?
So that I can replace it because it's not just a matter of replacing escaped characters with correct -> and ?> code. There's also some missing parts.
Regards,
Hi there,
The code for the two main hooks using PHP Can be found below:
Woocommerce Shop Category Menu
https://gist.github.com/diggeddy/88f12fc35ecd3f0730203e8be382eddd
Gallery Stack
https://gist.github.com/diggeddy/8aa9833f67e9c122775b5cbcb60498d4
You're great David, thank you!
You're welcome