• Resolved sfoxe

    (@sfoxe)


    Loving the plugin, and encourage any Bootstrap theme to use it.

    One area that would make a world of difference for us is the ability to filter the Button URL in $attributes before passing to the template. The main goal would be to allow the use of shortcodes in the URL, which would add flexibility to manage URLs between staging environments + production easily.

    If anyone else would find this useful please comment and add weight to the request.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor tschortsch

    (@tschortsch)

    Thanks for your kind words. What you probably could do to achieve what you want is overwriting the button.php template inside your theme and do the requested logic in there (see https://github.com/liip/bootstrap-blocks-wordpress-plugin#templates for documentation)?

    Thread Starter sfoxe

    (@sfoxe)

    Absolutely… great suggestion!

    Typically, I prefer filters as it avoids template incompatibility issues as plugins are updated (like we often face with WooCommerce). Your suggestion is very well received though, and it does solve this immediately which I appreciate. Champion.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feature request: do_shortcodes, or add filter on button URL’ is closed to new replies.