[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

Use bw_options to display WordPress options fields

There may be times when you want to display the current value of an option field. Here we use the bw_option shortcode to display the value of a number of WordPress options.
optiontypecontainscurrent value
admin_emailemailE-mail address of blog administrator[email protected]
blognametextWeblog title; set in General Options[oik] plugins.com
blogdescriptiontextTagline for your blog; set in General OptionsWordPress plugins and themes
blog_charsettextCharacter encoding for your blog; set in Reading OptionsUTF-8
date_formattextDefault date format; set in General OptionsMay 24, 2022
default_categorytextDefault post category; set in Writing Options1
homeurlThe blog’s home web address; set in General Optionswww.oik-plugins.com
siteurlurlWordPress web address; set in General Optionswww.oik-plugins.com
templatetextThe current theme’s name; set in Presentationgenesis
start_of_weeknumberDay of week calendar should start on; set in General Options1
upload_pathtextDefault upload location; set in Miscellaneous Options/home/customer/www/oik-plugins.com/public_html/wp-content/uploads
posts_per_pagenumberMaximum number of posts to show on a page; set in Reading Options15
posts_per_rssnumberMaximum number of most recent posts to show in the syndication feed; set in Reading Options10
  • Note that some of them are not particularly useful when displayed out of context.

See also

  • WordPress Option Reference

Published: October 25, 2014 | Last updated: October 25, 2014

Information

Shortcode: bw_option – Display the value of an option field
Letters:

Syntax

Syntax

[bw_option
option,0="| name - Option name"
type,1="text| field_type - Field type. e.g. URL, textarea"]

Other examples

    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: [email protected]

    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-2022. All rights reserved.


    Website designed and developed by Herb Miller of Bobbing Wide
    Proudly powered by WordPress and oik-plugins