Tagged: ,

Viewing 30 posts - 1 through 30 (of 38 total)
  • Author
    Posts
  • #443730

    Hi,

    It seems like my fonts do not work when I browse my website casually. I have to log in wp-admin to see them work… I use the Google Fonts.

    Thank you!

    #444132

    Hi DeMamp!

    I see you’re using Open Sans and it loads fine on my end, could you provide us with screenshots of what you are seeing on your end please?

    Regards,
    Rikard

    #444186
    This reply has been marked as private.
    #444415

    Hey!

    Do you mind creating a temporary admin login and posting it here privately?

    Regards,
    Yigit

    #444575
    This reply has been marked as private.
    #445215

    Hey!

    I tried to login to the site but I got an internal server error. Please check.

    Best regards,
    Ismael

    #445658

    Yes sorry, my website were under SSL configuration and I had some trouble in getting it configured correctly.

    But now it works fine and you should be able to login

    Thank you

    #446312

    Hi!

    Looks like you set a .htaccess password as well, could you provide us with the details for that too please?

    Best regards,
    Rikard

    #446381
    This reply has been marked as private.
    #447672

    Any update?

    Thank you

    #448599

    Hey!

    1. Install this plugin – https://wordpress.org/plugins/functionality/
    2. Go to Plugins > Edit functions:
    3. Paste the following code:

    add_filter( 'avf_google_heading_font',  'avia_add_custom_font');
    add_filter( 'avf_google_content_font',  'avia_add_custom_font');
    function avia_add_custom_font($fonts) {
    	$fonts['Open Sans'] = "Open Sans:300,400,600,800";
    	return $fonts;
    }

    4. Go to General Styling > Fonts, re-select Open Sans and Save.

    Regards,
    Josue

    #448642
    This reply has been marked as private.
    #448657

    Hi!

    Did you re-select Open Sans in General Styling > Fonts?

    Best regards,
    Josue

    #448697

    Just added it again and my website went blank. It happens everytime I try to add a new code into functions.php…

    #448701

    I did a functions.php backup and my website is still showing a blank page. Is it because I edited the functions.php file from the plugin? If so, how do I delete the code now?

    I went to /var/www/wp-content/plugins and deleted the functions.php file that were here and added mine instead – didn’t work
    Then I went to /var/www/wp-content/plugins/functionality and modified functionality.php back to its original code – didn’t work

    • This reply was modified 9 years, 7 months ago by DeMamp.
    #448703

    Bummer, can you hand me a FTP / SFTP account temporarily? i can fix it for you very quickly.

    Regards,
    Josue

    #448709
    This reply has been marked as private.
    #448716

    It’s not allowing me to connect:

    Connection timed out or server hung up. The server you are connecting to may be configured to limit the number of connections you are allowed to make.

    Regards,
    Josue

    #448718

    Ok I’m not connected anymore. If it still doesn’t work please just tell me what to do

    #448724

    Still can’t connect. Ok, first enable WP_DEBUG to see where the error is coming from and then we’ll see how to fix it:
    https://codex.wordpress.org/WP_DEBUG

    Cheers!
    Josue

    #448736

    Done!

    #448739

    Hm, no error is showing yet, try renaming /wp-content/plugins to /wp-content/plugins2 to force disable all plugins and check if the websites comes back.

    Best regards,
    Josue

    #448742

    Still the same… I think it’s my functions.php file but I can’t see what’s wrong in it

    #448744

    Change wp-content/themes to wp-content/themes2, that will enable the default WP theme.

    Regards,
    Josue

    #448748

    Still the same blank page. Here’s what’s at the end of functions.php : http://i.imgur.com/2fT5Dt4.png
    Maybe you could spot an error?

    #448751

    I see, that’s wp-includes/functions.php, a WordPress core file (which should not be edited), you’d need to restore it to its original version. Download WordPress again and replace that file:
    https://wordpress.org/

    Best regards,
    Josue

    #448755

    Ok so what I did is that I restored the original file but it still didn’t work, so I renamed /plugins to /plugins2 and now it works. I think it was both the functions.php and the plugins that caused the issue, and we solved the functions.php one! Thank you.

    Now we should either delete the functionality plugin or trying to fix it

    #448760

    I’ll take care of that, please restore plugins2 to plugins.

    Regards,
    Josue

    #448767

    Done! Thank you Josue. It’s pretty late in France right now so I’ll get back to you tomorrow

    Regards

    #448770

    Hey!

    I ended up editing the theme functions.php, font is now the same logged-in/logged-out:

    Regards,
    Josue

Viewing 30 posts - 1 through 30 (of 38 total)
  • You must be logged in to reply to this topic.