Forum Replies Created
-
AuthorPosts
-
philofauna
ParticipantHi Casey,
Sorry for the delayed response! I have been traveling without time to work on code and just now was able to give this a try. It worked! Thank you so much.
Kind regards,
Jessicaphilofauna
ParticipantHi Casey,
Sorry for the delayed response. You can see my Theme Functions PHP file here: http://pastebin.com/g6NamtrB.
Thanks!
Jessicaphilofauna
ParticipantHuh, that’s where I put it before. And I just tried it again and it did the white screen of death thing again. I put the code on the very next line from the line of code you highlighted and the closing tag was on the line immediately following the inserted code. Is there something I’m not doing correctly? Is this my only way of adding text above the login? Is there a way I could at least embed a jpeg image of text to let people know? Thanks!
philofauna
ParticipantYay! I was able to get my site back. Phew! I knew I was an expert Googler for something. 🙂 So, now that I have that up and running again, I’m going to paste my functions.php file code below and maybe you can tell me where I should be putting it. I’m guessing I did something wrong the first go round. Thanks!
<?php
// ==================================================================
// Included libraries
// ==================================================================
require_once( get_template_directory() . ‘/includes/ace_functions.php’ );
require_once( get_template_directory() . ‘/includes/ace_import_export.php’ );
require_once( get_template_directory() . ‘/includes/ace_options.php’ );
require_once( get_template_directory() . ‘/includes/ace_updates.php’ );
require_once( get_template_directory() . ‘/includes/custom_post.php’ );
require_once( get_template_directory() . ‘/includes/custom_widgets.php’ );
require_once( get_template_directory() . ‘/includes/meta_boxes.php’ );
require_once( get_template_directory() . ‘/includes/modules.php’ );
require_once( get_template_directory() . ‘/includes/quicktags.php’ );
require_once( get_template_directory() . ‘/includes/shortcodes.php’ );
require_once( get_template_directory() . ‘/includes/widgets.php’ );// ==================================================================
// Jigoshop
// ==================================================================
function mytheme_open_jigoshop_content_wrappers() { echo get_sidebar(); echo ‘<section class=”section”>’; }function mytheme_close_jigoshop_content_wrappers() { echo ‘</section>’;}
function mytheme_prepare_jigoshop_wrappers()
{
remove_action( ‘jigoshop_before_main_content’, ‘jigoshop_output_content_wrapper’, 10 );
remove_action( ‘jigoshop_after_main_content’, ‘jigoshop_output_content_wrapper_end’, 10);
add_action( ‘jigoshop_before_main_content’, ‘mytheme_open_jigoshop_content_wrappers’, 10 );
add_action( ‘jigoshop_after_main_content’, ‘mytheme_close_jigoshop_content_wrappers’, 10 );
}
add_action( ‘wp_head’, ‘mytheme_prepare_jigoshop_wrappers’ );remove_action( ‘jigoshop_sidebar’, ‘jigoshop_get_sidebar’, 10);
?>
philofauna
ParticipantHi Casey,
Thanks for your help. I tried to embed this code in my theme’s functions.php file, and when I updated the file my website became inaccessible. I just get a blank white page and can’t even get to my WordPress dashboard. Do you know why this may have happened?
Thanks,
Jessica -
AuthorPosts
