WordPress plugin intelligence profile

NW Company Profile

NW Company Profile はウェブサイト内で汎用的に利用する基本情報を管理できるプラグインです。

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.4
Current version1.0.2
WordPress coverageTested up to WordPress 5.4
Minimum stackWP 4.9.13 · PHP 7.0
Directory statusactive
Last directory update20 Jun 20233y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records NW Company Profile version 1.0.2 as active, updated 3y ago and tested up to WordPress 5.4.

Overview

About this plugin

NW Company Profile はウェブサイト内で汎用的に利用する基本情報を管理できるプラグインです。

How to get options?

IDを指定して設定値を取得する

NWPF::get('sample01')

IDを指定してラベルを取得する

NWPF::get_label('sample01')

IDを指定してラベルと設定値の配列を取得する

NWPF::gets('sample01')

すべてのオプションのラベルと設定値の連想配列を取得する

※設定値が空のオプションは取得しません。

NWPF::gets()

パラメータを設定して複数のオプションのラベルと設定値の連想配列を取得する

※設定値が空のオプションは取得しません。

NWPF::gets( array( 'key' => array( 'sample01', 'sample02'), 'exclude' => false )

  • key – 配列にて複数のスラッグを指定します。[exclude]パラメータの真偽値に従って取得する配列が異なります。(初期値:NULL)
  • exclude – trueを指定すると[key]パラメータに含まれるスラッグを取得対象から除外します。(初期値:false)

グループを指定してラベルと複数のオプションのラベルと設定値の連想配列を取得する

NWPF::get_group('group_name')

住所情報を連結して出力する

※設定値が空のオプションは取得しません。

NWPF::get_address()

任意の位置に範克スペースを挿入する場合は引数を指定します。

NWPF::get_address('sp1' => false, 'sp2' => true, 'sp3' => true)

  • sp1 – “zip”に設定値がある場合、その直後に半角スペースを挿入します。(初期値:true)
  • sp2 – “address1″に設定値がある場合、その直前に半角スペースを挿入します。(初期値:false)
  • sp3 – “address2″に設定値がある場合、その直前に半角スペースを挿入します。(初期値:false)

How to output options?

配列の出力

$option = NWPF::gets('sample01'); echo 'Label: `. $option[0]. '<br />'.

'Value: '. $option[1];

連想配列の出力

$options = NWPF::gets(); foreach( $options as $option ): echo 'Label: `. $option[0]. '<br />'.

'Value: '. $option[1]; endforeach;

本プラグインに定められた形式でHTMLを出力する

NWPF::display()

  • key – 配列にて複数のスラッグを指定します。[exclude]パラメータの真偽値に従って取得する配列が異なります。(初期値:NULL)
  • exclude – trueを指定すると[key]パラメータに含まれるスラッグを取得対象から除外します。(初期値:false)
  • address_label – 連結された住所情報が出力される場合、その項目のラベルを指定できます。(初期値:’所在地’)
  • sp1 – “zip”に設定値がある場合、その直後に半角スペースを挿入します。(初期値:true)
  • sp2 – “address1″に設定値がある場合、その直前に半角スペースを挿入します。(初期値:false)

-

sp3 – “address2″に設定値がある場合、その直前に半角スペースを挿入します。(初期値:false)

-

NW系プラグインについて

  • 本プラグイン以外にもNW系として複数のプラグインを作成しています。
  • すべてのNW系プラグインの設定画面は同一のトップレベルメニューのサブメニューとして追加されます。
  • トップレベルメニューのラベルはプラグイン上で変更が可能です。
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • basic
  • company
  • information
  • nakweb
  • profile
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.4

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.4.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.4
Minimum requirementsWordPress 4.9.13 · PHP 7.0
Update activity20 Jun 20233y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.