summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/wordpress-mobile-pack/admin/sections/news.php')
-rwxr-xr-xplugins/wordpress-mobile-pack/admin/sections/news.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/plugins/wordpress-mobile-pack/admin/sections/news.php b/plugins/wordpress-mobile-pack/admin/sections/news.php
index 702e768f..491b0657 100755
--- a/plugins/wordpress-mobile-pack/admin/sections/news.php
+++ b/plugins/wordpress-mobile-pack/admin/sections/news.php
@@ -37,7 +37,18 @@ if (!empty($news_updates)):
<!-- start news and updates -->
<?php foreach($arrNews as $key => $news):?>
<?php if(isset($news["title"]) && $news["title"] != ''):?>
- <p><strong><?php echo $news["title"];?></strong></p>
+ <p class="news-title">
+ <strong>
+ <?php if(isset($news["link"]) && $news["link"] != ''):?>
+ <a href="<?php echo $news["link"];?>" target="_blank" title="read more"><?php echo $news["title"];?></a>
+ <?php
+ else:
+ echo $news["title"];
+ endif;
+
+ ?>
+ </strong>
+ </p>
<div class="spacer-2"></div>
<?php endif;?>
<p>