You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: admin/partials/display-medium-posts-admin-display.php
+17
Original file line number
Diff line number
Diff line change
@@ -24,4 +24,21 @@
24
24
25
25
<p>To use this plugin on any page/post, add shortcode with user handle e.g <span style="color:red">[display_medium_posts handle="@username"]</span></p>
26
26
27
+
<h4>Advanced Usage and Customization</h4>
28
+
<p>There are additional features that can be implemented using Display Medium Posts : </p>
29
+
<ul>
30
+
<li><b>handle:</b> This is the user's medium handle e.g @acekyd <i>(Required)</i></li>
31
+
<li><b>default_image:</b> 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</li>
32
+
<li><b>display:</b> This is the amount of posts that should be displayed at a time e.g display=3</li>
33
+
<li><b>offset:</b> 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</li>
34
+
<li><b>total:</b> 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</li>
35
+
</ul>
36
+
37
+
<p>
38
+
An example of a full use of the plugin is as follows:<br>
0 commit comments