To "Heart" a Community Adventure, you must first complete at least one level in that adventure.
Upon completion, the game will give you options to Continue (the adventure) or Replay (the level).
On the left side of that screen will be two buttons. Press the small heart-shaped one to get the trophy.