Skip to content

Commit dd34fee

Browse files
committed
updated source curl url
1 parent cc526b6 commit dd34fee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

display-medium-posts.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ function posts_display($atts){
9393

9494
$content = null;
9595

96-
$medium_url = "https://medium.com/" . $handle . "/latest?format=json";
96+
$medium_url = "https://api.rss2json.com/v1/api.json?rss_url=https://medium.com/feed/" . $handle;
97+
9798

9899
try {
99100
$ch = curl_init();

0 commit comments

Comments
 (0)