Can I create a new comment type?
-
Hey, I’m not sure that WordPress natively supports this kind of functionality, but what is your use case? Exactly what are you trying to do?
I’m sure there’s a WordPress solution to your problem.
I want to make guestbook type comment, because I don’t want that every type of comment is displayed when getting only recent guestbook type comments (or getting none guestbook type comments only) by a widget. And maybe I hope that I could create another comment type which will be excluded when getting normal type comments later. Thank you.
Why not use a guestbook plugin?
Could I get only none-guestbook comments if I use guestbook plugin?
Sorry? Can you clarify?
Could I get guestbook-excluded comments only by the recent comment widget? And could I get guestbook comments only?
It might be dependant upon which plugin you use but I would imagine that it is possible to have only non-guestbook (ie regular) comments being displayed in the default Recent Comments widget. As for listing only guestbook entries, that would be dependant upon the plugin.
By any chance, could I make a guestbook by creating a custom post-type?
I think that a Custom Post Type would actually be the best way to implement this, either manually, or via a guestbook plugin that says it creates a custom post type for you.
The nature of comments in WordPress is too rigid to use it alone but if you use a Custom Post Type you’ll get all the power/flexibility of a typical post entry.
I have no idea. Comments aren’t actually Posts, so you would be trying to make apples into oranges.
Thank you so much.
The topic ‘Can I create a new comment type?’ is closed to new replies.
(@pinkhare)
12 years ago
I need to create another new comment type and I don’t mean exist custom comment types(pingback, trackback, etc).