List-Category-Posts icon indicating copy to clipboard operation
List-Category-Posts copied to clipboard

"this" for custom taxonomy term

Open pjv opened this issue 7 years ago • 4 comments

Similar to categorypage for standard categories and currenttags for tags, it would be convenient if we could specify a custom taxonomy and then something like terms=this to use the terms in the specified taxonomy that the current post has applied to it for selecting other posts.

e.g. [catlist taxonomy='person' terms=this] would select posts that had terms applied to them from the person taxonomy that matched any terms from that taxonomy that are applied to the current post.

pjv avatar Feb 16 '18 18:02 pjv

That would be a nice new feature 🙂

klemens-st avatar Feb 16 '18 22:02 klemens-st

@pjv Did you get any alternative or workaround ?

dbjpanda avatar Mar 23 '19 05:03 dbjpanda

@dbjpanda the workaround is just manually applying all the necessary terms to each post and then explicitly listing them in the category post shortcode. It works fine but it's less elegant than it could be.

pjv avatar Mar 23 '19 10:03 pjv

A comment on this from the forums:

https://wordpress.org/support/topic/current-taxonomy-terms/#post-15130245

klemens-st avatar Dec 03 '21 16:12 klemens-st

@pjv @dbjpanda Just letting you know this feature has been merged and included in 0.88

klemens-st avatar Dec 03 '22 11:12 klemens-st