Este plugin non se actualizou en máis de 2 anos. É posible que xa non sexa compatible ou mantido por ninguén, ou podes ter problemas de compatibilidade cando se usa con novas versións de WordPress.

WP-Strings

Descrición

Have you ever wanted to have string input fields where you can input any string, and then call this from your templates? If so this is the plugin for you! WP-Strings allows you to input strings, that you can then call as many times as you want within your wordpress template.

If you update one of these strings from within the admin section, the string will change accross all of your templates.

For example, if you had a phone number that you used in multipe locations across your theme, but knew it might change, you can put this into the WP-Strings admin panel. You can then reference the telephone number from your template in the required locations and know in confidence that when you change the number in the backend, the telephone number will change across the site.

Capturas

Instalación

  1. Upload the WP-Strings folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place ‘string_option();’ in your templates
  4. string_option() takes two arguments, firstly the name of the String you want to output (not case sensative). Secondly the echo value, default is 1(echo), 0 will just return the value

If you wish to use a string from within the content, you can use the shortcode [string s=””], within the ‘s’ attribute add in the name of your string you require.

Comentarios

Non hai recensións para este plugin.

Colaboradores e desenvolvedores

“WP-Strings” é un software de código aberto. As seguintes persoas colaboraron con este plugin.

Colaboradores

Traduce “WP-Strings” ao teu idioma.

Interesado no desenvolvemento?

Revisa o código, bota unha ollada aorepositorio SVN, ou subscríbete ao log de desenvolvemento por RSS.

Rexistro de cambios

0.1

  • First itteration of WP-Strings
  • Added custom strings
  • Added support to delete custom strings

0.2

  • Added shortcode functionality