I have this block view and I need to add a term custom field into it. The loop is constucted of a Toolset blocks and some of the details (single fields + Field and Texts etc.) are inside Kadence accordion.
SHORTCODE
The data I want to show should be the current loop item's attached custom category -> custom field.
If I try to add the Field and Text block, it is changes immediately to shortcode (!?) and it does not filter current item's taxonomy's custom field. It shows all the custom fields of this taxonomy.
The shortcode at the moment: [types termmeta='my-field' title='Check'][/types]
SINGLE FIELD
If I add Single Field block ->
1. Custom field -> (post source) Current MYPOSTTYPE -> field can't be found.
2. Taxonomy -> (post source) Current MYPOSTTYPE-> (post taxonomy) MYTAXONOMY -> I can't choose the field, they don't appear as next step.
I did also try to create a separate view and import it to the loop, but it shows all the custom fields data, not only the loop item's category's custom field data.
So, what should I do to show the custom term field?
Then go to Toolset => Views and and add a new view and set your view to query your desired taxonomy and within the view's loop editor section you can add the taxonomy custom fields.
Thank you Minesh. This is excactly what I tried, but the problem is as I stated: "I did also try to create a separate view and import it to the loop, but it shows all the custom fields data, not only the loop item's category's custom field data."
To be more clear: I inserted the classic view to block view as toolset shortcode. The filtering to restrict to only current loop item didn't work, all the custom field data showed.
It seems I have to construct the whole view from beginning in classic mode? That's a scary thought...
Can you please share problem URL and admin access details and let me review whats going wrong with your setup.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Somehow, while editing the loop output was lost so you will have to use either post revision where you added your original loop output or use the backup.
I've added the "Shortcode" block and added the taxonomy view as given under:
- hidden link
Ok, now I added the shortcode. The same problem as described before: all the data is displayed, not only the current item in loop. Attached you see the screenshot and the "Katso ryhmät" is the label and there should be only one. Now it's showing all the term field data with multiple "Katso ryhmät".
I tried the old admin access details you shared but its not working.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.