Add reading time
Add read more link to excerpt Refresh some icons
This commit is contained in:
@@ -136,3 +136,9 @@ function windycoys_get_podcast_meta($id) {
|
||||
audio => (String) $item->enclosure['url'],
|
||||
);
|
||||
}
|
||||
|
||||
function windycoys_get_read_time($words) {
|
||||
$wpm = 250;
|
||||
$mins = ceil($words / $wpm);
|
||||
return $mins;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user