开发者 | dustyf |
---|---|
更新时间 | 2013年7月10日 23:30 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 3.5.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/meetup-winner/
and it's contents to the /wp-content/plugins/
directoryVisit http://www.meetup.com/meetup_api/key/ while signed in to Meetup.com to find your API Key.
Visit your event on Meetup.com and copy the number at the end of your URL. For instance the event id for the following Meetup is: 110963702 http://www.meetup.com/Milwaukee-WordPress-MeetUp/events/110963702/
Add the shortcode [meetup_winner eventid="110963702"]
replacing the number with your event ID to any page on your website. You can also use the template tag <?php meet_win_display('110963702'); ?>
replacing the number with your event ID to use in a page template. Visit the page to view a winner and refresh the page for a new winner.