Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    I think that the restore is not working good.

    • This reply was modified 7 years, 11 months ago by stepat93.
    Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    Sorry for the misunderstanding, but I understand to contact using email.

    Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    Ok, I find it and I clear the cache. But the website is still not working.

    Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    Damn it, I’m in my cPanel and I can’t find the function Varnish Cache, event if I search for this function in the cPanel bar!! Why is it possible? I’m following a tutorial in this link https://www.vhosting-it.com/clients/knowledgebase/101/Come-pulire-manualmente-la-cache.html but I can’t find the underlined voice!!

    Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    Even if I delete the directory I obtain the same result. How it could be possible? Maybe is it necessary to delete the plugins too?

    Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    I rename it mint-old but the website still not working, is it possible to upload a screenshot?

    Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    Just rename? or could I delete it? so after I could upload it correctly from the administration panel. In case, I have to rename the theme directory that consists in the name of the theme?

    Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    It is possible that it doesn’t work because I don’t installed WordPress correctly in Filezilla?

    Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    I’ve read about the possibility to remove completely the theme Mint so WordPress could switch in automatic on a default theme. So after I could upload the theme, that will be downloaded again from themeforest (where I buy it), that probably must be correct. I don’t care about the theme, what is important for me are the contents because I spent more than a month to do them.

    Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    I replace the code but it still responds with the same error. The thing that I don’t understand is why the error reports “.. on line 40” when the code has only 21 lines!

    Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    Where have I write this code? In the Functions.php?

    <?php
    $theme_dir = get_template_directory();

    require_once $theme_dir . ‘/classes/Theme.php’;
    require_once $theme_dir . ‘/classes/CSS.php’;
    require_once $theme_dir . ‘/classes/Setup.php’;
    require_once $theme_dir . ‘/classes/Options.php’;
    require_once $theme_dir . ‘/classes/Helpers.php’;
    require_once $theme_dir . ‘/classes/Modules.php’;
    require_once $theme_dir . ‘/classes/PostFormats.php’;
    require_once $theme_dir . ‘/classes/Shop.php’;
    require_once $theme_dir . ‘/classes/Addons.php’;

    require_once $theme_dir . ‘/plugins/tgm-plugin-activation/init.php’;

    if (!MintOptions::get(‘general–wp_version’)) {
    remove_action( ‘wp_head’, ‘wp_generator’ );
    }
    if (!MintOptions::get(‘general–wlwmanifest’)) {
    remove_action( ‘wp_head’, ‘wlwmanifest_link’ );
    }
    if (!MintOptions::get(‘general–rsd’)) {
    remove_action( ‘wp_head’, ‘rsd_link’ );
    }

    Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    OK, I rename the plugins directory (I call it pluginsrename), now whah the next step is?My website url is https://www.patriarcadesign.it

    Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    The plugins directory is the folder in the main menù where there are all the plugins that I installed? Sorry but I’m italian and my english is very poor and talking about this thins in foreign language it is difficult for me ??

    Forum: Fixing WordPress
    In reply to: Parse Error
    Thread Starter stepat93

    (@stepat93)

    That was the code I’ve put in the original one, the mistake is that I write 2016 instead firsdate in the if cicle after dates [0] (I’m not good using code and it is not the first time I made a mistake but never happens something like this). How can I clear the cache without acceding to my administrator panel? Using Filezilla?

    function data_copyright() {
    global $wpdb;
    $copyright_dates = $wpdb->get_results(”
    SELECT
    YEAR(min(post_date_gmt)) AS firstdate,
    YEAR(max(post_date_gmt)) AS lastdate
    FROM
    $wpdb->posts
    WHERE
    post_status = ‘publish’
    “);
    $output = ”;
    if($copyright_dates) {
    $copyright = “© ” . $copyright_dates[0]->firstdate;
    if($copyright_dates[0]->firstdate != $copyright_dates[0]->lastdate) {
    $copyright .= ‘-‘ . $copyright_dates[0]->lastdate;
    }
    $output = $copyright;
    }
    return $output;
    }

Viewing 14 replies - 1 through 14 (of 14 total)