Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Broken site due to messing with the function.php

Home / Forums / Virtue Theme / Broken site due to messing with the function.php

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
January 27, 2016 at 4:15 pm

Not too familiar on how the whole child theme thing works i tried out the code below which worked to bring in the Revolution Authorise options so I thought I could just paste that code into Virtue – Premium: functions.php. I was wrong. Pasted it into the bottom of the page and now my site doesnt work.

function kt_rev_slider_init() {
remove_action( ‘init’, ‘kt_rev_slider_as_theme’);
}
add_action( ‘init’, ‘kt_rev_slider_init’, 1);

I went into FTP disabled the plugins and attempted to see if i could remove the above code from the functions.php but couldnt find that code or any code in there that looks like what was in the function.php file that i originally pasted into (i have a screenshot)

Tried uploading an older function.php file but that didnt work.

Is there a way out of this? Or what is the least painful fall back?

The now nonworking URL is http://www.rupertvamp.co.uk

  • The forum ‘Virtue Theme’ is closed to new topics and replies.