Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Old Version fixes and change logs (http://forum.bytesforall.com/forumdisplay.php?f=37)
-   -   PATCH 373-02: odd character appears in the documentation for 'Add new Widget Areas' (http://forum.bytesforall.com/showthread.php?t=16271)

juggledad Dec 15, 2011 04:59 AM

PATCH 373-02: odd character appears in the documentation for 'Add new Widget Areas'
 
This is an OPTIONAL patch

This patch just changes the documentation in the 'Add new Widget Areas' explaination. If you look you will see
HTML Code:

Usage

The code to create new widget areas is a PHP function with parameters:
<?php bfa_widget_area('parameter=valueśmater=valueśmater=value'); ?>

The last line should read
HTML Code:

<?php bfa_widget_area('parameter=value&paramater=value&paramater=value'); ?>
two 'ś' are caused because the '&parm' is being translated. This change will fix it.

Edit bfa_theme_options.php and change line 2033 from
HTML Code:

<code>&lt;?php bfa_widget_area('parameter=value&paramater=value&paramater=value'); ?&gt;</code>
to
HTML Code:

<code>&lt;?php bfa_widget_area('parameter=value & # 3 8 ; paramater=value & # 3 8 ; paramater=value'); ?&gt;</code>
where there are no spaces before or after the characters ' & # 3 8 ; '


All times are GMT -6. The time now is 07:54 PM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.