0

For my Wordpress application I want to create a section with user reviews. The reviews will not be added by the user but comes by e-mail and should be added by the administrator.

I created a plugin already to set a new admin top level menu named 'User reviews'. In this plugin I will create a widget too to show the inserted data later in the template.

What I try to reach in the admin page is something like this.

  • Click on menu item 'User reviews';
    • Admin can add a new user review
    • All written user reviews are displayed
    • Admin can modify a review

I am wondering how things work with Wordpress to create something like this. Do I need to create new table fields by myself? Do I put custom code to my plugin admin to make things work? (I can program with php/mysql). Or do I use Wordpress classes to create this all?

I don't need to know something such as an option page because this is what I found a lot on the internet and not really what I am searching for(?)

4

1 回答 1

1

Create a custom post type, and when a visitor creates a new "review" with your custom form create the post with a status of draft. Email a link to the administrator for them to edit the review. When the administrator approves / rejects it, they can publish / delete it.

于 2013-10-22T13:00:37.277 回答