Support » Plugin: WordPress Petition Plugin » [Plugin: WordPress Petition Plugin] How to hide custom field answers?

  • Hi

    I just wondered if anyone could help – I’m using this plugin for a pledge rather than petition and popped a Yes/No question in. I have tried to make it so that this doesn’t show on the list of those who have signed but it still shows up.

    Sorry, I might be being a bit daft with this but if anyone has any ideas that would be great!

    If you want to see how it’s being used I’ll pop the link to the site up…

    Joe 🙂

    http://wordpress.org/extend/plugins/wordpress-petition-plugin/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yeah it seems as if the hide field and publish field are being reversed?

    so on line 1023
    if($row->hide == 1) { $lmsg = __(" (won't be published)","fcpetition");} else { $lmsg = "";}
    becomes

    if($row->hide == 0) { $lmsg = __(" (won't be published)","fcpetition");} else { $lmsg = "";}

    and

    on line 1103
    if($hide[$fieldname] == 1){
    becomes
    if($hide[$fieldname] == 0) {

    I think.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WordPress Petition Plugin] How to hide custom field answers?’ is closed to new replies.