Skip to content

Commit

Permalink
Merge pull request #71 from aaslun/file-include-title
Browse files Browse the repository at this point in the history
Suggested solution for supporting custom labels on file includes
  • Loading branch information
victorjonsson committed Nov 13, 2014
2 parents fa1073d + 24ac91b commit fb50818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@
</div><!-- #arlima-custom-templates -->

<?php
$file_includes = apply_filters('arlima_article_includes', array(dirname(__FILE__).'/count-down.php'));
sort($file_includes);
$file_includes = apply_filters('arlima_article_includes', array(__('Count Down','arlima') => dirname(__FILE__).'/count-down.php'));
ksort($file_includes);
$arlima_file_include = new Arlima_FileInclude();
?>
<div id="arlima-article-file-includes" class="arlima-postbox">
Expand Down

0 comments on commit fb50818

Please sign in to comment.