[oik] plugins.com

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog

bw_css – Add internal CSS styling

Add internal CSS styling. Note: This shortcode works against enclosed content; You need to use the shortcode end tag.

Example

When the <code> tag follows a <p> tag use a 14px font and different colours

[bw_css ]p> code { font-size: 14px; color: white; background: #333; }[/bw_css]

Elsewhere display <code> in blue.

[bw_css ]code { color: blue; }[/bw_css]

Use a parameter to cause the CSS to be shown.

[bw_css .]td code b { color: darkblue; }[/bw_css]

td code b { color: darkblue; }

Published: July 9, 2013 | Last updated: February 20, 2014

Information

Shortcode: bw_css
Plugin ref: oik-css
Version: 2.1.0
API ref: oik_css() – Implement [bw_css] shortcode
Enclosed content shortcode? Needs [/code]?: Yes
Expands in 'the_title'?: No
Letters:

Syntax

[bw_css
.="| any - Display the CSS"
text="| any - Display the CSS with this annotation"]

Shortcode examples

  • bw_css to add custom gradient background, drop shadow and opacity
  • Using bw_css to style divs

Related pages and posts

Pages
    Posts
      Posts related by tag
      • oik-css WordPress plugin on WordPress.org
      • oik-nivo-slider v1.12 now with full HTML captions
      Posts related by category name

        Plugins

        • All Plugins
        • oik base plugin
        • FREE oik plugins
        • WordPress plugins
        • Premium oik plugins

        Themes

        • FREE themes
        • Bespoke themes
        • Premium themes

        Blocks

        • All Blocks
        • Block examples
        • About Blocks

        Shortcodes

        • All Shortcodes
        • Shortcode examples
        • About Shortcodes

        Reference

        • About APIs
        • All APIs
        • All Classes
        • All Files
        • All Hooks

        Support

        • Contact
        • Cookies policy
        • Get API key
        • Privacy
        • Request support
        • Sitemap
        • Stay informed
        • Terms and Conditions
        oik-plugins
        Email: oikplug@oik-plugins.com

        Weight shipping plugins

        Find out which cart weight shipping plugin you need for your WooCommerce site.
        Which cart weight based plugin do I need?

        Site:  www.oik-plugins.com
        © Copyright oik-plugins 2011-2023. All rights reserved.


        Website designed and developed by Herb Miller of Bobbing Wide
        Proudly powered by WordPress and oik-plugins
        WordPress 6.1.1. PHP: 7.4.33. Memory limit: 768M