• Hello,

    I’m pretty new to WordPress, but I’ve been developing Joomla extensions for some time, so I’m not a complete stranger to PHP and using other APIs, I’m just a bit lost on where to start with WordPress extensions XD

    I need to write a comments component for my employers, or modify the existing one. I need to add 3 custom fields to what is already there:
    We want to know the job title and organisation of the people posting comments, and provide an option to remain anonymous.

    We want the job title and organisation fields to be mandatory, and we want it so that if you tick the anonymity checkbox, then your name does not appear on the site. This way we can still gather information for internal purposes, and provide the option for commentators to hide their identity to other users.

    I think it should be pretty straightforward, but again I’m not sure how it all works. I need to find out things like SQL injection sanitisation methods (if any are built in and how to call them, or if I need to write my own), general structure of an extension, and if there are any special database interaction functions.

    If anyone can point me in the right direction, that would be very much appreciated, thank you ^_^

The topic ‘Comments plugin – where to start?’ is closed to new replies.