Hello again,
the use case you have in mind, the one I outlined currently is not possible with the plugin as it is right now. For me to implement such this feature would require a complete rewrite of the plugin.
The thing is, that use case with books and reviews being separate entities was the original plan for the plugin. However when I started to implement it I found out the WP database doesn’t have an interface to easily build “one-to-many” relationships with custom post types. For me to implement this myself would involve writing my own database methods and queries, along with my own database table inside WordPress. So I decided this would be too much of a challenge for my first official plugin, which may lead to technical depth down the line.
With that said, I was thinking how I would approach this if I were you, using the plugin as it is. What I would do is, firstly, change the plugin slug to book
. Your website would then refer to the custom post types as “books”. Then create a new book, fill out all the required information for the book such as the title, publisher, series, etc. Save the book without any actual review content. Then create a regular WP post and use the “Add Review” button to add the book and its information to the post via the [rcno-reviews]
shortcode. When you publish the post you’ll have the book’s information embedded in the post. This way many user posts could be attached to one book.
How would this solution work for you?