Support » Plugin: Zotpress » Spinning Wheel in place of reference for shortcodes

  • SteelWagstaff

    (@steelwagstaff)



    I’ve installed Zotpress on my WP multisite and have successfully hooked it up to my Zotero account. It all works fine until I try to insert Zotero references inside of footnotes (which I create using this plugin: https://wordpress.org/plugins/footnotes/). The reference appears as it should in the rollover, but in the generated references section created at the bottom of the page to display the footnote text, instead of the expected reference, I see eternally spinning gears. An example can be seen in reference #4 here: http://theobjectivists.org/introduction/. The problem appears to be that I’m trying to insert a shortcode (from Zotero) inside of a shortcode (from footnotes), which may be causing some issues. I realize this might be a question better suited for the author(s) of footnotes, but I thought I might try here first. Does anyone have any suggestions for how to resolve?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • SteelWagstaff

    (@steelwagstaff)

    Upon further searching, it looks like the Codex does define a method for calling shortcodes within shortcodes: https://codex.wordpress.org/Shortcode_API#Nested_Shortcodes, but based on my reading, it would need to be implemented by the ‘parent’ shortcode plugin. If that’s the case, is anyone aware of a simple footnote plugin that already supports the use of Zotpress shortcodes? It looks like the plugin I’m using is less actively supported, but there’s an Easy Footnotes plugin with very similar functionality and more active support from its author, so I’ve cross-posted there: https://wordpress.org/support/topic/shortcodes-within-shortcodes-2/

    Plugin Author Katie

    (@kseaborn)

    I’m not aware of any, but definitely contact the author of the plugin you’re using, and perhaps they can help. Good luck!

    SteelWagstaff

    (@steelwagstaff)

    Thanks for the quick reply, Katie. The plugin author has replied with some positive initial remarks, and I think we might be able to work something out. I’m also thinking about ways to integrate Zotero/Zotpress with a WP-based book publishing tool called Pressbooks that we’re using heavily to publish open educational resources at the university where I work. I’ve posted on their open forum asking about Zotpress integration: https://discourse.pressbooks.org/t/using-zotpress/479/6 and their lead developer suggested that they

    would want any integration to be future-proof in terms of Gutenberg. I don’t know what Zotpress’ roadmap is but it would be worth contacting the plugin developer to inquire? I see things like this and think there could be some really cool possibilities for loading in citations from the Zotero API:
    How to Convert a Shortcode into a Gutenberg Block
    #3026 Commenting API

    Do you have a public roadmap for Zotpress and any possible Gutenberg plans? If not, would you be willing to discuss further with some of us in the Pressbooks OSS world?

    Plugin Author Katie

    (@kseaborn)

    To be honest, I’m not very familiar with Gutenberg, and my time for Zotpress is really limited, so I don’t have much bandwidth for making plans. But if there’s a simple and easy-to-integrate solution, I’m happy to consider it or accept code submissions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Spinning Wheel in place of reference for shortcodes’ is closed to new replies.