Track your favorites

This topic contains 2 replies, has 2 voices, and was last updated by  blackout 4 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #529670

    blackout
    Expired Member
    Post count: 22

    I see you can click on the heart and make businesses your favorite. Is there a shortcode that I can use if I create a page and someone is logged in they can see their favorites listed?

    #529691

    Alex Rollin
    Moderator
    Post count: 27815

    You can use GD Listings to create a list of the user’s favorites.

    We recommend you do that with UsersWP for a list of favorites on the profile.

    If you make a page called “My Favorites” the user must be logged in to see their favorites. This is handled automatically by UsersWP.

    Here is the GD listings shortcode

    
    
    
    [gd_listings post_type="gd_place" post_limit="100" show_favorites_only="1" favorites_by_user="current_user" sort_by="az" title_tag="h3" layout="1" view_all_link="1" bottom_pagination="1" category="0"]
    

    Use the shortcode builder to craft the perfect shortcode for your site.

    https://wpgeodirectory.com/docs-v2/geodirectory/shortcode-builder/

    #529800

    blackout
    Expired Member
    Post count: 22

    This worked perfectly. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket