Mad Mimi for WordPress
[resolved] 'title'=>true does not work (1 post)

  1. Inimist Technologies
    Posted 5 years ago #

    I tried <?php echo madmimi_show_form(array('id'=>3, 'title'=>true)); ?> in my template file but it would not show the title rather it shows 1 instead of the title. I found that when you set title=>true php converts true to "1" (may be due to different config of php) and then the plugin does not meet a condition if(!isset($atts['title']) && strtolower($atts['title']) != 'false' && $atts['title'] != "0" || strtolower($atts['title']) == 'true') you compare near line 385 of madmimi-widget.php hence it shows 1. I think you need to add additional check for this. Right now if i do 'title'=>'true' it works fine but not 'title'=>true.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Mad Mimi for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 5 years ago by Inimist Technologies
  • This topic is resolved
  • WordPress version: 3.1.2