• Hi, I’m wondering if there is any chance, to give the user the possibility to share their favorites? My three ideas are:

    1. Create a custom link from the page displaying the favorites list

    2. Create a pdf from the page displaying the favorites

    3. Create an E-Mail out of the favorites

    I tried many different Plugins but nothing seems to work right.

    https://wordpress.org/plugins/favorites/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I tried forever to get this to work, as I wanted public pages of favourites. I finally sorted it, so I can save you some hassle.

    You need to install Ultimate Member (its free) to get public profile pages:
    https://en-gb.wordpress.org/plugins/ultimate-member/

    Then you need to add some code to show the list:

    $favorites = get_user_favorites($user_id = um_profile_id());
    
        if ( $favorites ) :
    
    		$favorites_query = new WP_Query( array(
            'post_type' => 'post',
            'posts_per_page' => -1,
    		'orderby'   => 'menu_order',
    		'order' => 'ASC',
            'post__in' => $favorites
        ));

    (add you own filers and post type etc)

    the way I did it was to use this plugin:
    https://wordpress.org/plugins/add-actions-and-filters/

    and make a custom shortcode that does the above, then added that shortcode to my Ultimate Members profile page.

    You can see an example profile page here:
    http://canonkillerbase.com/user/Dale.A/

    Finally I needed a plugin that would let users share on social media, I found that Jetpack didn’t work but ‘AddToAny Share Buttons’ did.

    @joemarshalljm

    Nice share!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possibility to share favorites?’ is closed to new replies.