Hello Friends,
Please help me. How can i add a php file into "columns2.mustache" file (into <head> tag). I am using boost theme moodle 3.4 version.
<head>
<title>{{{ output.page_title }}}</title>
<link rel="shortcut icon" href="{{{ output.favicon }}}" />
{{{ output.standard_head_html }}}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Google web fonts -->
<?php require_once(dirname(__FILE__).'/fonts.php'); ?>
</head>
Below is my code into fonts.php file
<?php if($PAGE->theme->settings->font_body == 11 || $PAGE->theme->settings->font_heading == 16) { ?>
<link href="//fonts.googleapis.com/css?family=PT+Sans" rel="stylesheet" type="text/css">
<?php } ?>
<?php if($PAGE->theme->settings->font_body == 12 || $PAGE->theme->settings->font_heading == 18) { ?>
<link href="//fonts.googleapis.com/css?family=Vollkorn" rel="stylesheet" type="text/css">
<?php } ?>
Thank you,
Advance.