Skip Navigation

[Geschlossen] Show taxonomy of Posts in an Archive

This support ticket is created vor 2 Jahre, 11 Monate. There's a good chance that you are reading advice that it now obsolete.

Dies ist das technische Support-Forum für Toolset – eine Suite von Plugins zur Entwicklung von WordPress-Websites ohne PHP-Pogrammierung.

Jeder kann in diesem Forum lesen, aber nur Toolset-Kunden können darin Beiträge veröffentlichen. Der Toolset-Support arbeitet 6 Tage pro Woche, 19 Stunden pro Tag.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 13 Antworten, has 3 Stimmen.

Last updated by Shane vor 2 Jahre, 10 Monate.

Assigned support staff: Shane.

Author
Artikel
#1676311

Tim
1650753-SnipImage_03.jpg
1650753-SnipImage_02.jpg
1650753-SnipImage_01.jpg

Hi toolset team,

I have a page that lists movies (posts).

In my archive the movies are listed per category.

Now I would like to see in this list per film, in which categories and taxonomies the film belongs to.

Not on the post itself but in the archive for each post itself.

Neither the call via [wpv-post-taxonomy type="kult-genre"] nor the call via "View" works?

For each taxonomy I have created extra images that I want to display as icons in the archive posts, so that the visitor can see immediately in the archive what the individual posts belong to.

Enclosed I have sent pictures.

do you have an idea how to implement this?

With kind regards Tim

See this:
https://toolset.com/de/forums/topic/show-taxonomy-of-posts-in-an-archive/

Translated with hidden link (free version)

#1677029

Hello, this is unusual. There is one known issue where the Content Template applied to a View's loop, when displayed in a taxonomy archive, is empty: https://toolset.com/errata/the-loop-content-template-of-a-taxonomy-view-placed-inside-a-wordpress-archive-returns-nothing/

However, your View shows "No results found" instead of a blank template, so I don't think that is the problem here. Furthermore, it does not explain why the wpv-post-taxonomy shortcodes are not working.

As a test, please place the following code directly inside the wpv-loop tags and temporarily remove the WordPress Archive 1 - Schliefen-Objekt template from the loop:

[wpv-post-link]<br />
[wpv-post-taxonomy type="kult-genre"]<br />
[wpv-post-taxonomy type="kult-schauspieler"]<br />
[wpv-view name="kult-kategorien"]<br />

Let me know the results of this test and we can continue troubleshooting.

#1681101

Tim
200629_Archiv.jpg
200629_Archiv_02.jpg

Hello Christian :),

I tried your test, replaced the "WordPress Archive 1 - Loop Object" with your direct code, and just like before it works with only one post (movie) and all others show nothing or "No results found".

I have attached two screenshots.

Do you have any other ideas?

With kind regards Tim

#1685689

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tim,

As Christian is currently on vacation I will be having a look at this ticket for him.

Checking on the screenshots its quite possible that some relationship data is a miss. I would need to perform an investigation on the page to see why the view is returning No Results Found.

Would you mind providing admin access to the site so that I can check this out for you ?

Please send me the exact link to the page in your screenshot.

Thanks,
Shane

#1686109

Tim

Hi Shane,

we had a ticket before this ticket: Look here
https://toolset.com/de/forums/topic/show-taxonomy-of-posts-in-an-archive/

there you can find the admin access again i created for you.

And heres the Link to the Site on my Screenshot:
hidden link

#1687037

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tim,

The problem seems to be that the view isn't getting your current taxonomies from the archive page.

Can you let me know which plugin you used to create the post type here.
hidden link

There is an issue with the view being able to retrieve the contents of it.

Thanks,
Shane

#1688221

Tim

Hi, Shane,

the plugin that creates the contributions is called "WP Movie Library" as you can see in the link.

with the shortcodes provided by the plugin, the calls to the plugin's own taxonomies in the archive list work without problems.

With kind regards Tim

#1690223

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tim,

What seems to be happening is that the shortcode isn't able to pick up any of the post category information.

I'm still checking on this for you.

Thanks,
Shane

#1703203

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tim,

I would like to know if I can run a few tests on the site such as deactivate a few plugins.

I took a copy of the movies plugin to see if it was the issue on a testing site, but I was able to create an archive and list out my taxonomies successfully.

So it seems that something else is at play here.

Please let me know.
Thanks,
Shane

#1705911

Tim

Hi, Shane,
i will make a duplicator created copy under a subdomain, then you can test there without any problem.

Either tomorrow or the day after tomorrow I will send you the login data 🙂

With kind regards Tim

#1705915

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tim,

Thanks, I've enabled the private fields for your next response so that you can provide me with the info once its ready.

#1715011

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2020-07-22 at 10.29.56 AM.png

Hi Tim,

I've found the issue. It seems that your taxonomy isn't showing up on your filme post type. Take a look at my screenshot

I'm not seeing Kult-genre only Genre, i'm not sure why this is so.

Did you populate this manually or was it done through an import? Even when I wrote a custom shortcode to get the taxonomy it isn't returning it so I suspect this is the cause of the issue.

If I change the shortcode to get the Genre from the screenshot it works fine.

Thanks,
Shane

#1719127

Tim

Hi, Shane,

I don't know why the taxonomies don't show up in the movies there. The taxonomies are cult genres, cult actors and so I created them manually via toolset and told them to be available for movies. But they are not displayed.

The post-type movies and the taxonomies collections, genres and actors from the screenshot were all created by the WP-MovieLibrary plugin.

Do you have an idea how to display/activate the categories i created by Toolset in the screenshot?

Translated with hidden link (free version)

#1719719

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tim,

Its just this post type. However I see in their settings that they made a special toggle to allow for the default wordpress taxonomy categories.

What could be happening here is that the plugin doesn't allow for the use of custom taxonomies and allows only its custom created taxonomies to be attached to the post type.

I would suggest getting in touch with the support team for this plugin in order to get some clarity on how to support custom taxonomies.

I've also tried creating a custom taxonomy for this Post Type using another plugin but the result is still the same. It doesn't show up.

Thanks,
Shane

Das Thema „[Geschlossen] Show taxonomy of Posts in an Archive“ ist für neue Antworten geschlossen.