|
16 | 16 | <!-- This file should primarily consist of HTML with a little bit of PHP. -->
|
17 | 17 | <div class="wrap">
|
18 | 18 |
|
19 |
| - <h2><?php echo esc_html( get_admin_page_title() ); ?></h2> |
| 19 | + <h2><?php echo esc_html(get_admin_page_title()); ?></h2> |
20 | 20 |
|
21 | 21 | <div class="metabox-holder">
|
22 | 22 | <div class="postbox-container" style="width: 55%;margin-right: 10px;">
|
|
25 | 25 | <div class="inside">
|
26 | 26 | <p>WordPress Display Medium Posts plugin displays the latests posts from a specified user or publication.</p>
|
27 | 27 |
|
28 |
| - <h2>For user accounts</h2> |
29 |
| - |
30 |
| - <p>To use this plugin on any page/post, add shortcode with <strong>user</strong> handle e.g <br><span style="color:red">[display_medium_posts handle="@username"]</span></p> |
31 |
| - |
32 |
| - <h4>For Publications</h4> |
33 |
| - <p>To use this plugin to fetch publication posts, you'd have to get the publication handle from the url as shown https://medium.com/<strong>devcenter</strong>. <strong>devcenter</strong> 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.</p> |
34 |
| - <p>To use this plugin on any page/post, add shortcode with <strong>publication</strong> handle and set "publication" to true e.g<br> <span style="color:red">[display_medium_posts handle="username" publication=true]</span></p> |
| 28 | + <h2>For user accounts and publications</h2> |
35 | 29 |
|
| 30 | + <p>To use this plugin on any page/post, add shortcode with <strong>user</strong> handle e.g <br><span style="color:red">[display_medium_posts handle="@username"]</span> or <strong>publication</strong> handle without the "@" e.g<span style="color:red">[display_medium_posts handle="morpheus-network"]</span> </p> |
| 31 | + <p>If you are using a custom domain, you should still be able to look up your unique handle in settings.</p> |
36 | 32 | <i>NB: Do not add "@" for publication handles</i>
|
37 | 33 |
|
38 | 34 | <h2>Advanced Usage and Customization</h2>
|
|
51 | 47 | <b>handle</b>
|
52 | 48 | </td>
|
53 | 49 | <td>
|
54 |
| - This is the user's medium handle e.g <strong>@acekyd</strong> or publication handle e.g <strong>devcenter</strong> <i>(Required)</i> |
55 |
| - </td> |
56 |
| - </tr> |
57 |
| - <tr> |
58 |
| - <td> |
59 |
| - <b>publication</b> |
60 |
| - </td> |
61 |
| - <td> |
62 |
| - If you would like to show the posts of a publication's specified handle, set this value to true. Default value is false |
| 50 | + This is the user's medium handle e.g <strong>@acekyd</strong> or publication handle e.g <strong>morpheus-network</strong> <i>(Required)</i> |
63 | 51 | </td>
|
64 | 52 | </tr>
|
65 | 53 | <tr>
|
|
110 | 98 | 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"
|
111 | 99 | </td>
|
112 | 100 | </tr>
|
113 |
| - <tr> |
114 |
| - <td> |
115 |
| - <b>tag</b> |
116 |
| - </td> |
117 |
| - <td> |
118 |
| - 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. |
119 |
| - </td> |
120 |
| - </tr> |
121 | 101 | <tr>
|
122 | 102 | <td>
|
123 | 103 | <b>date_format</b>
|
|
139 | 119 | An example of a full use of the plugin is as follows:<br><br>
|
140 | 120 | <strong>User - </strong><br><br>
|
141 | 121 |
|
142 |
| - [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"] |
| 122 | + [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"] |
143 | 123 |
|
144 | 124 | <br><br>
|
145 | 125 | <strong>Publication - </strong><br><br>
|
146 | 126 |
|
147 |
| - [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"] |
| 127 | + [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"] |
148 | 128 |
|
149 | 129 | </p>
|
150 | 130 | <br><br>
|
|
160 | 140 | <hr>
|
161 | 141 | <p>
|
162 | 142 | <h4 style="color:red">
|
163 |
| - If you'd like to reach out to me or donate to this plugin, send me a tweet at <a href="http://twitter.com/ace_kyd">@Ace_KYD</a> or donate via <a href="https://www.paypal.me/adewaleabati" target="_blank">PayPal</a>. Cheers :)</h4> |
| 143 | + If you'd like to reach out to me or donate to this plugin, send me a tweet at <a href="http://twitter.com/ace_kyd">@Ace_KYD</a> or donate via <a href="https://dashboard.flutterwave.com/donate/optcjuai9jpk" target="_blank">Flutterwave</a>. Cheers :)</h4> |
164 | 144 |
|
165 |
| - <a href="https://www.paypal.me/adewaleabati" target="_blank"> |
| 145 | + <!-- <a href="https://www.paypal.me/adewaleabati" target="_blank"> |
166 | 146 | <img src="https://miamibaysidefoundation.org/wp-content/uploads/2016/07/donate-paypal-1x.png">
|
167 |
| - </a> |
168 |
| - |
169 |
| - |
| 147 | + </a> --> |
170 | 148 | </p>
|
171 | 149 | </div>
|
172 | 150 | </div>
|
|
0 commit comments