Skip to content

Commit

Permalink
fix: remove random news
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAndresCortes committed Jul 26, 2024
1 parent 73044dc commit 5e97e4c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions index.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,6 @@ function template_body_above()
echo '
<div class="content-wrapper">';


// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']) && !empty($context['random_news_line']))
echo '
<div class="random_news">
<h2>', $txt['news'], ': </h2>
<p>', $context['random_news_line'], '</p>
</div>';

!function_exists('themecustoms_carousel') ? '' : themecustoms_carousel();

// The main content should go here.
Expand Down

0 comments on commit 5e97e4c

Please sign in to comment.