• Hi @kseaborn,

    It seems that the use of the short code directly in a page or post works just fine.

    But when I embed the same short code into a text field that uses the Classic Editor:

    Screenshot-2021-12-07-at-09-40-03

    the paragraph that includes this code:

    <p><span class="ZP_API_USER_ID" style="display: none;">SAMPLE</span><br>
    		<span class="ZP_ITEM_KEY" style="display: none;"></span><br>
    		<span class="ZP_COLLECTION_ID" style="display: none;">84D****T</span><br>
    		<span class="ZP_TAG_ID" style="display: none;"></span><br>
    		<span class="ZP_AUTHOR" style="display: none;"></span><br>
    		<span class="ZP_YEAR" style="display: none;"></span><br>
            <span class="ZP_ITEMTYPE" style="display: none;"></span><br>
            <span class="ZP_ITEM_TYPE" style="display: none;">items</span><br>
    		<span class="ZP_INCLUSIVE" style="display: none;">1</span><br>
    		<span class="ZP_STYLE" style="display: none;"></span><br>
    		<span class="ZP_LIMIT" style="display: none;"></span><br>
    		<span class="ZP_SORTBY" style="display: none;">default</span><br>
    		<span class="ZP_ORDER" style="display: none;">asc</span><br>
    		<span class="ZP_TITLE" style="display: none;"></span><br>
    		<span class="ZP_SHOWIMAGE" style="display: none;"></span><br>
    		<span class="ZP_SHOWTAGS" style="display: none;"></span><br>
    		<span class="ZP_DOWNLOADABLE" style="display: none;"></span><br>
    		<span class="ZP_NOTES" style="display: none;"></span><br>
    		<span class="ZP_ABSTRACT" style="display: none;"></span><br>
    		<span class="ZP_CITEABLE" style="display: none;"></span><br>
    		<span class="ZP_TARGET" style="display: none;"></span><br>
    		<span class="ZP_URLWRAP" style="display: none;"></span><br>
    		<span class="ZP_FORCENUM" style="display: none;"></span><br>
            <span class="ZP_HIGHLIGHT" style="display: none;"></span><br>
    		<span class="ZOTPRESS_PLUGIN_URL" style="display:none;">https://www.domain.com/wp-content/plugins/zotpress/</span></p>

    Takes up a huge empty space in the page or post.

    Maybe it is just an issue that I’m facing myself, or maybe the paragraph requires “display:none”.

    How can I solve this?

    Many thanks!

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

    (@artgoddess)

    A quick turnaround:

    #zotpress-be36739e1207b64a9a6c4476047875f1 > p:nth-child(1), #zotpress-be36739e1207b64a9a6c4476047875f1 > p:nth-child(3) {
    	display: none !important;
    }

    A bit weird, just a temporary solution.

Viewing 1 replies (of 1 total)

The topic ‘Shortcode with Classic editor’ is closed to new replies.