-
AuthorPosts
-
May 13, 2015 at 2:39 pm #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!
May 14, 2015 at 8:43 am #444132Hi 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,
RikardMay 14, 2015 at 10:24 am #444186This reply has been marked as private.May 14, 2015 at 5:00 pm #444415Hey!
Do you mind creating a temporary admin login and posting it here privately?
Regards,
YigitMay 14, 2015 at 8:14 pm #444575This reply has been marked as private.May 16, 2015 at 3:33 am #445215Hey!
I tried to login to the site but I got an internal server error. Please check.
Best regards,
IsmaelMay 18, 2015 at 2:21 pm #445658Yes 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
May 19, 2015 at 10:44 am #446312Hi!
Looks like you set a .htaccess password as well, could you provide us with the details for that too please?
Best regards,
RikardMay 19, 2015 at 12:50 pm #446381This reply has been marked as private.May 21, 2015 at 11:03 am #447672Any update?
Thank you
May 22, 2015 at 8:27 pm #448599Hey!
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,
JosueMay 22, 2015 at 9:30 pm #448642This reply has been marked as private.May 22, 2015 at 9:57 pm #448657Hi!
Did you re-select Open Sans in General Styling > Fonts?
Best regards,
JosueMay 22, 2015 at 11:13 pm #448697Just added it again and my website went blank. It happens everytime I try to add a new code into functions.php…
May 22, 2015 at 11:22 pm #448701I 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.
May 22, 2015 at 11:24 pm #448703Bummer, can you hand me a FTP / SFTP account temporarily? i can fix it for you very quickly.
Regards,
JosueMay 22, 2015 at 11:31 pm #448709This reply has been marked as private.May 22, 2015 at 11:39 pm #448716It’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,
JosueMay 22, 2015 at 11:42 pm #448718Ok I’m not connected anymore. If it still doesn’t work please just tell me what to do
May 22, 2015 at 11:50 pm #448724Still 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_DEBUGCheers!
JosueMay 23, 2015 at 12:04 am #448736Done!
May 23, 2015 at 12:07 am #448739Hm, 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,
JosueMay 23, 2015 at 12:09 am #448742Still the same… I think it’s my functions.php file but I can’t see what’s wrong in it
May 23, 2015 at 12:13 am #448744Change wp-content/themes to wp-content/themes2, that will enable the default WP theme.
Regards,
JosueMay 23, 2015 at 12:17 am #448748Still 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?May 23, 2015 at 12:23 am #448751I 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,
JosueMay 23, 2015 at 12:31 am #448755Ok 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
May 23, 2015 at 12:37 am #448760I’ll take care of that, please restore plugins2 to plugins.
Regards,
JosueMay 23, 2015 at 12:45 am #448767Done! Thank you Josue. It’s pretty late in France right now so I’ll get back to you tomorrow
Regards
May 23, 2015 at 12:52 am #448770Hey!
I ended up editing the theme functions.php, font is now the same logged-in/logged-out:
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.