Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

Adding jigoshop code and get error


 
Prev Previous Post   Next Post Next
  #1  
Old Apr 23, 2012, 02:08 PM
starrgaizer
 
3 posts · Mar 2012
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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
adding php code in footer _kimberley Header configuration & styling 7 Dec 19, 2011 04:52 AM
Adding code for ads or other sites (newbie when it comes to code issues!) gardentravelbuzz Plugins & Atahualpa 7 Feb 7, 2011 05:43 AM
Adding some code Steve_T Atahualpa 3 Wordpress theme 9 Feb 7, 2009 05:28 PM


All times are GMT -6. The time now is 02:18 AM.


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