Skip to content

Commit

Permalink
clean up descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
acekyd committed Jan 6, 2019
1 parent bdc0b3d commit 53c7d6e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions admin/partials/display-medium-posts-admin-display.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,79 +48,79 @@
</tr>
<tr>
<td>
<b>handle:</b>
<b>handle</b>
</td>
<td>
This is the user's medium handle e.g <strong>@acekyd</strong> or publication handle e.g <strong>devcenter</strong> <i>(Required)</i>
</td>
</tr>
<tr>
<td>
<b>publication:</b>
<b>publication</b>
</td>
<td>
If you would like to show the posts of a publication's specified handle, set this value to true. Default value is false
</td>
</tr>
<tr>
<td>
<b>default_image:</b>
<b>default_image</b>
</td>
<td>
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
</td>
</tr>
<tr>
<td>
<b>display:</b>
<b>display</b>
</td>
<td>
This is the amount of posts that should be displayed at a time e.g display=3
</td>
</tr>
<tr>
<td>
<b>offset:</b>
<b>offset</b>
</td>
<td>
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
</td>
</tr>
<tr>
<td>
<b>total:</b>
<b>total</b>
</td>
<td>
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
</td>
</tr>
<tr>
<td>
<b>list:</b>
<b>list</b>
</td>
<td>
If you would like to show the posts in a list instead of a carousel, set this value to true. Default value is false
</td>
</tr>
<tr>
<td>
<b>title_tag:</b>
<b>title_tag</b>
</td>
<td>
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"
</td>
</tr>
<tr>
<td>
<b>tag:</b>
<b>tag</b>
</td>
<td>
This is used to filter Medium posts by tag. E.g tag=learning. A user <b>handle</b> is still required for generating the link but the posts are fetched globally from Medium.
</td>
</tr>
<tr>
<td>
<b>date_format:</b>
<b>date_format</b>
</td>
<td>
This is only for advanced users or developers. The date format has been updated to reflect exactly as it is shown on medium - <b>Jan 1, 2019</b> using the <b>'M d, Y'</b> format. Pass on custom format to this attribute to change.
Expand Down

0 comments on commit 53c7d6e

Please sign in to comment.