Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2024-03-18 22:05:33

Retrax
Member
Registered: 2006-10-10
Posts: 59

Blog page navigation like on Textpattern

Hello,
I hope that someone can help me.
I would like a blog page navigation like on Textpattern:
Textpattern Blog
Can someone please provide me the code snippet?

Thank you!

Best regards
Michael

Offline

#2 2024-03-18 23:23:12

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,712
Website

Re: Blog page navigation like on Textpattern

Hi Michael, and welcome (back!)

You can actually see the exact code of the Textpattern homepage navigation bar right here.

However that is perhaps a little particular because the links point to different sub-sites, so is constructed manually.

If you want to automatically generate your site navigation from your Textpattern sections, you could check out the default theme that comes with Textpattern. The code for that is here. That will auto-extend as you add new sections, and highlight the currently visited section in the menu.

EDIT: If you meant the pagination bar at the bottom of the article list, that you can see here.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2024-03-19 13:58:02

Retrax
Member
Registered: 2006-10-10
Posts: 59

Re: Blog page navigation like on Textpattern

jakob wrote #336948:

Hi Michael, and welcome (back!)

You can actually see the exact code of the Textpattern homepage navigation bar right here.

Thank you so much!

Offline

Board footer

Powered by FluxBB