[oik] plugins.co.uk

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_background – Use attached image as the background

Use attached image as the background. There is no attached image for this post, so the shortcode displays a message: No thumbnail.

Example

oik generated example.

[bw_background]

No thumbnail

Snippet

<p>No thumbnail</p>

Published: December 15, 2017 | Last updated: December 18, 2017

Information

Shortcode: bw_background
Plugin ref: oik-css
Version: 2.0.0
Enclosed content shortcode? Needs [/code]?: No
Expands in 'the_title'?: No
Letters:

Syntax

[bw_background
id,0="current ID| ID - Post ID to find image to display"
selector,1="body| CSS selector - CSS selector for the background image"
thumbnail="full| thumbnail| medium| large - Image size to use"
post_type="attachment| post type - Post type"
post_mime_type="image| post mime type - Post mime type"]

Shortcode examples

  • bw_background – attached image
  • bw_background – with a featured image

Related pages and posts

Pages
    Posts
      Posts related by tag
        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.co.uk
          © Copyright oik-plugins 2011-2022. All rights reserved.


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