WordPress.org

Ready to get started?Download WordPress

Plugin Directory

BNS Inline Asides

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.

Why doesn't the "Rant" type work with the "H" tags?

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.

How can I style the plugin output?

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:

  • .open-aside.bacon
  • .close-aside.bacon
  • .bnsia.aside.bacon
  • blockquote.aside.bacon

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.

How do I use the 'show' and 'hide' parameters?

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: 3.9.1
Last Updated: 2014-5-3
Downloads: 1,875

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,3,3
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1