# Next and previous block

**URL:** <https://forums.concretecms.org/t/next-and-previous-block/9550>\
**Category:** Using Concrete / Help\
**Created:** [October 26, 2025, 5:26pm UTC](https://forums.concretecms.org/t/next-and-previous-block/9550 "2025-10-26T17:26:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![deanhawthorn](https://forums.concretecms.org/user_avatar/forums.concretecms.org/deanhawthorn/32/4118_2.png) [@deanhawthorn](https://forums.concretecms.org/u/deanhawthorn)\
**Post date:** [October 26, 2025, 5:26pm UTC](https://forums.concretecms.org/t/next-and-previous-block/9550/1 "2025-10-26T17:26:32Z")

</div>

How do you turn off the page icon and date in the text previous block please?

I just need the text links nothing else.

---

<div class="post-metadata">

**Author:** ![MobineLuxor](https://forums.concretecms.org/user_avatar/forums.concretecms.org/mobineluxor/32/5732_2.png) [@MobineLuxor](https://forums.concretecms.org/u/MobineLuxor)\
**Post date:** [October 30, 2025, 1:20pm UTC](https://forums.concretecms.org/t/next-and-previous-block/9550/2 "2025-10-30T13:20:46Z")

</div>

That would be very simple:

make a file named **text\_links\_prev\_next.php** in:

/application/blocks/next\_previous/templates/ **text\_links\_prev\_next.php**

Contents of that file:

_`<?php`  
 `defined('C5_EXECUTE') or die('Access Denied.');`  
 `if ($previousCollection || $nextCollection): ?>`  
 ` <nav class="next-previous-nav text-links-prev-next d-flex justify-content-between">`  
 ` <?php if ($previousCollection): ?>`  
 ` <a href="<?= h($previousCollection->getCollectionLink()) ?>"`  
 ` class="previous-link text-uppercase">`  
 ` PREVIOUS`  
 ` </a>`  
 ` <?php else: ?>`  
 ` <span></span>`  
 ` <?php endif; ?>`  
 ` <?php if ($nextCollection): ?>`  
 ` <a href="<?= h($nextCollection->getCollectionLink()) ?>"`  
 ` class="next-link text-uppercase">`  
 ` NEXT`  
 ` </a>`  
 ` <?php endif; ?>`  
 ` </nav>`  
 `<?php endif; ?>`_

if you want, style it like:

_.next-previous-nav.text-links-only a {  
text-decoration: none;  
color: red;  
}_

_.next-previous-nav.text-links-only a:hover {  
text-decoration: underline;  
}_
