Plugin Directory

C4F Textarea Toolbar

C4F Textarea Toolbar installation is extremely easy:

  1. Download the plugin, unpack it and upload the whole "c4f-textarea-toolbar" folder to the /wp-content/plugins/ directory
  2. Activate C4F Textarea Toolbar through the "Plugins" menu in the Administration Panel
  3. Place <?php C4F_TextareaToolbar(); ?> in your template (Optional but Recommended)
    • To avoid the plugin's function to be called (resulting in an error) when you disable the plugin, you might want to include the function using a conditional statement as in the following example: <?php if (function_exists("C4F_TextareaToolbar")) C4F_TextareaToolbar(); ?>
  4. Check the options' page in your Administration Panel to configure C4F Textarea Toolbar

Optional for advanced users

You can set up C4F Textarea Toolbar also through parameters in an array inside the function call. The function accepts the following parameters:

  • showhat (defines which toolbar is displayed)
  • credit (defines if the credit line is displayed)

The credit parameter accepts a true/false value, while the showhat parameter accepts three values:

  • all (displays both toolbars)
  • only_controls (displays only the markup toolbar)
  • only_smilies (displays only the emoticon toolbar)

Here are a few examples of how the parameters can be defined inside the function:

  1. <?php C4F_TextareaToolbar(array("showhat" => "only_smilies", "credit" => true)); ?>
  2. <?php $params = array("showhat" => "only_controls", "credit" => false); C4F_TextareaToolbar($params); ?>

Note that by using parameters inside the function you will override the option panel's settings.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(0 ratings)