I have a mult-author site where the author page gets high traffic. People want to know more about them. I have modified the author page to show more info, some custom fields, etc. but what I'd really like to do is turn on Comments for the author.php page (so that OTHER logged in users can leave review-like messages for the Author), and ultimately offer a star-ratings type of effect so that Users can "rate" the author. I have searched for plugins and other functions but it seems like everything is for Posts or Products or something. Any insight is greatly appreciated!
|
just to add to what Rarst answered, you can create Custom Post Type not to emulate Comments but as stub posts with no ui. then to every Author on your site add a custom user metadata that will hold a post id of your newly made post type (one per each author) and in your author template before you call the comment loop\form set the global $post to that post id. something like:
Now going back and updating all of your existing users could be a pain, but for newly create user you can create the stub post type id for user metadata on registration. and you can use any rating plugin that is based on posts now that you have a post (you custom post type) associated with each author. Hope this makes sense. Ohad. |
|||||
|
|
|
Yep, mechanics of comments in WP are tightly tied to posts. Which things like archives aren't. Your options are:
|
|||
|
|
|
try GD star rating and look into the options and tweak it to be displayed only on specific pages in the settings page of GD star rating there is the following : Auto insert rating code: For individual posts. For individual pages. For posts displayed in Archives. For posts displayed on Front Page. For posts displayed on Search results make sure to choose For individual pages. then it should show on pages only If you want to exclude some pages, you might have to look into the code and exclude some pageId - but i think , this will get you a bit closer :) |
|||
|
|
protected by toscho♦ Aug 12 '12 at 18:53
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.