diff --git a/admin/partials/display-medium-posts-admin-display.php b/admin/partials/display-medium-posts-admin-display.php index 73bdf10..7aecaaa 100644 --- a/admin/partials/display-medium-posts-admin-display.php +++ b/admin/partials/display-medium-posts-admin-display.php @@ -16,7 +16,7 @@
-

+

@@ -25,14 +25,10 @@

WordPress Display Medium Posts plugin displays the latests posts from a specified user or publication.

-

For user accounts

- -

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]

+

For user accounts and publications

+

To use this plugin on any page/post, add shortcode with user handle e.g
[display_medium_posts handle="@username"] or publication handle without the "@" e.g[display_medium_posts handle="morpheus-network"]

+

If you are using a custom domain, you should still be able to look up your unique handle in settings.

NB: Do not add "@" for publication handles

Advanced Usage and Customization

@@ -51,15 +47,7 @@ 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 + This is the user's medium handle e.g @acekyd or publication handle e.g morpheus-network (Required) @@ -110,14 +98,6 @@ This is used to set a custom tag for the article titles, such as H2, H3, etc. Default value is 'p' e.g title_tag="p" - - - tag - - - This is used to filter Medium posts by tag. E.g tag=learning. A user handle is still required for generating the link but the posts are fetched globally from Medium. - - date_format @@ -139,12 +119,12 @@ An example of a full use of the plugin is as follows:

User -

- [display_medium_posts handle="@acekyd" default_image="http://www.acekyd.com/wp-content/uploads/2014/11/IMG_20150731_220116.png" display=4 offset=2 total=10 list=false title_tag="h2"] + [display_medium_posts handle="@acekyd" default_image="http://www.acekyd.com/wp-content/uploads/2014/11/IMG_20150731_220116.png" display=4 offset=2 total=10 list=false title_tag="h2"]

Publication -

- [display_medium_posts handle="devcenter" publication=true default_image="http://www.acekyd.com/wp-content/uploads/2014/11/IMG_20150731_220116.png" display=4 offset=2 total=10 list=false title_tag="h2"] + [display_medium_posts handle="morpheus-network" default_image="http://www.acekyd.com/wp-content/uploads/2014/11/IMG_20150731_220116.png" display=4 offset=2 total=10 list=false title_tag="h2"]



@@ -160,13 +140,11 @@

- If you'd like to reach out to me or donate to this plugin, send me a tweet at @Ace_KYD or donate via PayPal. Cheers :)

+ If you'd like to reach out to me or donate to this plugin, send me a tweet at @Ace_KYD or donate via Flutterwave. Cheers :) - +