Browse Source

Update functions.php

FI & Video
pull/140/head
Mohamad Fahmi 10 years ago
parent
commit
6be89b62ad
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      system/includes/functions.php

+ 2
- 0
system/includes/functions.php View File

@ -243,6 +243,8 @@ function get_posts($posts, $page = 1, $perpage = 0)
// Extract the title and body // Extract the title and body
$post->title = get_content_tag('t', $content, 'Untitled: ' . date('l jS \of F Y', $post->date)); $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 // Get the contents and convert it to HTML
$post->body = MarkdownExtra::defaultTransform(remove_html_comments($content)); $post->body = MarkdownExtra::defaultTransform(remove_html_comments($content));


Loading…
Cancel
Save