Dear Sirs,
I would like to create a custom post and view that will have the attached screenshot layout.
Please let me know what steps to follow. I have already created some other posts but they weren't like a gridview as this one.
Ideally will be to have a button to add extra lines too.
Thank you so much
Hello,
It is possible with table layout. For example, see below test site:
Login URL: hidden link
1) Dashboard->Toolset-> Settings-> General:
hidden link
in section "Editing experience", enable option: Show both the legacy and Blocks interface and let me choose which to use for each item I build
2) Dashboard-> Toolset-> Views, create a post view:
hidden link
- Query your custom posts
- In section "Loop Editor", display view's loop, like this:
...
<wpv-loop>
[wpv-item index=odd]
<tr>
[wpv-post-body view_template="loop-item-in-create-a-gridview"]
</tr>
[wpv-item index=even]
<tr style="background: gray;">
[wpv-post-body view_template="loop-item-in-create-a-gridview"]
</tr>
</wpv-loop>
...
See the result page:
hidden link
My issue is resolved now. Thank you!