• Resolved ljburton

    (@ljburton)


    Hi Zotpress –

    I’m using the following shortcode to display my entire Zotero library:
    [zotpressLib userid=”4352520″ type=”dropdown”]

    While it’s pulling the content as expected, it breaks my theme and appears between the site’s header and the page header.

    The good folks over at Beaver Builder advise this happens when the shortcode isn’t being returned – the result is rendered content goes out of its container.

    https://codex.ww.wp.xz.cn/Shortcode_API#Output

    I’m not having this issue with the other Zotpress shortcodes – only the full library.

    We’re super excited about this plugin and hope you can help. I can provide Stage and SFTP access if needed.

    Thanks in advance 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ljburton

    (@ljburton)

    Fully admitting I’m not a developer, but I did have a look at the shotcode php files and it looks like Beaver Builder’s suggestion may be correct … only shortcode.class.lib.php uses echo … all others use return.

    There are many great reviews for this plugin and how well it’s supported – hoping you can help.

    Plugin Author Katie

    (@kseaborn)

    Yes! I’ve changed the echos to returns. Should be fixed in 6.2.3 but please re-open if not.

    Thread Starter ljburton

    (@ljburton)

    Hi Katie – Yep, problem is resolved – THANK YOU SO MUCH!

    Plugin Author Katie

    (@kseaborn)

    Excellent!

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

The topic ‘Zotpress full library shotcode breaks theme’ is closed to new replies.