• Resolved opensourceninja

    (@opensourceninja)


    My site has a separate page on which I make clear my normal choice of CC license. There is no point in displaying a visible license text block on every page/post/media item. I use this plugin because I do still want the ability to specify different licenses for different items.

    I would like the option to display the visible license text block only on items for which the license is different from my default, while still adding machine-recognizable license information to everything.

    I would just add a license shortcode wherever I want license information to be visible, but I fear that might lead to inconsistency if a post’s metadata specifies one license but the shortcode specifies a different one.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author George Notaras

    (@gnotaras)

    Hello,

    I’m sorry for the late reply. This is a very interesting request and I’ll consider adding an option for such a behavior in a future release.

    Time permitting I’ll look into how this can be done with the current latest version and reply back with some sample code.

    Thanks for your feedback.

    Kind Regards,
    George

    Thread Starter opensourceninja

    (@opensourceninja)

    Thanks man ??

    Plugin Author George Notaras

    (@gnotaras)

    Hi,

    This will possibly be implemented in 1.8.14 or 1.8.15.

    It will be possible to enable this functionality very easily via a filter-based switch for now (maybe this becomes a configuration option in the future). When enabled, no licensing information will be displayed under the content, if the content’s license is the same as the default license as set in the plugin’s admin panel. Licensing information will still be added in the HTML head section of the page and in feeds. I’m a little puzzled about what should happen with the widget. I tend to think that the widget should always be displayed.

    Your feedback is welcome on this. (Please use Github for faster communication. User pinging does not work for me in this board).

    I’m going to mark the topic as resolved here.

    Kind regards,
    George

    Plugin Author George Notaras

    (@gnotaras)

    Hi @opensourceninja

    This feature will be available in the next release. In order to enable it, add the following in your theme’s functions.php:

    add_filter( 'bccl_suppress_license_if_default', '__return_true' );

    Kind Regards,
    George

    Thread Starter opensourceninja

    (@opensourceninja)

    Thanks again George. If I have any more feedback to give (can’t think of any at the moment), I’ll use GitHub as you requested.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Feature request: conditional display of license text’ is closed to new replies.