Advertisement
Guest User

framework.php

a guest
Feb 1st, 2021
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                         <script>
  2.                             /* You can add more configuration options to webfontloader by previously defining the WebFontConfig with your options */
  3.                             if ( typeof WebFontConfig === "undefined" ) {
  4.                                 WebFontConfig = new Object();
  5.                             }
  6.                             WebFontConfig['google'] = {families: [<?php echo trim($typography->makeGoogleWebfontString($this->typography)); ?>]};
  7.  
  8.                             (function() {
  9.                                 /*
  10.                                 var wf = document.createElement( 'script' );
  11.                                 wf.src = <?php // echo "'" . get_template_directory_uri() . '/framework/admin/ReduxCore/assets/js/webfont.js' . "'"; ?>;
  12.                                 wf.type = 'text/javascript';
  13.                                 wf.async = 'true';
  14.                                 var s = document.getElementsByTagName( 'script' )[0];
  15.                                 s.parentNode.insertBefore( wf, s );
  16.                                 */
  17.                             })();
  18.                         </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement