[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
You are here: Home / WordPress plugins from oik-plugins / FREE oik plugins / oik-fields – custom fields plugin / oik-fields – Field Types / URL field type

URL field type

Use the URL field type to store an URL

Create an URL field type using


  bw_register_field( "_oikth_demo", "URL", "Live demonstration" ); 
  bw_register_field_for_object_type( "_oikth_demo", "oik-themes" );
 

Form display

When displayed in the Fields meta box or [bw_new] it appears like this.

oik-fields URL field

bw_fields display

When displayed by [bw_fields] it appears like this.

Live demonstration: http://oik-plugins.eu/oik2012/

Notes

It should not be necessary to use the URL field type for links to content on the current site; use noderef.

Related

  • bw_theme_field_URL() – Theme a field of type ‘URL’
  • oik-fields – requirements and implementation overview
  • oik-fields – Field Types
    • checkbox field type
    • currency field type
    • date field type
    • email field type
    • noderef field type
    • numeric field type
    • select field type
    • text field type
    • textarea field type
    • URL field type
    • Virtual field type
  • oik-fields – Field Attributes
  • oik-fields – Implementing a new custom field
  • oik-fields – unique features

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Pinterest (Opens in new window)

Published: December 3, 2013 | Last updated: December 3, 2013

Information

Component:
Letters: U

Recent plugin updates

oik-blocks v0.4.0-beta-20200209 

Upgrade for Dynamic content block oik/content-block.

 ...
oik-bob-bing-wide v1.34.1-alpha-20200209 

oik-bob-bing-wide v1.34.1-alpha-20200209 delivers an updated version of the shared library file used to display a totals rows in a table. Upgrade to be consistent with oik v4.1.0-alpha-20200209.

 ...
oik v4.1.0-alpha-20200209 

oik v4.1.0-alpha-20200209 adds the totals= parameter to the [bw_table] shortcode.

 ...
oik v4.0.0 

oik v4.0.0 is the first version of the oik base plugin to deliver blocks. Upgrade to start using these blocks today.

 ...
UK-tides v2.0.0 

UK-tides v2.0.0 delivers the UK tides block. The plugin no longer requires the oik base plugin.

 ...

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

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


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