Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Custom Website Data


CWD allows you to simply store and retrieve data quickly and easily for your own use. Example applications of this could be to save your websites contact email address and phone number. Storing them using CWD you can then output them using the simple shortcodes throughout your website; if something changes, no problem just update it in one place and you are good to go.

Your custom data can either be displayed on the website using shortcodes or you can use the data to manipulate the website in ways only limited by your imagination through use of a PHP function!

Key Features:

  • Easy and quick installation.
  • Data stored in your WordPress database for security and quick access.
  • Shortcode works instantly with your data with not need for additional settings.
  • Developers can use the PHP function provided to access the data quickly and simply.
  • Import and export data using using csv.

Future Features:

  • Implement AJAX submissions for quicker manipulation and better UX
  • Opt in anonymous usage tracking


  • Dashboard showing all records, their values and shortcodes.
  • Adding a record couldn't be easier.
  • Importing and backing up is simple with the Utility feature.


Installation of Custom Website Data is simple.


  1. Upload simple-custom-website-data to the /wp-content/plugins/ directory or upload the .zip to in your WordPress admin area.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the “Custom Data” tab in your admin menu

Perguntas frequentes

How do I use my data

There are currently three to retrieve your data:

  • You can place the shortcode generated on any page or post.
  • Use the WordPress function do_shortcode('[cwd ref="yourdataref"]')
  • Use the CWD PHP function cwd_getThe('yourdataref')
  • If you have stored an array and wish to access a specific key use [cwd ref="my_array" key="the_key"]


3 de Setembro, 2016
I love the simplicity of this, but, in order to add a field of more than a few works, I had to change the "data" field in the "wp_custom_website_data" table to LONGTEXT. The field type it uses when the table is created by the plugin is TINYINT, which only allows a small number of characters.
Ler todas as 5 avaliações

Contribuidores e programadores

“Custom Website Data” é software de código aberto. As seguintes pessoas contribuíram para este plugin:


Traduza o “Custom Website Data” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo de alterações


  • Tested up to WordPress 4.3
  • Only new references can be added. If it exists when adding an error is now show and user is prompted to edit the existing record.


  • Tested up to WordPress 4.2
  • Removed use of Namespaces throughout CWD. Should now be compatible with PHP 5.2> – Thanks miwalter
  • Fixed issue with being unable to import some json files – Thanks Oscar for contacting me regarding this issue.
  • Changed markdown parser to Slimdown to avoid issues with namespacing in Markdown


  • ‘What’s New’ section automatically populates using readme.txt.
  • Fixed bug where in some cases a fatal error occurs due to the reflection class reported via support forum.


  • Tested up to WordPress 4.1.
  • Added screenshots to
  • Fixed issue with debug function conflicting with theme debug function.


  • Fixed notices shown with WP_Debug turned on.


  • Out with the 90’s style; in with the modern WordPress look.

  • Added sub menu.

  • Arrays are displayed in a much cleaner fashion on the dashboard.

  • Entire code base refactored to be cleaner, more readable and more efficient.

  • Automatically select the shortcode from the dashboard by clicking it.


  • Added ability to retrieve array elements using shortcode


  • Added ability to store and retrieve multidimensional array


  • Fixed bug with isJson function return true if var is numeric

  • Updated information


  • Minor changes


  • Added ability to export all records to csv file
  • Added ability to import csv file of records – if a reference already exists it will be skipped during the import process
  • Additional security measures added
  • Updated processing arrays to be consistant
  • Changed menu logo


  • Added advanced function cwd_updateThe() for writing to a record via PHP
  • Updated user guide to reflect changes
  • CSS change to hide wp footer


  • Fixed security issues.
  • Updated folder name to ‘simple-custom-website-data’ and documentation to match.


  • N/A for version 1.0.