Allow more control over the track button display.

3

With the current display of the as-track-button widget, the tracking number is always shown to the left of the button and does not appear on the overlay when the button is clicked. This is a large format for some use cases where it would be nice to just have the button by itself. It would be great if there was a more compact form that would only display the button, and include the tracking number in the overlay once the user clicks the button: <div class="as-track-button" data-tracking-number="1234567890" data-format="compact"></div> Or possibly provide a way to inject a custom CSS import to allow even further customization of all widget display: <div class="as-track-button" data-tracking-number="1234567890" data-cssimport="https://myhost.com/aftership-override.css"></div> Thank you for the terrific work!


Comments

1 comment
  • I agree, why don't we load the button and the styles locally from the plugin. I've noticed at times it takes a couple seconds to show up in WordPress.

    0
    Comment actions Permalink

Please sign in to leave a comment.