Can't get hold of Custom Taxonomy created with Pods

WordPress
14 February, 2020 03:35:43
pelZONE
Topics: 2
Messages: 6
Hi as the Title sais it I am trying to get hold of a custom taxonomy created with the Pods Plugin in Wordpress.
Within WP I can use this taxonomy to create archive and category views, Link it in the Navigation and search for it within WP, but I can't figure out how to get hold of it and display it on a created pdf.

I looked through the documentation but coundn't find a way to grab that data

Maybe you guys have a tip for me.

Thanks in advance
14 February, 2020 06:05:42
Oleksandr
Support
Topics: 4
Messages: 1087
Hi,

At this moment E2Pdf Templates can be connected to custom post types but not to taxonomies directly. E2Pdf can get taxonomies which are connected to page/post.

We checked Pods plugin and it seems all working like expected but we are not sure that you need to complete same task.

Here is the process how we tested it with E2Pdf:
- It were created custom post type and custom taxonomies (screenshot 1)
- Added new post with custom field and custom taxonomies (screenshot 2)
- Created E2Pdf Template which is connected to this custom post type (screenshot 3)
- Mapped neded fields and added manually shortcode to output taxonomies (screenshot 4)
- We were able to export custom fields data and taxonomies from this post via "E2Pdf" -> "Export".

Shortcodes that can be used with custom post type can be found at https://e2pdf.com/extensions/wordpress.

We remain at your service.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
17 February, 2020 02:00:29
pelZONE
Topics: 2
Messages: 6
I did as suggested and it it looks like I'm getting an array as result (screenshot)
17 February, 2020 02:16:39
Oleksandr
Support
Topics: 4
Messages: 1087
Hi,

To output value from serialized array it's need to use "path" attribute with [terms key="x" path="0.name"] shortcode as example.

path - Used to navigate and output value from serialized value array. To unserialize output string and detect correct path you can use services like: https://www.functions-online.com/unserialize.html

We remain at your services.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!
17 February, 2020 02:24:53
pelZONE
Topics: 2
Messages: 6
That's it!
Thank you so much. The path attribute did the trick.