I broke my site and I can't get in to fix it.
-
PLEASE, PLEASE, PLEASE HELP ME. I’m begging you.
I added this code to my theme’s functions.php file to output the ‘add to wishlist’ button next to the ‘add to cart’ button :
function add_wishlist_button() {
echo do_shortcode(‘[yith_wcwl_add_to_wishlist]’);
}
add_action( ‘woocommerce_before_add_to_cart_button’, ‘add_wishlist_button’);because I couldn’t get the “wishlist” button to appear on any of my product pages. I was told the above code would help.�
but now I can’t even load my website or admin page to take the code back out.�
Can you please help me?????
I obviously don’t know what I’m doing I’m afraid I ruined everything.
ps. I added the above code to the very end of all the code that was already there. i thought if it didn’t work out I could just go back and remove it. but I guess I thought wrong.
My site address is http://www.HawaiianShirtDude.com
-
This forum is only for WordPress.com users. So we won’t be able to help with the issues with your self-hosted WordPress blog.
In case you are unaware, please read the difference between WordPress.com and WordPress.org.
Please head to WordPress.org forums to get help with your question. Please note that you cannot use your WordPress.com account to login to WordPress.org forums. So you have to create a new account on WordPress.org to be able to login and post to their forums.
-
- The topic ‘I broke my site and I can't get in to fix it.’ is closed to new replies.