New Landing How can we help? Themeforest Theme Support Joyn Comments Title field

Viewing 15 posts - 16 through 30 (of 32 total)
  • Posted in: Joyn
  • #172835
    Kirsten
    Member
    Post count: 192
    This reply has been marked as private.
    #172913
    Kirsten
    Member
    Post count: 192

    Can you get the site back up again please?

    #172928
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You FTP login detail is incorrect so please provide me CPanel login or correct FTP login detail. You can remove given below code at your child theme functions.php file to live your site.

    add_filter( 'gettext', 'sf_text_strings', 20, 3 );
    
    function sf_text_strings( $translated_text, $text, $domain ) {
    
    $translated_text  = str_ireplace('shopping bag','Suitcase',$translated_text);
    $translated_text = __( $translated_text, $domain );
    
    }
    return $translated_text;
    }

    Thanks
    Mohammad

    #172931
    Kirsten
    Member
    Post count: 192

    I tested the FTP credentials and they work.

    I deleted the code in functions so the site is up again. Can you try FTP again or else you can access wp-admin again.

    #173032
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am still not able to work at FTP. Please give me steps to connect FTP. Please remove some code as i inserted at functions.php because site went away down. I cant work without FTP now.
    Thanks
    Mohammad

    #173065
    Kirsten
    Member
    Post count: 192
    This reply has been marked as private.
    #173073
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am trying to Access from India. My ip is 59.90.179.70.

    Thanks
    Mohammad

    #173077
    Kirsten
    Member
    Post count: 192
    This reply has been marked as private.
    #173083
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Have you customized the theme anywhere? Please check your language translation files.

    Thanks
    Mohammad

    #173084
    Kirsten
    Member
    Post count: 192

    I removed the po files in my child theme. Now the title is correct. What do you recommend, updating the po file?

    #173089
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please remove the po files from child theme.
    Thanks
    Mohammad

    #173090
    Kirsten
    Member
    Post count: 192

    Ok I have fixed the po file and everything works fine now. Is it recommended to update my po file after cardinal has an update available?

    #173103
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Yes, you need to upgrade always. Please keep the backup of po files always. I will give another method to avoid po file upgrade.
    Thanks
    Mohammad

    #173153
    Kirsten
    Member
    Post count: 192

    Ok, what method do you recommend?

    #173162
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    1- Create a directory named languages at child theme and place po/mo files inside it.

    2-Please paste this code at functions.php of child theme.

    add_action( 'after_setup_theme', 'sf_child_theme_setup' );
    function sf_child_theme_setup() {
    load_child_theme_textdomain( 'swiftframework', get_stylesheet_directory() . '/languages' );
    }

    Thanks
    Mohammad

Viewing 15 posts - 16 through 30 (of 32 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register