• Resolved biswashkoirala

    (@biswashkoirala)


    I had installed this plugin and everything was fine. I had used image slider for the site. But the image slider appeared in all pages.

    I searched internet and found the following code that I had to put in header.php but mistakenly I added it to bottom of codes in this plugin. Now site is down and I don’t even have access to wp-admin.

    <?php
    if (is_front_page() || is_home()) {
    echo do_shortcode(“[metaslider id=123]”); //replace 123 with slider ID
    }
    ?>
    My site is https://www.royaljk.com and I used Meta Slider plugin for image slider.
    https://www.ads-software.com/plugins/my-custom-functions/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter biswashkoirala

    (@biswashkoirala)

    I read other posts and renamed the plug in folder as my-customs-functions_modified . My site is back online now. But I had added several codes in the plugin. Can I get back those codes?
    I have access to my hosting through FTP.

    Thread Starter biswashkoirala

    (@biswashkoirala)

    I found another link of this plugin’s forum to get my custom codes back.

    https://www.ads-software.com/support/topic/fatal-error-2128?replies=4

    I will follow that link. I hope my problem will be solved. Right now I am getting:

    Parse error: syntax error, unexpected ‘<‘, expecting end of file in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/my-custom-functions/my-custom-functions.php(144) : eval()’d code on line 32

    But I will search it and solve it.

    Thread Starter biswashkoirala

    (@biswashkoirala)

    My problem has been solved. I disabled MCfunctions_exce() and activated plugin. I saw my codes were there. I was happy to get them back and I didn’t have to insert them again. I see that codes were fetched from db.
    Fixed the problem.
    Thank you

    Thank you, your post solved me some headache since I had a similar problem ??

    Thread Starter biswashkoirala

    (@biswashkoirala)

    Hi @cinematic,

    You’re Welcome!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Site down and no access to wp-admin’ is closed to new replies.