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
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