Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Shortcode embedded and user logged in only to get ‘false’ message

$
0
0

Replies: 0

Hello

I embedded <?php echo do_shortcode(‘[favorite_button]’); ?> in a page template and logged in as a user. However, upon clicking the Favorites button, only ‘false’ is returned:

https://ibb.co/h2s85xB

The same error is returned even when I’m not logged in. Please someone help me fix the bug and get the button working as it should.

Thank you in advance.


Viewing all articles
Browse latest Browse all 59525

Trending Articles