Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Cristian Santander

    (@crist0sant0)

    I did a Test with another page that I have with GeneratePress Theme, but without multisite. And is the same problem.

    Hope you can fixed.

    Thanks.

    I have the exact same issue — not using GeneratePress theme.
    Attempting to place in template.

    <?php echo do_shortcode ('[oacsspl]'); ?>

    It outputs text with html entities rather than code.

    Quick fix line 138
    solid-post-likes/views/SolidPostLikesPublic.php

    remove esc_html after echo:

    /** Shortcode specific output */
        public function oacs_spl_display_like_shortcode()
        {
            echo $this->oacs_spl_display_like_button(get_the_ID(), 0);
        }
    
    Plugin Author oacstudio

    (@oacstudio)

    Hi @crist0sant0

    Thank you for reporting this and sorry about the late answer. Our notification settings were a bit off. We have fixed that.

    @interestica

    thank you for the proposed patch. Tested this and works, this might have been over engineered but I’ll double check the need for escaping one more time and will include a fix this in the next version.

    Kind regards,
    Anna

    Plugin Author oacstudio

    (@oacstudio)

    Hi @interestica, @crist0sant0

    Version 1.0.1 was just released. It contains a fix for the reported shortcode problem. Thanks again for your input and let me know if anything else is not working as intended.

    Kind regards,
    Anna

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with the Shortcode’ is closed to new replies.