This plugin will allow you to style sections of the post, or page, content with added emphasis by leveraging a style element from the active theme.
Not all possible combinations of existing BNS Inline Aside types have been set as defaults. Please feel free to add the bns-inline-asides-custom-stylesheet.css option and create your own combinations ... ... and let us know about them. We would be very happy to consider adding them as defaults.
To add your own custom aside type styles you might consider creating a new stylesheet in this plugin's folder using the name: bnsia-custom-types.css
The plugin will create a class name from the custom aside type you use in your shortcode. For example,
[aside type="bacon"] will generate these classes you can style:
This method can also be used to over-write the Pre-Defined Aside Types styles as the bnsia-custom-types.css file loads after the main stylesheet.
The bnsia-custom-types.css stylesheet should not be over-written by updates.
If you do not want to use the default 'show' and 'hide' parameters, you can change them to your own preference in each instance of the shortcode. If you want your aside type to be dynamically inserted into the message simply use the
%s placeholder in your custom message.
Here are some examples:
[aside type="bacon" show="Want to see my <em>%s</em>?" status="closed"]
[aside type="soup" hide="No %s for you!"]
Requires: 3.6 or higher
Compatible up to: 4.4
Last Updated: 12 hours ago
Active Installs: 60+
Got something to say? Need help?