WordPress.org

Support

Support » Plugins and Hacks » Smart WYSIWYG Blocks Of Content » [Resolved] [Plugin: Smart WYSIWYG Blocks Of Content] Wonderful plugin – just minor tweaks

[Resolved] [Plugin: Smart WYSIWYG Blocks Of Content] Wonderful plugin – just minor tweaks

  • Thank you for this great plugin. For me this is one of the most useful plugins ever.

    I made just two minor tweaks. First one is to remove code for before and after title when title is not set.

    if ($swboc_title !== '') {
         echo $before_title.$swboc_title.$after_title;
    }

    second, change in “function form( $instance )” to prevent Notices in Debug mode

    function form( $instance ) {
    		$swboc_id = isset( $instance['swboc_id'] ) ? esc_attr($instance['swboc_id']) : '';
    		$swboc_title = isset( $instance['title'] ) ? esc_attr($instance['title']) : '';

    Thanks man!

    http://wordpress.org/extend/plugins/smart-wysiwyg-blocks-of-content/

Viewing 1 replies (of 1 total)
  • Plugin Author Coen Jacobs

    @coenjacobs

    Thanks for reporting these bugs. The first one is actually already fixed in the latest release of the plugin.

    I’ve added the second bug to the list of todos for this plugin and it will be fixed in the next version of the plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Smart WYSIWYG Blocks Of Content] Wonderful plugin – just minor tweaks’ is closed to new replies.
Skip to toolbar