From 6be89b62ad14d1d9c8878f5d169a870222b84d9c Mon Sep 17 00:00:00 2001 From: Mohamad Fahmi Date: Sat, 7 Feb 2015 17:39:22 +0700 Subject: [PATCH] Update functions.php FI & Video --- system/includes/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/includes/functions.php b/system/includes/functions.php index 73b2390..c495e7a 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -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));