Skip Navigation

[Resolved] Reuse the design of a view in a taxonomy archive page

This support ticket is created 5 years 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 7 replies, has 2 voices.

Last updated by ossianE 5 years ago.

Assisted by: Minesh.

Author
Posts
#1641467

I am using Toolset Blocks and would like to reuse the design of a view in a taxonomy archive page. How do I accomplish that?

Here is my structure:

CPT named "meal boxes"
- Taxonomy named "themes" - so each meal box can have several themes assigned.

What I have done so far, is to create a content template and assign it to the theme taxonomy (1) - I have also added a copy of the view inside the template (2): hidden link

My problem is that when I go to the theme archive page: hidden link - It just displays the shortcode, and it's repeated in a loop: hidden link

What I would like is for the theme taxonomy archive page to just repeat matching mealboxes like this: hidden link

The view block that I would like to repeat looks like this: hidden link

I am obviously doing something the wrong way, so I would appreciate it if you could guide me in the right direction..

Also - one more question. How do I edit individual theme archive pages? Let's say I want to add a specific text and images to the theme called "Børnevenlig" and another text and some images to the theme called "Familie"

What is the link to your site?
hidden link

#1643439

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Basically, with Blocks nested views as well as taxonomy and user views are not supported yet. I mean you can not create nested views, taxonomy and user views using blocks. For that you need to use the classic views but to ensure what you are doing is not possible with blocks view/archive:

I would like to check first how you configured your archive on your install and once I review that I will be able to guide you in the right direction.

#1644153

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

There is no way to add that way.

Can you please check now:
=> hidden link

I've used the block navigation menu and selected your column block:
=> hidden link

And added that block to reuseable block and gave the name "Reusable-block1".

Then I went to edit your taxonomy archive:
=> hidden link

And within the loop section, I've added the "Reusable-block1" and then converted to normal block from the block setting as well as I've set the archive loop output to unformatted as you can see with the following screenshot: hidden link

Can you please confirm you have the same style now.

#1646595

Hello Minesh,

Thank you very much for the solutions and good explanation with screen shots. Helps a lot with understanding how Toolset works.

Just to make sure I understand your answer fully. Are you saying it is not possible for me to have different content i.e. a textblock on the taxonomies like this hidden link - I want to add a specific description for the "Familie"-taxonomi and so on. Hope it makes sense..

If not I guess the best solution would be to make a post type for "temaer" instead of a taxonomy as it is now..

#1646605

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

well - you can now freely edit your archive loop here:
=> hidden link

And you can add/edit blocks freely now.

The previous step we took is to copy your existing structure which you added to another view's loop so we copy it successfully and now you are free to add/remove blocks to above archive loop.

#1646617

Ok, I have added a block here: hidden link that I would like to use on all "temaer" with individual text..

How do I reference that? I tried adding a single field above the archive loop: hidden link
on hidden link

Thanks

#1646643

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I've just added the "Fields and Text" block and added the following shortcode to it (removed the single field block you added)

  [types termmeta='content-above'][/types]

I can see it shows the content above:
hidden link

In addition to that, you have added the custom term field, its not a block (you are calling term custom field as blocks)

#1646779

My issue is resolved now. Thank you!