mirror of
https://github.com/danpros/htmly.git
synced 2026-04-20 12:36:23 +05:30
Update functions.php
FI & Video
This commit is contained in:
parent
04d8c567a7
commit
6be89b62ad
1 changed files with 2 additions and 0 deletions
|
|
@ -243,6 +243,8 @@ function get_posts($posts, $page = 1, $perpage = 0)
|
|||
|
||||
// Extract the title and body
|
||||
$post->title = get_content_tag('t', $content, 'Untitled: ' . date('l jS \of F Y', $post->date));
|
||||
$post->feature = get_content_tag('fi', $content);
|
||||
$post->video = get_content_tag('vid', $content);
|
||||
|
||||
// Get the contents and convert it to HTML
|
||||
$post->body = MarkdownExtra::defaultTransform(remove_html_comments($content));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue