O.k. ...
Here is an easy solution for wysiwyg powered fields :
1. Add the attached ckeditor.php file to the plugin directory ( IE: plugins/theme_settings/ckeditor.php )
2. Add the code below into the settings.php of your theme for your wysiwyg powered textarea (for a field I called "democontent"):
3. Add this line to the end of your setting.php :
Here is an easy solution for wysiwyg powered fields :
1. Add the attached ckeditor.php file to the plugin directory ( IE: plugins/theme_settings/ckeditor.php )
2. Add the code below into the settings.php of your theme for your wysiwyg powered textarea (for a field I called "democontent"):
Code:
<div>
<p>
<label for="democontent">תוכן נסיוני:</label>
<textarea class="wysiwygedit" name="democontent" id="democontent" style="width:90%; height?:50px;"><?php get_theme_setting('democontent', $default='', $isHtml=true); ?></textarea>
</p>
</div>
3. Add this line to the end of your setting.php :
Code:
<?php include(GSPLUGINPATH . 'theme_settings/ckeditor.php'); ?>