I tried to use customize blog by repeater with following website:
1. But the Author information didn't connect to the dataset, so it couldn't connect to the text in the repeater. I wanted to appear the author name on it.
2. I wanted to make all blogs display on the home page and it can switch pages. But the repeater can only display like 20 articles and cannot switch by page like my page right now:
Please help if you have any solutions. Thank you!!
Hey!
Thanks for reaching out!
Unfortunately, at the moment author names are not included in the posts collection. But you can use a workaround - create a new collection, where you have to link posts to Author names. To get Author for the repeater item, add a dataset using the Authors collection with a filter to the posts dataset using condition "Same as".
And for the pagination issue you can check suggested solution in the Wix Corvid community forum:
https://www.wix.com/corvid/forum/community-discussion/connect-pagination-bar-to-dataset-and-repeater-using-code
I hope this helps!
Thanks for your reply, but how can I link my posts to Author names?
Can I download the csv file for the Author name with the post?
To link your posts to author names, you have to create a new collection with one column with author names and another with posts. Set this column as multi-reference type and point to Posts collection:
You will be able to export this custom collection to csv.
@Julius Seskevicius
Thanks for your reply, I've created a new collection with post title and author name.
It worked in preview, but it failed on the real website.
Preview:
Failed on real website:
How to get it work on the website?