Skip Navigation

[Resolved] Layout for Event Archives fails

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

Problem: I am only able to see information about one post in my archive.

Solution: When using Layouts, be sure to add a WordPress Archive cell to the archive Layout.

Relevant Documentation:
https://toolset.com/documentation/getting-started-with-toolset/customize-post-archives/designing-archives-with-toolset-layouts/

This support ticket is created 5 years, 11 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 5 replies, has 2 voices.

Last updated by cyrilT82 5 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1162151

WIth WP 5 + latest ToolSet plugins I created a custom post "event" with custom fields and a special seach view.

Everything works as planned

hidden link is my search event view
hidden link is the detail page of event1
hidden link is the detail page of event2

hidden link is the event archive wich displays both event (event1 and event2)

but when I created an event archive layout (hidden link) with toolset now hidden link only displays event1. Event2 is no longer displayed on the archive page

What did I forgot please ?

thanks

cyril

#1162152

I must add that if I create the event archive from the hidden link the archive page result is good.

but If I create it from the layouts page (hidden link) I only see the first event in the archive page

thanks

cyril

#1162491

Hi, can you take a screenshot of the Layout editor in wp-admin so I can see how your archive Layout is put together? If a WordPress Archive cell is used in the Layout editor, please copy + paste the contents of the WordPress Archive Loop for me to review.

#1163039
wp_archive.JPG
create-archive-layout4.JPG
create-archive-layout3.JPG
create-archive-layout2.JPG
create-archive-layout1.JPG
before_creating_layout.JPG

Hi Christian

I can't understand why there are two locations where we define archives for a custom post: the WP archives and the layouts

I attach screenshots:

before_creating_layout.JPG: the ToolSet dashboard without creating a layout for the events archives
wp_archive.JPG : the archive definition for the events

at this time the hidden link displays ALL the events

Now, from the ToolSet dashboard if I click on the "create archive" button I go to hidden link
with the following screenshots sequence

create-archive-layout1.jpg
create-archive-layout2.jpg
create-archive-layout3.jpg
create-archive-layout4.jpg

and now hidden link only displays "event1"

Thanks for your help !

cyril

#1163150

Okay the problem here is you are trying to use a Visual Editor cell to display the archive results in this Layout. If you place a Visual Editor cell, there is no "loop", so only one post will be displayed. Instead, you should insert a WordPress Archive cell. Then in that cell, you can select the WordPress Archive you already created for Events or you can create a new WordPress Archive.
More information about using Layouts with WordPress Archives here: https://toolset.com/documentation/getting-started-with-toolset/customize-post-archives/designing-archives-with-toolset-layouts/

#1163175

My issue is resolved now. Thank you!