Skip Navigation

[Resolved] archive problems

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

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 4 years, 3 months ago.

Assisted by: Waqar.

Author
Posts
#1793301

YOU WILL NEED TO LOG IN. to do so automatically, click here: hidden link

I am trying to create a searchable/filterable archive for my CPT 'hoses' here: hidden link

i want it to look like the one i created here: hidden link but obviously it is very different, since the restults are not displaying in a table as intended.

the 'hoses' archive is not displaying as a table as intended. it was working for a while, but has recently stopped and I dont understand why. here is the archive: hidden link

#1795205

Hi,

Thank you for contacting us and I'd be happy to assist.

While checking the WordPress Archive "Hoses", I noticed that it is calling the "Hoses Singular" content template in the "Loop Editor":


<wpv-loop>
	<tr>
		[wpv-post-body view_template="hoses-singular"]
	</tr>
</wpv-loop>

But, since you've set the layout of this archive to use the table structure, using the "Hoses Singular" content template won't work, as it has totally different structure/layout.

To fix this table, you can replace the above-referenced content in the "Loop Editor" section with:


<wpv-loop>
	<tr>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
	</tr>
</wpv-loop>

Please note how I've included a cell for each of the twelve columns and you can then add the correct shortcode for the respective field, in its corresponding "<td></td>" tag, matching the order from the table's header row.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar