Title: Problem with the Shortcode
Last modified: May 17, 2022

---

# Problem with the Shortcode

 *  Resolved [Cristian Santander](https://wordpress.org/support/users/crist0sant0/)
 * (@crist0sant0)
 * [4 years ago](https://wordpress.org/support/topic/problem-with-the-shortcode-2/)
 * Hello, I like you plugin.
 * But I need to notice that is a problem when I used the shortcode.
 * I’m using GeneratePress in a Multisite WP.
    [https://prnt.sc/ymEWIoH1hRXs](https://prnt.sc/ymEWIoH1hRXs)
 * This is the problem right now:
    [https://prnt.sc/2uy0lJe2RE20](https://prnt.sc/2uy0lJe2RE20)
 * PD: When I’m not used the shortcode, work well

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

 *  Thread Starter [Cristian Santander](https://wordpress.org/support/users/crist0sant0/)
 * (@crist0sant0)
 * [4 years ago](https://wordpress.org/support/topic/problem-with-the-shortcode-2/#post-15653368)
 * 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.
 *  [interestica](https://wordpress.org/support/users/interestica/)
 * (@interestica)
 * [4 years ago](https://wordpress.org/support/topic/problem-with-the-shortcode-2/#post-15688566)
 * 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.
 *  [interestica](https://wordpress.org/support/users/interestica/)
 * (@interestica)
 * [4 years ago](https://wordpress.org/support/topic/problem-with-the-shortcode-2/#post-15688587)
 * 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](https://wordpress.org/support/users/oacstudio/)
 * (@oacstudio)
 * [4 years ago](https://wordpress.org/support/topic/problem-with-the-shortcode-2/#post-15695791)
 * Hi [@crist0sant0](https://wordpress.org/support/users/crist0sant0/)
 * Thank you for reporting this and sorry about the late answer. Our notification
   settings were a bit off. We have fixed that.
 * [@interestica](https://wordpress.org/support/users/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](https://wordpress.org/support/users/oacstudio/)
 * (@oacstudio)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/problem-with-the-shortcode-2/#post-15702148)
 * Hi [@interestica](https://wordpress.org/support/users/interestica/), [@crist0sant0](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/solid-post-likes/assets/icon-256x256.png?rev=3124455)
 * [Solid Post Likes](https://wordpress.org/plugins/solid-post-likes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/solid-post-likes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/solid-post-likes/)
 * [Active Topics](https://wordpress.org/support/plugin/solid-post-likes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/solid-post-likes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/solid-post-likes/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 5 replies
 * 3 participants
 * Last reply from: [oacstudio](https://wordpress.org/support/users/oacstudio/)
 * Last activity: [3 years, 12 months ago](https://wordpress.org/support/topic/problem-with-the-shortcode-2/#post-15702148)
 * Status: resolved