[Resolved] Niche display issues

Home Forums Support [Resolved] Niche display issues

Home Forums Support Niche display issues

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1520893
    Shelby

    When viewing a product I am presented with PHP code rather than what should properly display https://shelby.d.pr/2K7uCk any ideas?

    Thanks!

    #1521043
    Shelby

    Also wanted to add it seems to work fine on mobile but not on full screen.

    #1521189
    Leo
    Staff
    Customer Support

    Hi there,

    That’s super strange.

    Any chance you can disable all plugins except WooCommerce and link us to the page in question?

    Thanks 🙂

    #1521193
    Shelby

    Hey Leo!

    Have actually already done that and still get the same error. It’s really strange that it works in mobile but not desktop.

    Thanks,

    Shelby

    #1521195
    Leo
    Staff
    Customer Support

    Yeah that makes no sense at all.

    Can you link me to the page in question with everything disabled except WooCommerce?

    And make sure you are using the parent theme as well.

    #1523727
    Shelby

    Sending a Private Message

    #1523764
    David
    Staff
    Customer Support

    Hi there,

    The Niche site uses a couple of Hook Elements that adds PHP to your site.
    They can be found in Appearance > Elements.

    The fact the PHP is showing is because PHP in the editor is DISALLOWed.

    You can override this just for the Hook elements – this document explains:

    https://docs.generatepress.com/article/generate_hooks_execute_php/

    #1523780
    Shelby

    Thanks David that resolved it!

    #1523795
    David
    Staff
    Customer Support

    Glad to hear that!

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