Šis įskiepis nebuvo išbandytas su 3 vėliausiomis WordPress versijomis. Jis tikriausiai nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

WordPress Default Text

Aprašymas

Default Text is a a helpful workflow tool:
* Enforce editorial standards for title and body styles
* A quick reference for content editors that aren’t regular contributors

Variables

Variables are available to customize your default text strings. You can create your own custom variables also! Consult the FAQ for more details.

Multisite

Default Text is also multisite compatible as it has been designed for a multisite environment.

Ekrano nuotraukos

  • Animated demo of functionality including use of custom variables.

  • Settings view in it’s entirety.

Diegimas

  1. Upload default-text.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

DUK

I want a page/post to have a blank body, i.e. no text

Simply add a space or other invisible character. One is enough.

I’d like to include my own custom variables

Default Text checks for the existance of a function named default_text_gemini before outputting title or body text.

Either inclue this function in your themes functions.php file or in a custom plugin.

Make sure that the function outputs an associative array in the following format:
array(‘$variable’=>’value’);

Atsiliepimai

Įskiepis neturi atsiliepimų.

Programuotojai ir komandos nariai

“WordPress Default Text” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Pakeitimų istorija

1.04

  • Cleaned-up readme and added screenshot of settings

1.03

  • Created function default_text_string to fix other conditions with bug found by yoramzara.

1.02

  • Default argument values included with default_text_title and default_text_body functions. Bug found by yoramzara.

1.01

  • Animated GIF screenshot provided

1.0

  • Initial version