• Hi

    I am trying to create a slider for Amazon products on my search travel guide, but when I try to use the shortcode on my listing pages, it gives this error: https://snipboard.io/DjOSLi.jpg

    Please advise. Do you have a script I can load in the header before hand?

    Thanks

    Mark

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Never seen this before. How are you inserting this shortcode?

    Test inserting the shortcode on a standard page (without the accordion) – maybe there is an issue with your accordion recognising shortcodes.

    Thread Starter markchanda

    (@markchanda)

    Hi,

    Just the regular shortcode i.e. [slide-anything id=’11805′]

    Also just pasted into regular wordpress editor.

    Thanks

    Plugin Author simonpedge

    (@simonpedge)

    And did it work?
    (in the regular WP editor?)

    Thread Starter markchanda

    (@markchanda)

    Not on the listing page I created.

    I think i sent you the link.

    https://zamsitedemo.club/establishment/busanga-plains-camp/

    It’s supposed to show in the section Wildlife Gear

    Thanks

    Plugin Author simonpedge

    (@simonpedge)

    Ok, you are not understanding me.

    As a test, create a new blank page. Use the standard WP Editor (not the page-builder) and just paste the shortcode into the editor box. Let see what happens with this?

    Am just trying to ascertain whether your page-builder (what page-builder are you using?) is having an issue with regards to executing a shortcode within an accordion.

    Thread Starter markchanda

    (@markchanda)

    Simon,

    The shortcode works on a regular page, but not on the listing page. I am using a listing directory called Listar.

    https://themeforest.net/item/listar-wordpress-directory-theme/23923427

    Thanks

    Plugin Author simonpedge

    (@simonpedge)

    Ok, is there another shortcode (e.g. from another plugin) that you can test inside the Listar page-builder/plugin. Am trying to see if there is an issue with Listar using shortcodes?

    Thread Starter markchanda

    (@markchanda)

    Simon,

    Yes there is. I tried to install the Elfapps Tripadvisor shortcode i.e.

    <script src=”https://apps.elfsight.com/p/platform.js&#8221; defer></script>
    <div class=”elfsight-app-0b8cd4c6-2905-4d21-8da3-d70d73671fa9″></div>

    So we solved this issue by using a script plugin called Insert Headers and Footers and inserting <script src=”https://apps.elfsight.com/p/platform.js&#8221; defer></script> in the header section – and <div class=”elfsight-app-0b8cd4c6-2905-4d21-8da3-d70d73671fa9″></div> in the listing page.

    Thanks

    Plugin Author simonpedge

    (@simonpedge)

    This type of workaround solution will probably not work with Slide Anything, because the JavaScript is not a static file, but is generated dynamically for each slider.

    Have you asked Listar why their plugin has issues with shortcode content and can they provide a solution?

    Thread Starter markchanda

    (@markchanda)

    Ok thanks Simon.

    I will ask them.

    Cheers

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Error when using shortcode’ is closed to new replies.