Plugin Author
Ajay
(@ajay)
I’ve not seen any example of this. What does this meta-data table look like?
If not the normal post_content – so is this in a separate table or in the post_content column of wp_posts. can it be imported?
its a text paragraph. I saved it in meta-data instead of post content. No one can view meta-data normally when a post is published. We need to call a function to show meta-data of that post.
Plugin Author
Ajay
(@ajay)
Understood. The plugin can’t do this out of the box.
There isn’t an easy piece of code to do this as the meta data sits in a separate table with no fulltext index.
Theoretically, steps involved would be:
- Add a full-text index on the meta table
- Add filter functions for:
crp_posts_join to join the meta tables
crp_posts_where to add an extra condition which I am thinking is a sub-query that returns a short-list of posts by using a query to find posts related to this meta field
-
This reply was modified 8 years, 12 months ago by
Ajay.