Title: zotpressInText shortcode not working
Last modified: August 30, 2016

---

# zotpressInText shortcode not working

 *  Resolved [John Fallows](https://wordpress.org/support/users/john-fallows/)
 * (@john-fallows)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/)
 * I cannot get the [zotpressInText] shortcode to work in posts or pages. For example,
   I have the following shortcodes in the same post:
 * [zotpress items=”JV8UHUBN” style=”chicago-author-date”] -> WORKS
    [zotpressInText
   item=”{JV8UHUBN}”] -> FAILS. The wheel just keeps on turning! Forever!
 * I am just using shortcodes, no widget on the page.
    Have tried different themes
   and deactivating other plugins. Have run WordPress in Debug but no errors noted.
   Zotpress 6.0.3. (WordPress 4.3.1.) I am trying to run off a collection. In the
   Browse page, when I try to press Default button on the collection I get an undescribed
   error. But I am not sure if this is related. Running out of troubleshooting ideas
   at this end. Help appreciated.
 * [https://wordpress.org/plugins/zotpress/](https://wordpress.org/plugins/zotpress/)

Viewing 14 replies - 1 through 14 (of 14 total)

 *  [hantengUNU](https://wordpress.org/support/users/hantengunu/)
 * (@hantengunu)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676098)
 * I have encountered the same/similar issue that did not happen when I posted the
   content.
 * Have a look at this:
 * [http://blog.hci4d.org/hanteng/en/2015/09/try/](http://blog.hci4d.org/hanteng/en/2015/09/try/)
 * It worked before but now the wheels just keep turning without stops…..
 *  [hantengUNU](https://wordpress.org/support/users/hantengunu/)
 * (@hantengunu)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676109)
 * I saw error messages from the console of my chrome browser:
 * zotpress.shortcode.intext.js?ver=4.3.1:237 Uncaught TypeError: Cannot read property‘
   replace’ of undefined
 * 237 line goes like this:
 * var intext_citation_params = JSON.parse( jQuery(“#”+intext_citation_id, postRef).
   attr(“rel”).replace( /’/g, ‘”‘) );
 * Hope it is helpful to take the troubleshooting forwards.
 *  [hantengUNU](https://wordpress.org/support/users/hantengunu/)
 * (@hantengunu)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676110)
 * Hello, Just to report that my website has just downgraded the Zotpress plugin
   to 5.5.5 version and it is working again.
 *  Thread Starter [John Fallows](https://wordpress.org/support/users/john-fallows/)
 * (@john-fallows)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676111)
 * Thanks. I will have to find a previous version and try. I am pretty sure it was
   working properly before the “update”. Sigh.
 *  Plugin Author [Katie](https://wordpress.org/support/users/kseaborn/)
 * (@kseaborn)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676121)
 * Hi all,
 * There was a massive change to the code (moving most of the code from PHP to JavaScript)
   in order to support auto-updating:
 * [https://wordpress.org/support/topic/zotpress-60-feedback?replies=38](https://wordpress.org/support/topic/zotpress-60-feedback?replies=38)
 * I tried to test all cases I could think of, but there’s been a few surprises.
 * [@john](https://wordpress.org/support/users/john/) Fallows I will test out your
   shortcodes and hopefully figure out what’s going on.
 * [@hantengunu](https://wordpress.org/support/users/hantengunu/) Can you post some
   examples of your shortcodes?
 *  Plugin Author [Katie](https://wordpress.org/support/users/kseaborn/)
 * (@kseaborn)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676136)
 * Question for all — are you including the required [zotpressInTextBib]? If it’s
   not there, it fails. If it’s there, it works for me.
 *  [rudfan](https://wordpress.org/support/users/rudfan/)
 * (@rudfan)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676139)
 * [zotpressInTextBib] is there, still,
 * “uncaught type error: cannot read property ‘replace’ of undefined” in line 237(
   var intext_citation_params)
 * Downgrade to 5.5.5 solves the issue.
 *  Plugin Author [Katie](https://wordpress.org/support/users/kseaborn/)
 * (@kseaborn)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676140)
 * [@rudfan](https://wordpress.org/support/users/rudfan/) Can you contact me with
   your API id and key plus the shortcode (or even full text of the page/post) that
   you’re using? [http://katieseaborn.com/contact](http://katieseaborn.com/contact)
 *  Thread Starter [John Fallows](https://wordpress.org/support/users/john-fallows/)
 * (@john-fallows)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676141)
 * Hi Katie. First, let me thank you for a wonderful plug-in. Zotero is a very useful
   tool and using it with WordPress is a real bonus.
 * Now, I see what you mean. No, I had not been including [zotpressInTextBib] on
   any particular post. I have a separate bibliography page on the web site. What
   I would like to be able to do is citations on each post (where needed) that references
   to a master bibliography for the whole site. Is that possible?
    The web site 
   in question is [http://complexity.fallows.ca](http://complexity.fallows.ca)
 *  Plugin Author [Katie](https://wordpress.org/support/users/kseaborn/)
 * (@kseaborn)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676142)
 * [@john](https://wordpress.org/support/users/john/) Fallows Since the requests
   are tied to the bib, you’d have to:
 * 1) Include the [zotpressInTextBib] on every post/page that has in-text citations
   
   2) Hide the output for this bib with CSS if you don’t want it to be displayed
   3) Manually manage a separate [zotpress] bib on the master page. Maybe tag items
   or duplicate items in a new collection on the Zotero side so you don’t have to
   manually change the shortcode every time.
 *  [tzucker](https://wordpress.org/support/users/tzucker/)
 * (@tzucker)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676247)
 * Hi Katie,
 * Thanks for the great plugin. Zotpress solved my problem with dynamic pages of
   citations. My problem is I had to convert all the pages I created using the [
   zotpress collection_id=”xxxxxxxxx”] shortcode to posts and they stopped working.
   Even new posts I create with the shortcode no longer work. Maybe it has something
   to do with the other plugins I use?
 * Any help would be appreciated.
 * Links to non-working posts are on this page:
    [http://thomaszuckerscharff.com/ransomware-citation-library-from-zotero/alphabetical-list-of-malware-variants/](http://thomaszuckerscharff.com/ransomware-citation-library-from-zotero/alphabetical-list-of-malware-variants/)
 * On the other hand this is a page that works perfectly:
    [http://thomaszuckerscharff.com/ransomware-citation-library-from-zotero/](http://thomaszuckerscharff.com/ransomware-citation-library-from-zotero/)
 *  Plugin Author [Katie](https://wordpress.org/support/users/kseaborn/)
 * (@kseaborn)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676248)
 * [@tzucker](https://wordpress.org/support/users/tzucker/) Can you post an example
   single page? I clicked through a couple links but couldn’t find anything. What
   I’m seeing in Firebug is that a lot of your plugins are throwing errors (pdf-
   print, social-media-icon), so it sounds like it’s a larger issue. You can try
   deactivating your plugins until it works again.
 *  [tzucker](https://wordpress.org/support/users/tzucker/)
 * (@tzucker)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676249)
 * This is a post that is not working and was working as a page
 * [http://thomaszuckerscharff.com/tag/cryptowall-1-4/](http://thomaszuckerscharff.com/tag/cryptowall-1-4/)
 * This is a test page that is working which I created just now
 * [http://thomaszuckerscharff.com/test/](http://thomaszuckerscharff.com/test/)
 * The plugins you mention have been installed ever since I started using ZotPress.
   The only ones that are new are:
    - Multi-Column Tag Map
    - Page-List (which I just deactivated)
    - WP Hide Post (which works on both post and pages and seems to work fine with
      ZotPress shortcodes)
 * There are one or two others which are not active, but are installed.
 * I have yet to find a good replacement for the pdf print plugin. And I like the
   floating social media Icons plugin. My son, who is my wordpress guru and one 
   of the writers of PressForward, says there are a couple of problems on my WP 
   site. Some I have fixed others are still problems.
 *  Plugin Author [Katie](https://wordpress.org/support/users/kseaborn/)
 * (@kseaborn)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676250)
 * Did you check out the Options page as recommended on the other thread? I think
   this may be the issue as I’m not seeing the normal Zotpress files being loaded.

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘zotpressInText shortcode not working’ is closed to new replies.

 * ![](https://ps.w.org/zotpress/assets/icon-256x256.png?rev=1995512)
 * [Zotpress](https://wordpress.org/plugins/zotpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zotpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zotpress/)
 * [Active Topics](https://wordpress.org/support/plugin/zotpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zotpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zotpress/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 14 replies
 * 5 participants
 * Last reply from: [Katie](https://wordpress.org/support/users/kseaborn/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/zotpressintext-shortcode-not-working/#post-6676250)
 * Status: resolved