/** * prints the css path * * @param string $path path of the css file * @param boolean $external weather it is relative to the theme or a external to the theme * * @return null */ function donut_css($path, $external = false) { if ($external) { $full_path = $path; } else { $full_path = donut_theme_url() . '/' . $path; } if (!empty($path)) { $this->output('<link rel="stylesheet" type="text/css" href="' . $full_path . '"/>'); } }
function donut_get_default_avatar($size = 40) { return '<img src="' . donut_theme_url() . '/images/default-profile-pic.png" width="' . $size . '" height="' . $size . '" class="qa-avatar-image" alt="">'; }