Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for 1:N inverse association (relation) #402

Open
radeno opened this issue Apr 20, 2024 · 0 comments
Open

Support for 1:N inverse association (relation) #402

radeno opened this issue Apr 20, 2024 · 0 comments

Comments

@radeno
Copy link

radeno commented Apr 20, 2024

Hello,

first, let me say thank you for the great job you do with this WP module!

Second. When we want to make associations between posts in WP most time it is done by creating a post meta field.
Eg: Post types: List and ListItem
To make association 1:N we can add meta list_id to ListItem post.
With AdminColumns we can display column for custom meta with Post Relation type.

But what if I want to display ListItems for List on List page or just simple count them with link to predefined filter to ListItem post type page?

Is it able to somehow do that with AdminColumns?

I don't want to add any extra post meta to List type, because it is redundant.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant