Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   Adding jigoshop code and get error (http://forum.bytesforall.com/showthread.php?t=17390)

starrgaizer Apr 23, 2012 01:08 PM

Adding jigoshop code and get error
 
I have been trying to get the right column to post where it should and the footer to span across the bottom. So went to jigoshop and found the code to do this, but I get the following error.

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'bfa _prepare_jigoshop_wrappers' was given in /home/content/r/e/d/redrobbins/html/fredsolar/wp-includes/plugin.php on line 405.
This code fixed some of the problems just not all.

This is the complete code I entered I believe it is the last line that is the problem.
Any help greatly appreciated.

function bfa_open_jigoshop_content_wrappers()
{
echo '<div class="wrapper"><div id="container">';
}

function bfa_close_jigoshop_content_wrappers()
{
echo '</div></div>';
}

function bfa_prepare_jigoshop_wrappers()
{
$function_to_remove ( 'jigoshop_before_main_content', 'jigoshop_output_content_wrapper', 10 );
$function_to_remove ( 'jigoshop_after_main_content', 'jigoshop_output_content_wrapper_end', 10);

add_action( 'jigoshop_before_main_content', 'bfa _open_jigoshop_content_wrappers', 10 );
add_action( 'jigoshop_after_main_content', 'bfa _close_jigoshop_content_wrappers', 10 );
}
add_action( 'wp_head', 'bfa _prepare_jigoshop_wrappers' ); :)


www.hightec-solar.com

juggledad Apr 23, 2012 04:13 PM

can you point me to the place you got that code?

starrgaizer Apr 23, 2012 05:42 PM

Yes this is the address.
http://forum.jigoshop.com/kb/customi...t-for-jigoshop

Thank you for any help this is the only thing standing in my way.


All times are GMT -6. The time now is 08:37 PM.

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