[Resolved] Code being inserted when I import niche theme library

Home Forums Support [Resolved] Code being inserted when I import niche theme library

Home Forums Support Code being inserted when I import niche theme library

  • This topic has 5 replies, 3 voices, and was last updated 4 years ago by David.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1243402
    Mathieu

    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,

    #1243619
    Tom
    Lead Developer
    Lead Developer

    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 🙂

    #1246594
    Mathieu

    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,

    #1246965
    David
    Staff
    Customer Support

    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

    #1247102
    Mathieu

    You’re great David, thank you!

    #1247208
    David
    Staff
    Customer Support

    You’re welcome

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.