• Resolved Liltiger

    (@liltiger)


    Hi There,

    Thanks for this awesome plugin! I’ve just come across one issue, the display favorite button shortcode,
    <?php echo do_shortcode( '[favorite_button post_id="" site_id=""]' ); ?>
    will show the favorite button and can count the favorites, but it will not show up with the display a list of user’s favorite posts shortcode <?php echo do_shortcode( '[user_favorites user_id="" include_links="true" site_id="" post_types="" include_buttons="false"]' ); ?>

    Can someone please advise on what to do?

    Thanks So Much

    https://www.ads-software.com/plugins/favorites/

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

    (@liltiger)

    Ok I figured it out.

    I have a multisite and all I had to do was take out the site id. The shortcode would be:

    <?php echo do_shortcode( ‘[favorite_button post_id=””]’ ); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Display Favorite Button Shortcode Not Working’ is closed to new replies.