Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.
Problem:
The issue here is that the user wanted to create a taxonomy view with a post view to display their information in the format.
Taxonomy A
- Custom post type 1
- Custom post type 2
- Custom post type 3
Taxonomy B
- Custom post type 4
- Custom post type 5
- Custom post type 6
This support ticket is created vor 5 Jahren, 2 Monaten. 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.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
Hello Shane. First of all.... thanks for your answer.
1. I attached an screenshot of that I want to do. That screenshot is from other site where i have a page with a nested view. I want to do the same in archive page.
2. I tried that you wrote me here, but I have some problems because i think that I don't understand it.
Following your instructions I created a view filtered by a shortcode parameter and filter using the slug of the taxonomy. I can access to the posts filtered like this [wpv-view name='areas-levels' wpvtipologia='derecho-mercantil']. It works fine if I write the slug and I insert it in a page. However... I don't know where I can insert that shortcode in archive to get all posts filtered by taxonomy like as my screenshot.
And... how can I get taxonomy slug if the posts inside the archive?
Hi again Shane, and sorry to disturb again, but I think that I amb doing anything wrong.
I created the view areas-levels that list services (posts) and have this filter -> Tipologias slug (taxonomies) en uno de lo definido por el atributo del shortcode de la view wpvtipologia --> p. ej., [wpv-view name="view-name" wpvtipologia="xxxx"]
I have services archive that show all servicios and the loop editor output is
I think that we're talking about different things. From the beginning to know.
1. areas-levels is a view that show services and have a filter filter -> Tipologias slug (taxonomies) en uno de lo definido por el atributo del shortcode de la view wpvtipologia
2. Servicios archives is a wordpress archive that list services and i use the view areas levels in loop item editor in this way: [wpv-view name="areas-levels" wpvtipologia="[wpv-taxonomy-slug]"]
The result is versteckter Link instead of versteckter Link.
So what you can do is to add your nested view that works to this.
[wpv-items-found]
You view shortcode goes here
[/wpv-items-found]
So instead of the archive producing its own loop, it is using views to generate the content in the format that you want since you mentioned that you've achieved this with views.
However I had to create a duplicate version of the view "Vista de tipologias" called Duplicate A. This is because there is a bug with views and the archive where if you add a view to an archive and it is using a content template then the results will show blank.
The solution is to add the loop output directly to the loop editor like this.