Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Adding jigoshop code and get error


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 23, 2012, 01:08 PM
starrgaizer
 
3 posts · Mar 2012
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
  #2  
Old Apr 23, 2012, 04:13 PM
juggledad's Avatar
juggledad
 
22,104 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
can you point me to the place you got that code?
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Apr 23, 2012, 05:42 PM
starrgaizer
 
3 posts · Mar 2012
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.

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 03:52 AM
Adding code for ads or other sites (newbie when it comes to code issues!) gardentravelbuzz Plugins & Atahualpa 7 Feb 7, 2011 04:43 AM
Adding some code Steve_T Atahualpa 3 Wordpress theme 9 Feb 7, 2009 04:28 PM


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


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