Google Font issue in WPLMS 3.4

-> RESOLVED IN 3.5 UPDATE

Issue : Google fonts not appearing on site. [first reported 4th May’18]

Quick Fix : Login to WP Admin – Appearance – Editor – select theme WPLMS – locate folder includes – locate file register.php :

Locate code :

if(isset($strings) && is_array($strings)){
foreach($strings as $key => $str){
if($key){
$key = str_replace(' ','+',$key);
$font_string .= $key.':'.$str.'|';
}
}
}

 

and replace with :

 

if(isset($strings) && is_array($strings)){
foreach($strings as $key => $str){
if($key){
$key = str_replace(' ','+',$key);
$font_string .= $key.':'.$str.'|';
}
}
$font_string = substr($font_string, 0, -1);
}

 

 

** Above code snippet for reference only, do not copy and paste. Copy line to be added from below

Note the new line added : $font_string = substr($font_string, 0, -1);

This issue has been fixed in the upcoming update WPLMS 3.5 releasing this Wednesday (9th May’18) as we’re almost ready with the release of WPLMS 3.5. Which also brings the new demo : Demo 10 : https://wplms.io/demos/demo10 (updates are not released on weekends)

For any user who is unable to do this and needs help contact us at [email protected] / [email protected] with subject “WPLMS Support” and we’ll help you out.

 

Leave a Reply

Your email address will not be published. Required fields are marked *