Skip Navigation

[Resolved] Empty [wpv-post-taxonomy] type after updating Toolset Types 2.2.9 > 3.3.3

This thread is resolved. Here is a description of the problem and solution.

Problem: I'm using the CPT-onomies plugin to create taxonomies out of custom post types. The wpv-post-taxonomy shortcode worked prior to Types 3, but now it's not working.

Solution: It turns out there's not much we can do to make this shortcode work with pseudo-taxonomies created by the CPT-onomies plugin. Even the CPT-onomies plugin documentation mentions that some taxonomy functions won't work correctly, see FAQ #1: https://wordpress.org/plugins/cpt-onomies/

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 8 replies, has 2 voices.

Last updated by Christian Cox 5 years, 4 months ago.

Assisted by: Christian Cox.

Author
Posts
#1302011

I am trying to:

Show a field's content : <div class="pull-right">[wpv-post-taxonomy type="numeros" separator=", " format="link" show="name" order="asc"]</div>

I expected to see: "Numéro 146" without quotes
As in the example in the old site w/ WP 4.7.5 and Toolset Types 2.2.9 : hidden link

Instead, I got: empty/nothing
As in the example in the new site w/ WP 5.2.1 and Toolset Types 3.3.3 : hidden link

#1302339

Hi, can you explain how the Numeros taxonomy is created? I don't see it in Toolset > Taxonomies, so I assume it is from another plugin or from custom code. I don't read French very well so I am not sure where to look.

#1302419

I did't make the website so I don't know where numero taxonomy was created, but it's right there in the old site (www.nealmorgan.net -> click the "articles" menu select and article, its in the top-right corner of the body.

"Numero" is listed in CPT-onomies plugin but also as a Post Type in Toolset Types 3.3.3.

Back in the admin, (either the new or the old site) I can see the field "numero" (right side column)in two post types: "Commentaires de lecture" and "Articles". A third post type "Numéros" produces the items (Numéro 100, Numéo 101, etc). For example, I created and published "Numéro 155c" for testing and it appears as an item in field "numero" in the above two post types' post editors.

I'm desperately trying to make the corresponding item "Numéro xxx" appear in each post single model as selected in the editor. But the result is empty ever since I upgraded Tool Types to 3.3.3. BTW, this is also the case for other [wpv-post-taxonomy type="xxx" as in the archive commentaires de lecture.

thanks for you help!!

#1302487

I downloaded the Duplicator package you provided and activated Types 2.2.9, but I can't see the problem. The taxonomy still does not appear. Can you provide a Duplicator package from the old site, prior to the update? Please filter out uploads and any -old directories so I don't have to download 3.5GB. It will save time. Thanks!

#1302879

I removed cache and downloads. Thanks!
hidden link

#1303137

Okay I am asking my 2nd tier support team to take a look, because I'm able to replicate the same problem in a site starting in Types 2.2.9 / Views 2.3.2, and updating to Types 3.3.3 / Views 2.9. However, I'm not sure if wpv-post-taxonomy shortcode is designed to work with these pseudo-taxonomies, and I'm not sure how it worked before. I'll ask if there is anything we can do here for compatibility with this plugin. Please stand by and I'll let you know what I find out.

#1303799

It turns out there's not much we can do to make this shortcode work with pseudo-taxonomies created by the CPT-onomies plugin. Even the CPT-onomies plugin documentation mentions that some taxonomy functions won't work correctly, see FAQ #1: https://wordpress.org/plugins/cpt-onomies/
So if I were trying to get links to these cpt-onomy archive pages to display, I would contact their support team. Perhaps they can provide a workaround that will help you display the links you need. From our end, the wpv-post-taxonomy shortcode will only work with true taxonomies, which this cpt-onomies plugin does not create.

#1310261

I'll try getting in touch with CPT-onomies plugin support, thanks!

I got the field's content to show up with a php edit in my them's files, for example in the file "single.php".
I got the idea from this support ticket : https://toolset.com/forums/topic/filtering-data-by-taxonomy-relationship/

Thank you for your awesome support service!

#1310495

Good luck!