• Resolved cigydd

    (@cigydd)


    Hello everybody,

    Either I am doing something wrong or I caught an error in Zotpress.

    Tried to write a page with three in-text references, which are as follows:
    [zotpressInText item="8MAC6IXH"], [zotpressInText item="W8CSDGDA"], and [zotpressInText item="QQTGHUT5"].

    I do have a [zotpressInTextBib] shortcode in a standalone shortcode block at the end of the page/post.

    They all show up as spinning wheels and, in addition, the text after the first reference on the page gets all enclosed in the <code></code> tags (yes, each and every paragraph, including the sidebar and the footer).

    The content is just a test; trying to set up Zotpress and see if it’s worth using. ??

    And I caugth this exception in the JS debugger:

    Uncaught TypeError: cannot use 'in' operator to search for "length" in "0"
        jQuery 2
        l https://snih.borova18.cz/wp-content/plugins/zotpress/js/zotpress.shortcode.intext.min.js?ver=5.8.1:1
        success https://snih.borova18.cz/wp-content/plugins/zotpress/js/zotpress.shortcode.intext.min.js?ver=5.8.1:1
        jQuery 7
        p https://snih.borova18.cz/wp-content/plugins/zotpress/js/zotpress.shortcode.intext.min.js?ver=5.8.1:1
        <anonymous> https://snih.borova18.cz/wp-content/plugins/zotpress/js/zotpress.shortcode.intext.min.js?ver=5.8.1:1
        jQuery 2
        <anonymous> https://snih.borova18.cz/wp-content/plugins/zotpress/js/zotpress.shortcode.intext.min.js?ver=5.8.1:1
        jQuery 13
    jquery.min.js:2:1092
        jQuery 2
        l https://snih.borova18.cz/wp-content/plugins/zotpress/js/zotpress.shortcode.intext.min.js?ver=5.8.1:1
        success https://snih.borova18.cz/wp-content/plugins/zotpress/js/zotpress.shortcode.intext.min.js?ver=5.8.1:1
        jQuery 7
        p https://snih.borova18.cz/wp-content/plugins/zotpress/js/zotpress.shortcode.intext.min.js?ver=5.8.1:1
        <anonymous> https://snih.borova18.cz/wp-content/plugins/zotpress/js/zotpress.shortcode.intext.min.js?ver=5.8.1:1
        jQuery 2
        <anonymous> https://snih.borova18.cz/wp-content/plugins/zotpress/js/zotpress.shortcode.intext.min.js?ver=5.8.1:1
        jQuery 13

    Thank you in advance for any help.

    • This topic was modified 3 years, 5 months ago by cigydd.

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

Viewing 1 replies (of 1 total)
  • Thread Starter cigydd

    (@cigydd)

    Well, it wasn’t my fault but of WordPress. It somehow managed to change the simple quotes in the shortcodes to the rounded ones!

    Then I edited the paragraphs as raw HTML, saved the page, and voilá, Zotpress in-text references on the test page started to work.

    Well, I had some work with debugging a Zotpress JS script (zotpress.shortcode.intext.min.js) but it brought the desired fruit. ??

Viewing 1 replies (of 1 total)
  • The topic ‘Spinning wheels in inText citations and a JS error’ is closed to new replies.