Support » Plugin: Easy Footnotes » Shortcodes within shortcodes?

  • Resolved SteelWagstaff

    (@steelwagstaff)


    Hi Jason–I’ve installed your plugin and like its ease and simplicity. Thanks! What I’m looking to do with many of my footnotes, however, is to include bibliographic references, and I use Zotpress (a plugin which integrates with Zotero, a open-source bibliographic reference tool) to do this on my site. The problem with using Zotpress with your plugin is that Zotpress also creates a shortcode, and when I put one of those shortcodes inside your [note] shortcode, the two plugins don’t know what to do with each other. It looks like there is a defined method for calling shortcodes within shortcodes: https://codex.wordpress.org/Shortcode_API#Nested_Shortcodes, but it doesn’t appear to be working here, perhaps because your plugin and Zotpress’ plugin aren’t integrated. Would you be willing to consider adding support for this to your plugin?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jason Yingling

    (@yingling017)

    Hi there,

    Bibliographic references are definitely something I’d like to build into a future release. I hadn’t heard of Zotero but it seems like a useful tool.

    I can probably get the nested shortcodes working with the do_shortcode function. I’ll need to do a bit of digging on the best practices for this to make sure it won’t cause any issues for other users.

    I’ll try to get you an update before too long.

    Plugin Author Jason Yingling

    (@yingling017)

    Easy Footnotes now runs do_shortcode on the shortcode content. You should be able to use the Zotpress shortcodes now.

    Thanks Jason! I haven’t been able to test it extensively yet on my site, but I’m looking forward to using this more in the next few weeks. Appreciate how speedy you were in replying to the request!

    Plugin Author Jason Yingling

    (@yingling017)

    No problem. Let me know how it works.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcodes within shortcodes?’ is closed to new replies.