Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating » Old Version fixes and change logs »

PATCH 373-02: odd character appears in the documentation for 'Add new Widget Areas'


  #1  
Old Dec 15, 2011, 04:59 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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 ; '
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Dec 15, 2011 at 05:06 AM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to style text widget in bar1 (header) differently than other widget areas zingo5 Sidebars & Widgets 1 Sep 28, 2011 07:11 PM
PATCH 367-03: PHP errors when adding widget areas in index.php juggledad Old Version fixes and change logs 0 May 14, 2011 09:52 AM
PATCH 367-02: Page Titles are double with 3.6.7 (now part of PATCH 367-04) juggledad Old Version fixes and change logs 0 May 13, 2011 03:57 PM
My widget appears, then disappears rdeschene Sidebars & Widgets 3 May 13, 2010 03:49 PM
How to change widget areas order on widget page JFG Sidebars & Widgets 0 Apr 19, 2010 02:07 PM


All times are GMT -6. The time now is 08:01 AM.


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