+
How to use
+
+
WordPress Display Medium Posts plugin displays the latests posts from a specified user or publication.
+
+
For users
+
+
To use this plugin on any page/post, add shortcode with user handle e.g
[display_medium_posts handle="@username"]
+
+
For Publications
+
To use this plugin to fetch publication posts, you'd have to get the publication handle from the url as shown https://medium.com/devcenter. devcenter is the publication's handle. If you are using a custom domain, you should still be able to look up your unique handle in settings.
+
To use this plugin on any page/post, add shortcode with publication handle and set "publication" to true e.g
[display_medium_posts handle="username" publication=true]
+
+
NB: Do not add "@" for publication handles
+
+
Advanced Usage and Customization
+
There are additional features that can be implemented using Display Medium Posts :
+
+ - handle: This is the user's medium handle e.g @acekyd or publication handle e.g devcenter (Required)
+ - publication: If you would like to show the posts of a publication's specified handle, set this value to true. Default value is false
+ - default_image: This is the url of default image that should show when post doesn't have a featured image e.g http://i.imgur.com/p4juyuT.png
+ - display: This is the amount of posts that should be displayed at a time e.g display=3
+ - offset: This is used when you don't want to display the most recent posts. You can specify the offset to skip the first number of items specified. Default is 0 e.g offset=2
+ - total: This is used to specify the amount of posts to fetch. Maximum is 10. This is also useful if you just want to display a single item e.g total=1
+ - list: If you would like to show the posts in a list instead of a carousel, set this value to true. Default value is false
+
+
+