Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2025-06-11 08:22:00

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,806
Website GitHub

Re: WordPress theme file editing

Algaris wrote #339856:

If I may also add unlimited article categories to the list too.

We’ve back and forthed on this for ages. The category1 and category2 concept is so ingrained in tags, conditional logic and core code that we almost always decide to leave it as it is.

One thing we did posit was to repurpose the, now defunct, keywords field as Tags (although we probably need a better name for it because it gets confusing with us calling txp: tags Tags! I can imagine the documentation… Use the <txp:tags> tag to display a list of tags…). Those would act, essentially, as unlimited categories that you could filter by.

And my plan was to offer the ability to synonym too, which blows search into the stratosphere. Imagine searching for articles about the keyword/tag property that shows you those results first, then moves on to list results that also contain properties and house and houses and flats and apartments because you’ve said they all belong to the same group. Handy. Using quotes around a search term or forcing exact match in some way would bypass this extended synonym filter.

The downside is that keywords are currently article-centric so they’d need extending to other content types.

Not entirely sure how this will end up. We may just make a clean break and revamp categories since Txp 5 isn’t shackled by such stringent backwards compatibility constraints (although as always, we’ll do our best to migrate people automatically).


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#14 2025-06-11 13:19:26

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,173
Website GitHub Mastodon Twitter

Re: WordPress theme file editing

Bloke wrote #339857:

We’ve back and forthed on this for ages. The category1 and category2 concept is so ingrained in tags, conditional logic and core code that we almost always decide to leave it as it is.

I used to like to have more categories but from the time that they have been part of deep url structures (site.tld/section_name/category1_name/category2_name/article), I think that their function was upgraded in a major way.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB