This topic has 4 replies, 2 voices, and was last updated 12 years by PatrickCelt.
- 
		Author
- 
		
			
				
October 8, 2013 at 14:26 #3999PatrickCelt ParticipantHi Guys, 
 i have to use latin extended subset for special language characters.
 Where can i add the code from Google WebFont?eg. <link href=’http://fonts.googleapis.com/css?family=Libre+Baskerville:400,400italic&subset=latin,latin-ext’ rel=’stylesheet’ type=’text/css’> Cheers! October 9, 2013 at 00:31 #4034SQadmin KeymasterHi, 
 Choosing the font from Sweetdate -> Styling options doesn’t render those characters correctly?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 9, 2013 at 17:14 #4078PatrickCelt ParticipantNo – there is still lack of special characters. 
 I found framework/options/fields/typography/field_typography.php file.
 There is a short script:
 <script type="text/javascript">
 jQuery(document).ready(function() {
 var googlefontlink = "http://fonts.googleapis.com/css?family=<?php echo $this->value[$heading]['font']; ?>";
 if (jQuery("link[href*='<?php echo $this->value[$heading]['font']; ?>']").length === 0){
 jQuery('link:last').after('<link href="' + googlefontlink + '" rel="stylesheet" type="text/css">');
 }
 which is creating link to fonts.googleapis.com. 
 I need to add here ( after + googlefontlink + ) additional parameter: &subset=latin,latin-ext
 I dont know javascripting much so im looking for advice,
 thanksOctober 10, 2013 at 11:20 #4119SQadmin KeymasterHi, 
 Please replace the contents of sweetdate/framework/classes/SQueen.php with https://archived.seventhqueen.com/files/SQueen.txtThen add to your sweetdate-child/functions.php: COPY CODEadd_filter('kleo_gfont_extra_params','my_special_chars'); function my_special_chars() { return '&subset=latin,latin-ext'; }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
- 
		AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.
 
							
						
