• Resolved marco3253

    (@marco3253)


    I’m loading the shortcode via php with do_shortcode and then passing the result via mustache to a custom html page.
    When I print the mustache variabile I see the <pre> html code of all the result but it’s not rendered.

    Is there a way to load this shortcode via php or maybe I do need to load some JS and CSS also?

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Laca

    (@lacadev)

    Hi @marco3253

    To ensure the shortcode renders properly, you need to include our JS script on the page where you embed the result using do_shortcode.

    Please add the following script to your page:

    <script src="https://cdn.trustindex.io/loader.js"></script>

    Let us know if you need further assistance!

    Kind regards,
    Laca from Trustindex

    Thread Starter marco3253

    (@marco3253)

    Ok now it’s working, but this loader.js is not included in the plugin?
    I’m afraid for the future maybe that website can go down or remove the js

    Plugin Support Laca

    (@lacadev)

    Hi @marco3253

    Thank you for your concern.

    Please rest assured that the loader.js file is served via Amazon’s Content Delivery Network (CDN).
    This ensures high availability and reliability.
    We guarantee that the file will remain accessible indefinitely, so you don’t need to worry about any future disruptions.

    If you have further questions or concerns, feel free to reach out!

    Best regards,
    Laca form Trustindex

    Thread Starter marco3253

    (@marco3253)

    Thank you for your feedback, let’s hope!

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