Skip Navigation

[Resolved] Putting archive views inside a grid

This support ticket is created 4 years, 1 month 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.

This topic contains 2 replies, has 2 voices.

Last updated by ianM-9 4 years, 1 month ago.

Author
Posts
#1876709

Tell us what you are trying to do?
I want to make a custom sidebar, the current sidebar from my theme is right, so I need to make a custom one. I want to put the archive loop into one column and the side bar into the second column. At the moment, I'm putting the grid inside the loop so the bar is repeating with each post, so I know I need to put the loop inside the grid, but I can't work out how to make this happen.

The documentation tells me "To change grid options for your View, select the View Loop block and expand the Grid Settings section. Tweak the options for your View’s grid output" but I can't find the Grid Settings section.

Is there any documentation that you are following?
https://toolset.com/course-lesson/responsive-columns-and-grids/

Is there a similar example that we can see?
Here's the issue: hidden link
Here's what I want to create: hidden link

What is the link to your site?
hidden link

#1876997

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2020-12-15 at 14.58.48.png
Screenshot 2020-12-15 at 15.01.09.png

You want to create a custom archive with a sidebar?

The first issue would be about preventing the theme from displaying its normal sidebar on the custom archive page, and you may want a full-width page layout. There may be something in the theme settings to disable the sidebar, and if you are using a recommended theme then you may have theme options available to you on the custom archive page you design with Toolset that would give you that choice.

Assuming you manage to suppress the theme sidebar then you can add a pseudo-sidebar where you edit the custom archive (at Toolset > WordPress Archives).

It's tricky, for sure.

At the end of the archive insert a grid block, with the expected 2-column layout.

That will leave a couple of areas to add blocks within the grid cells, which also act as drop zones if you drag and drop blocks. So use the Block navigator to select the WordPress Archive Output block and then drag it one to the drop zone for the relevant grid cell, as shown in the first screenshot.

The second screenshot shows what you are aiming for in terms of the structure.

Please give that a try and let us know how you get on.

#1877253

Nigel, you're amazing. Thank you.
My issue is resolved now. Thank you!