Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add heading to absolute first article of first page of Joomla 2.5 category blog
Add the following to your /com_content/category/blog.php template override just before <?php $this->item = &$item; echo $this->loadTemplate('item'); ?> of the class="leading" item.
<?php if ($this->pagination->get('pages.current') == 1) echo '<h1>Absolute First Article</h1>' ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment