Title: Easy Key-Values
Author: Yevhen Salitrynskyi
Published: <strong>2024年5月7日</strong>
Last modified: 2026年6月15日

---

プラグインを検索

![](https://ps.w.org/easy-key-values/assets/banner-772x250.jpg?rev=3082795)

![](https://ps.w.org/easy-key-values/assets/icon-256x256.png?rev=3082829)

# Easy Key-Values

 作者: [Yevhen Salitrynskyi](https://profiles.wordpress.org/fantom3d/)

[ダウンロード](https://downloads.wordpress.org/plugin/easy-key-values.1.1.0.zip)

 * [詳細](https://ja.wordpress.org/plugins/easy-key-values/#description)
 * [レビュー](https://ja.wordpress.org/plugins/easy-key-values/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/easy-key-values/#installation)
 * [開発](https://ja.wordpress.org/plugins/easy-key-values/#developers)

 [サポート](https://wordpress.org/support/plugin/easy-key-values/)

## 説明

“Easy Key-Values” helps you manage key-value pairs.. yes, easily.
 It lets site 
managers and developers save settings and use them anywhere on their site with shortcode
or PHP function. Use it for storing API keys, site settings, or showing content 
simply and quickly. Additionally, the plugin offers the ability to hide sensitive
information directly from the WordPress admin, enhancing security and privacy.

#### Key Features

 * Simple Management: Easily add, edit, delete, and hide key-value pairs from the
   WordPress admin area.
 * Shortcode Support: Display your settings anywhere on your site with a simple 
   shortcode.
 * PHP Functionality: Retrieve values in your theme or plugin with a straightforward
   PHP function.
 * Visibility Control: Decide whether to show or hide specific key-value pairs, 
   making it perfect for sensitive data.
 * Lightweight and Efficient: Designed with performance in mind, ensuring minimal
   impact on your site’s speed.
 * Optional Caching: Improve performance with optional caching, configurable through`
   EKVALUES_ENABLE_CACHE` and `EKVALUES_CACHE_DURATION` constants.
 * Flexible Menu Placement: Customize the admin menu placement using the `EKVALUES_MENU_LOCATION`
   constant for better integration.

#### Perfect for a Variety of Use Cases

 * API Key Storage: Securely store and retrieve API keys for various services.
 * Dynamic Content Display: Quickly show different content based on custom settings
   or user preferences.
 * Site Customization: Easily manage and apply site-wide custom settings without
   touching code.
 * Development Efficiency: Streamline development workflows by managing reusable
   data through the admin interface.
 * Multi-language Support: Store and display language-specific text strings or URLs,
   enhancing your site’s internationalization.

By using “Easy Key-Values”, you unlock the potential for enhanced site customization,
improved security for sensitive data, and a more efficient development process.

#### Help with Localization

We’re looking to make “Easy Key-Values” accessible to even more users by supporting
additional languages. If you’re fluent in a language other than English and would
like to contribute by helping with translation and localization, we would greatly
appreciate your support.

This effort not only helps the plugin reach a wider audience but also supports the
open-source community in creating tools that are more inclusive and accessible. 
If you’re interested in contributing, please reach out at ysalitrynskyi+wp@gmail.
com or open a Pull Request.

Thank you for considering to help us improve!

## スクリーンショット

[⌊The admin interface for managing key-value pairs, including visibility control
options.⌉⌊The admin interface for managing key-value pairs, including visibility
control options.⌉[

The admin interface for managing key-value pairs, including visibility control options.

## インストール

 1. Upload the `easy-key-values` folder to the `/wp-content/plugins/` directory or 
    install it directly through the WordPress admin panel.
 2. Activate the plugin via the ‘Plugins’ menu in WordPress.
 3. Navigate to the ‘Easy Key-Values’ menu item in the admin area to start adding your
    key-value pairs.

For inquiries or custom web development services, including a full team capable 
of handling design, backend, frontend, marketing, and mobile development, contact
me at ysalitrynskyi+wp@gmail.com. My team and I speak multiple languages and are
committed to delivering high-quality work faster than anybody else. Open to improvement
suggestions and eager to tackle your next project, let’s collaborate to create something
exceptional.

## FAQ

### How do I display a value in a post or page?

Use the shortcode `[ekvalues_value key="your_key_name"]` to display the value of
a key anywhere shortcodes are supported.

### Can I retrieve a value in my theme or plugin?

Yes, use `<?php echo ekvalues_get_value('your_key_name'); ?>` to retrieve and display
a value within PHP. For hidden values, ensure proper access control is implemented.

### What are `EKVALUES_ENABLE_CACHE` and `EKVALUES_CACHE_DURATION`?

These constants allow you to enable caching (`EKVALUES_ENABLE_CACHE`) for improved
performance and customize the duration (`EKVALUES_CACHE_DURATION`) of the cache 
in seconds. Define these in your `wp-config.php` for advanced performance tuning.

### How can I customize the admin menu placement?

Define the `EKVALUES_MENU_LOCATION` constant in your `wp-config.php` file. Setting
it to “settings_menu” places the plugin’s menu under the ‘Settings’ section, offering
a more integrated admin interface experience.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Easy Key-Values はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献
しています。

貢献者

 *   [ Yevhen Salitrynskyi ](https://profiles.wordpress.org/fantom3d/)

“Easy Key-Values” は2ロケールに翻訳されています。 [翻訳者](https://translate.wordpress.org/projects/wp-plugins/easy-key-values/contributors)
のみなさん、翻訳へのご協力ありがとうございます。

[“Easy Key-Values” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/easy-key-values)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/easy-key-values/)するか、
[SVN リポジトリ](https://plugins.svn.wordpress.org/easy-key-values/)をチェックする
か、[開発ログ](https://plugins.trac.wordpress.org/log/easy-key-values/)を [RSS](https://plugins.trac.wordpress.org/log/easy-key-values/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.1.0

 * Compatibility: tested up to WordPress 7.0.
 * Fixed: fatal error on admin screens under the declared minimum PHP 7.4 (replaced
   the PHP 8 only `str_contains()`).
 * Fixed: value retrieval no longer depends on the stored order of pairs; keys are
   now matched reliably.
 * Fixed: keys equal to “0” are now accepted.
 * Added: uninstall cleanup that removes the stored option and the custom capability.
 * Performance: the options entry is no longer autoloaded on every page load; the
   admin menu icon is now cached.
 * Security/robustness: unslash and harden input handling on save; add `rel="noopener
   noreferrer"` to external links.
 * i18n: additional strings are now translatable (Russian and Ukrainian updated).

#### 1.0.1

 * Test with WordPress 6.5.3

#### 1.0.0

 * Initial release

## メタ

 *  バージョン **1.1.0**
 *  最終更新日 **2週間前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 5.2またはそれ以降 **
 *  検証済み最新バージョン: **7.0**
 *  PHP バージョン ** 7.4またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/easy-key-values/)、[Russian](https://ru.wordpress.org/plugins/easy-key-values/)、
   [Ukrainian](https://uk.wordpress.org/plugins/easy-key-values/).
 *  [プラグインを翻訳](https://translate.wordpress.org/projects/wp-plugins/easy-key-values)
 * タグ
 * [custom fields](https://ja.wordpress.org/plugins/tags/custom-fields/)[Vault](https://ja.wordpress.org/plugins/tags/vault/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/easy-key-values/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/easy-key-values/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/easy-key-values/reviews/)

## 貢献者

 *   [ Yevhen Salitrynskyi ](https://profiles.wordpress.org/fantom3d/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/easy-key-values/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](http://bit.ly/EKVPaypalDonation)