WordPress.org

Ready to get started?Download WordPress

Forums

Smart WYSIWYG Blocks Of Content
[resolved] Wonderful plugin - just minor tweaks (2 posts)

  1. dariodev
    Member
    Posted 2 years ago #

    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/

  2. Coen Jacobs
    Member
    Plugin Author

    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic